Subject: Re: Booting from CD
To: Jozef Remen <ijojo@zoznam.sk>
From: Michael Wolfson <michael@nosflow.com>
List: port-macppc
Date: 04/25/2003 09:00:16
At 11:40 AM +0000 4/25/03, Jozef Remen wrote:
:)Hi
:)I created a CD to serve as a HFS boot disk (containing ofwboot.xcf
:)and netbsd) to load netbsd kernel from installed NetBSD on a
:)entirely formated hardrive, which was formated by NetBSD sysinst.
:)
:)MacOS X pdisk show me this list of partitions:
:)1 ApplePartitionMap
:)2 NetBSD disk
Whatever partition number pdisk shows you is the partition number you
should use in Open Firmware.
For example on my PowerBook (FireWire), I have:
Partition map (with 512 byte blocks) on '/dev/ata2.0' (/dev/hde)
#: type name length base ( size )
1: Apple_partition_map Apple 63 @ 1
2: Apple_Driver43*Macintosh 56 @ 64
3: Apple_Driver43*Macintosh 56 @ 120
4: Apple_Driver_ATA*Macintosh 56 @ 176
5: Apple_Driver_ATA*Macintosh 56 @ 232
6: Apple_FWDriver Macintosh 512 @ 288
7: Apple_Driver_IOKit Macintosh 512 @ 800
8: Apple_Patches Patch Partition 512 @ 1312
9: Apple_HFS "Gizmobook" 25165824 @ 1824 ( 12.0G)
10: Apple_HFS OSX 8388608 @ 25167648 ( 4.0G)
11: Apple_HFS Thingies 2506752 @ 33556256 ( 1.2G)
12: Apple_UNIX_SVR2 netbsd 2807072 @ 36063008 ( 1.3G)
13: Apple_UNIX_SVR2 swap 200000 @ 38870080 ( 97.7M)
So I boot with:
boot hd:9,ofwboot.xcf hd:12
-- MW