View previous topic :: View next topic |
Author |
Message |
danomac l33t
Joined: 06 Nov 2004 Posts: 881 Location: Vancouver, BC
|
Posted: Mon May 29, 2006 7:19 pm Post subject: Unable to mount root fs (solved) |
|
|
Well,
I've got the kernel figured out, and have the right drivers installed. However, the livecd detects the cdrom as hda and the drive as hdc, and the system it's the other way around. I can't figure out how to force yaboot to update the boot partition with the correct settings - it complains it can't open /dev/hda2 (which of course is the cdrom.)
Anyone know a way around this?
Last edited by danomac on Mon May 29, 2006 8:44 pm; edited 1 time in total |
|
Back to top |
|
|
Dizzutch Guru
Joined: 09 Nov 2004 Posts: 463 Location: Worcester, MA
|
|
Back to top |
|
|
danomac l33t
Joined: 06 Nov 2004 Posts: 881 Location: Vancouver, BC
|
Posted: Mon May 29, 2006 8:48 pm Post subject: |
|
|
Oddly enough, I ran Code: | ybin -v -b /dev/hdc2 -C /mnt/gentoo/etc/yaboot.conf | the first time and it failed. I ran the command a second time and it worked with no errors? Not really sure what happened there.
This was my yaboot.conf file (I didn't have to change anything):
Code: |
boot=/dev/hda2
device=hd:
partition=4
root=/dev/hda4
timeout=30
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
image=/boot/kernel-2.6.16-gentoo-r7
label=Gentoo
read-only
root=/dev/hda4
|
It finally booted on its own with no errors, no on to installing some other packages... |
|
Back to top |
|
|
|