cooker-ppc  

Re: It won't boot - unknow or corrupted file system

Craig Miller
Sat, 04 Oct 2003 13:24:20 -0700

Eduardo M. A. M. Mendes wrote:

Hello

I am trying to install 9.1 ppc on an Ibook. The installation went fine, despite some problems with bootstrap (I created an Applet boot partition or something like that).

When I try to boot the ibook, I first get a menu

linux (l)
cdrom (c)
openfirmware (o)

If I choose ¨l¨ yaboot comes out. When boot finally tries to load the kernel, the following error message comes out:

hd:8,/vmlinuz-2.4.21-0.13mdk: unknown or corrupedt filesystem.

What did I do wrong?

Many thanks

Ed

Ed,

My guess is that the Linux kernel is not on hd:8.

You will need to get your ibook booted (probably with the Mandrake CD) and then run as root:
pdisk -l /dev/hda


That should show you the partition table for your internal hard drive. You will have to determine which partition holds the kernel. Here is a sample of my pdisk ouput:

[EMAIL PROTECTED] root]# pdisk -l /dev/hda

Partition map (with 512 byte blocks) on '/dev/hda'
#:                type name              length   base     ( size )
1: Apple_partition_map Apple                 63 @ 1
2:      Apple_Driver43*Macintosh             54 @ 64
3:      Apple_Driver43*Macintosh             74 @ 118
4:    Apple_Driver_ATA*Macintosh             54 @ 192
5:    Apple_Driver_ATA*Macintosh             74 @ 246
6:      Apple_FWDriver Macintosh            200 @ 320
7:  Apple_Driver_IOKit Macintosh            512 @ 520
8:       Apple_Patches Patch Partition      512 @ 1032
9:           Apple_HFS "pikake"         8192000 @ 1544     (  3.9G)
10:           Apple_HFS "lilikoi"        4000000 @ 8193544  (  1.9G)
11:     Apple_UNIX_SVR2 boot              173824 @ 12193544 ( 84.9M)
12:     Apple_UNIX_SVR2 YDL              4096000 @ 12367368 (  2.0G)
13:     Apple_UNIX_SVR2 untitled        12288000 @ 16463368 (  5.9G)

I have /boot on my powerbook as a separate partition. So my /etc/yaboot.conf looks 
like:
#yaboot.conf - generated by DrakX
init-message="\nWelcome to Mandrake Linux!\n"
boot=/dev/hda16
ofboot=hd:16
delay=30
timeout=50
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
enablecdboot
enableofboot
defaultos=linux
default=linux.ext3
image=hd:11,/vmlinuz-2.4.21-0.13mdk
       label=linux
       root=/dev/hda13
       append=" devfs=mount"
       read-only


So you can see that I am booting off of partition hda11 (aka hd:11) and then it switches to my real root which is on parition 13 You may be able to run Mandrake tools directly. I being a terminal kind of guy would use chroot and edit the yaboot.conf file directly.

I hope this helps,

Craig...