View previous topic :: View next topic |
Author |
Message |
sirtisimacg4 n00b
Joined: 03 Nov 2013 Posts: 46
|
Posted: Sat Nov 09, 2013 5:23 pm Post subject: Reboot fails on initial installation - yaboot, Handbook 10f |
|
|
I'm following the PPC installation handbook to install on my iMac G4. My attempt to reboot results in:
boot: Linux
/pci@f2000000/mac-io@17/ata-4@1f000/disk@0:7, /boot/kernel-genkernel-ppc-3.10.7-gentoo-r1: Unknown or corrupt filesystem
I'm using a G4 imac with the following partitions added:
/dev/hda5 Apple_Bootstrap bootstrap NewWorld bootblock
/dev/hda6 Apple_UNIX_SVR2 swap Linux swap
/dev/hda7 Apple_UNIX_SVR2 root Linux native
fstab is
/dev/hda7 / ext4 noatime 0 1
/dev/hda6 none swap sw 0 0
/dev/cdrom /mnt/cdrom auto noauto,user 0 0
/dev/fd0 /mnt/floppy auto noauto,user 0 0
yaboot.config is
boot=/dev/hda5
device=/pci@f2000000/mac-io@17/ata-4@1f000/disk@0
partition=7
root=/dev/hda7 rootfstype=ext4
timeout=30
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
image=/boot/kernel-genkernel-ppc-3.10.7-gentoo-r1
label = Linux
read-only
initrd=/boot/initramfs-genkernel-ppc-3.10.7-gentoo-r1
initrd-size=8192
Any ideas? |
|
Back to top |
|
|
eyoung100 Veteran
Joined: 23 Jan 2004 Posts: 1428
|
|
Back to top |
|
|
sirtisimacg4 n00b
Joined: 03 Nov 2013 Posts: 46
|
Posted: Sun Nov 10, 2013 1:46 am Post subject: |
|
|
So, in my search for a solution I'm finding that yaboot doesn't understand ext4 - which is the file system where my kernel is. I guess that means I need to create a boot partition in ext2 or ext3. Oh well ... back to step 4. It would have been nice if the installation guide had mentioned that before step 4. |
|
Back to top |
|
|
sirtisimacg4 n00b
Joined: 03 Nov 2013 Posts: 46
|
Posted: Tue Nov 12, 2013 4:21 am Post subject: /boot/3.10.7-gentoo-r1: Unknown or corrupt filesystem |
|
|
I changed my root filesystem from ext4 to ext3 (starting from step 4 again), did a manual configuration (step 7b) instead of genkernel this time, ran yabootconfig in step 10 ... rebooted ... and got exactly the same result (except not with genkernal this time):
boot: Linux
/pci@f2000000/mac-io@17/ata-4@1f000/disk@0:7, /boot/3.10.7-gentoo-r1: Unknown or corrupt filesystem
I'm using yaboot-1.3.17-r2
I searched the forum and found an earlier post with a similar problem that was fixed by going back to yaboot-1.3.16-r1, but I don't know how to install earlier versions of anything.
Any suggestions? |
|
Back to top |
|
|
eyoung100 Veteran
Joined: 23 Jan 2004 Posts: 1428
|
|
Back to top |
|
|
sirtisimacg4 n00b
Joined: 03 Nov 2013 Posts: 46
|
Posted: Wed Nov 13, 2013 4:12 am Post subject: |
|
|
I was able to boot, after yaboot failed to boot automatically, by entering the path manually:
Code: | /pci@fs000000/mac-io@17ata-4@1f000/disk@0:7,/boot/kernel-3.10.7-gentoo-r1: Unknown or corrupt filesystem
boot: hd:7,/boot/kernel-3.10.7-gentoo-r1
| and it booted .....
So why doesn't yaboot boot automatically?
Here's my latest yaboot.config try:
Code: |
boot=/dev/hda5
ofboot=/pci@fs000000/mac-io@17ata-4@1f000/disk@0:5
device=/pci@fs000000/mac-io@17ata-4@1f000/disk@0:
partition=7
delay=10
timeout=40
install=/usr/lib/yaboot/ofboot
magicboot=/usr/lib/yaboot/ofboot
image=/boot/kernel-3.10.7-gentoo-r1
label=Linux
root=/dev/hda7
read-only
enablecdboot
enableofboot
|
I haven't tried an older version of yaboot yet.
Any suggestions? |
|
Back to top |
|
|
|