Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Reboot fails on initial installation - yaboot, Handbook 10f
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
sirtisimacg4
n00b
n00b


Joined: 03 Nov 2013
Posts: 14

PostPosted: Sat Nov 09, 2013 5:23 pm    Post subject: Reboot fails on initial installation - yaboot, Handbook 10f Reply with quote

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
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1411

PostPosted: Sun Nov 10, 2013 12:36 am    Post subject: Reply with quote

You need to tell the kernel to boot your root partition, dev/hda7
_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
sirtisimacg4
n00b
n00b


Joined: 03 Nov 2013
Posts: 14

PostPosted: Sun Nov 10, 2013 1:46 am    Post subject: Reply with quote

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
View user's profile Send private message
sirtisimacg4
n00b
n00b


Joined: 03 Nov 2013
Posts: 14

PostPosted: Tue Nov 12, 2013 4:21 am    Post subject: /boot/3.10.7-gentoo-r1: Unknown or corrupt filesystem Reply with quote

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
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1411

PostPosted: Tue Nov 12, 2013 2:33 pm    Post subject: Reply with quote

Read the Potage Section of the Handbook
_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
sirtisimacg4
n00b
n00b


Joined: 03 Nov 2013
Posts: 14

PostPosted: Wed Nov 13, 2013 4:12 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum