Subject: Re: Booting partition type example
To: None <port-macppc@netbsd.org>
From: Joel CARNAT <joel@carnat.net>
List: port-macppc
Date: 07/31/2007 22:36:11
Hi,

I created some similar layout on my Mini, using the Mac OS X CD.
Now I've booted a NetBSD 3.1 CD.
I can see the disk layout using pdisk.
But with fdisk/disklabel, I don't every partition I created.

On /i386, I would have run mbrlabel so that disklabel is automatically
filled-in. But there does not seem to be such tool on /macppc.
I suppose I have to use pdisk entries inside a "disklabel -e", right ?

The last thing is... how do I compile the "Apple UFS" partition ?
Should I run "newfs -O 0" ?
What are the gain between using "Apple UNIX SRV2" rather than NetBSD's FFS
according that I won't use Mac OX S at all ?

TIA,
   Jo

>
> | From: "Joel CARNAT" <joel@carnat.net>
> | Subject: Booting partition type example
>
> Joel> What are you guys using as a disk layout (especially which boot
> partition
> Joel> type) when running NetBSD only on your OpenBoot v3 machine ?
>
> Just for an example: (with my Mac mini)
> --------------------------------------------
> ttyp0:makoto@mini 10:05:15/070731(~)> sudo pdisk /dev/wd0c
> Edit /dev/wd0c -
> Command (? for help): p
>
> 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
>
> Command (? for help): q
> ttyp0:makoto@mini 10:05:27/070731(~)>
> --------------------------------------------
> Makoto Fujiwara
>