Subject: Re: unable to boot on powerbook G4 550MHz
To: Siegmund Fuhringer <sifu@0xx0.net>
From: Joseph Sarkes <jsarkes@mac.com>
List: port-macppc
Date: 05/07/2003 15:09:21
On Wednesday, May 7, 2003, at 06:45 AM, Siegmund Fuhringer wrote:
> hi!
>
> i've installed netbsd on my powerbook :)
> but i'm unable to boot it :(
>
>
> after entering "boot hd:13,\ofwboot.xcf hd:12/netbsd" the kernel boots,
> but is apparently using the wrong partition as root filesystem:
Basically, I build myself a kernel with the desired boot device
specified in the config
file and it works fine. The work around is to boot in a multistep
fashion to be able to
use the -a flag to the kernel, which allows you to specify the root
filesystem.
first to a boot hd:13,\ofwboot.xcf hd:12,/yaya
this will load ofwboot.xcf and not find a valid netbsd kernel. you need
to do this
as the boot flags aren't grabbed properly for some reason.
now at the ofwboot prompt do hd:12,/netbsd -a
this will make you enter the desired partition ie. wd0f
Obviously, you remember what netbsd thought your filesystem device was
from the installation... The device numbering is confusing and swedish
cheffed
(muppets term, herdy gerdy bang bang...) so you may have to poke and
prod
to find your proper wd0a/wd0g/wd0f/wd0h or whatever things fall out as.
My ufs
partition ends up being hd:14 to ofwboot and wd0f if memory serves.
Hope this helps
>
> <snip from the output>
> boot device: wd0
> root on wd0a dumps on wd0b
> root filesystem type: ext2fs
> exec /sbin/init: error 20
> .
> .
> .
> panic
> </snip from the output>
>
> my partition table:
> 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_Bootstrap bootstrap 1600 @ 1824
> 10: Apple_UNIX_SVR2 Gentoo 25165824 @ 3424 ( 12.0G)
> 11: Apple_UNIX_SVR2 LinuxSwap 524288 @ 25169248 (256.0M)
> 12: Apple_UNIX_SVR2 netbsd 4922912 @ 25693536 ( 2.3G) S0
> RUFS k0 /
> 13: Apple_HFS Apple_UFS_2 8453624 @ 30616448 ( 4.0G)
> 14: Apple_Free 8 @ 39070072
>
>
> partition 12 is ufs not ext2fs... :(
> any hints?
>
>
> lg - sifu
> <mime-attachment>