Subject: simple pdisk setup matters ? (Re: Getting the thing to boot)
To: None <port-macppc@NetBSD.org>
From: Makoto Fujiwara <makoto@ki.nu>
List: port-macppc
Date: 08/09/2006 17:27:45
| From: Stephen Borrill <netbsd@precedence.co.uk>
| Subject: Re: Getting the thing to boot
| Date: Tue, 8 Aug 2006 09:18:26 +0100 (BST)
| Message-ID: <Pine.NEB.4.64.0608080914320.23502@ugly.precedence.co.uk>
Stephen> difference I can see from pdisk is that the non-working one doesn't have
Stephen> the "Apple_Driver_IOKit Macintosh" partition. My concern is that I was
Stephen> overzealous with deleting partitions.
I don't think it always matters.
I have two occasions both of which boot fine with simple
pdisk setup.
===> Mac mini
Partition map (with 512 byte blocks) on '/dev/wd0c'
#: type name length base ( size )
1: Apple_partition_map Apple 63 @ 1
2: Apple_HFS ofwboot 8192 @ 64 ( 4.0M)
3: Apple_UNIX_SVR2 Root 2097152 @ 8256 ( 1.0G) S0 RUFS k0 /
4: Apple_UNIX_SVR2 swap 2097152 @ 2105408 ( 1.0G) S1 SFS k0 (swap)
5: Apple_UNIX_SVR2 usr 16777216 @ 4202560 ( 8.0G) S2 UFS k0 /usr
6: Apple_UNIX_SVR2 export 135321712 @ 20979776 ( 64.5G) S2 UFS k0 /usr
Device block size=512, Number of Blocks=156301488 (74.5G)
DeviceType=0x0, DeviceId=0x0
===> G4/400 AGP
Partition map (with 512 byte blocks) on '/dev/wd0c'
#: type name length base ( size )
1: Apple_partition_map Apple 63 @ 1
2: Apple_UNIX_SVR2 root 1024000 @ 64 (500.0M) S0 RUFS k0 /
3: Apple_UNIX_SVR2 swp 2097152 @ 1024064 ( 1.0G) S1 SFS k0 (swap)
4: Apple_HFS ofwboot 16784 @ 3121216 ( 8.2M)
5: Apple_UNIX_SVR2 usr 5242880 @ 3138000 ( 2.5G) S2 UFS k0 /usr
6: Apple_UNIX_SVR2 Export 11648080 @ 8380880 ( 5.6G) S2 UFS k0 /usr
Device block size=512, Number of Blocks=20028960 (9.6G)
DeviceType=0x0, DeviceId=0x0
---
Makoto Fujiwara