View previous topic :: View next topic |
Author |
Message |
redpotatoes Tux's lil' helper
Joined: 02 Feb 2004 Posts: 111 Location: Qc, Canada
|
Posted: Wed Feb 04, 2004 1:30 pm Post subject: Step 4 of booting process fails !?? |
|
|
My problem is the following : I've install gentoo with all the necessary configuration and when I try to boot it , it starts but stops at Step 4 and says: Mounting root, cant find blablabla... At first I though that it was my /etc/fstab that was not configure well like written in other post but everything seems to be in place in that file. I also checked my grub.conf because i have a dual boot with XP(Which starts ok) and it also is configure ok. So I was woundering what could be the problems ??
/etc/fstab:
/dev/hdc1 /boot ext2
/dev/hdc3 / reiserfs
/dev/hdc2 none swap note:/hdc is my 2nd HD
/grub.conf
default x
timeout x
slashimage= xxxxxxxxx
title=Gentoo Linux
root (hd1,0)
kernel (hd1,0)/boot/kernel-2.4.22-gentoo-r5 root=/dev/ram0 real_root=/dev/hdc3 init=/linuxrc
initrd (hd1,0)/boot/initrd-2.4.22-gentoo-gentoo-r5
title=Windows XP
root (hd0,0)
chainloader (hd0,0)+1
SOmeone knows ?????? |
|
Back to top |
|
|
andi79 n00b
Joined: 25 Nov 2003 Posts: 74
|
Posted: Wed Feb 04, 2004 2:05 pm Post subject: |
|
|
Code: |
/etc/fstab:
/dev/hdc1 /boot ext2
/dev/hdc3 / reiserfs
/dev/hdc2 none swap note:/hdc is my 2nd HD
...
title=Gentoo Linux
root (hd1,0)
kernel (hd1,0)/boot/kernel-2.4.22-gentoo-r5 root=/dev/ram0 real_root=/dev/hdc3 init=/linuxrc
initrd (hd1,0)/boot/initrd-2.4.22-gentoo-gentoo-r5
|
i think there is something gone wrong with your fstab and grub.conf configuration.
if your kernel starts up with this grub.conf then the fstab settings should be:
Code: |
/dev/hdb1 /boot ext2
/dev/hdc3 / reiserfs
/dev/hdc2 none swap note:/hdc is my 2nd HD
|
try the following configuration with grub:
Code: |
title=Gentoo Linux
root (hd2,2)
kernel (hd1,0)/boot/kernel-2.4.22-gentoo-r5 root=/dev/hdc3 init=/linuxrc
initrd (hd1,0)/boot/initrd-2.4.22-gentoo-gentoo-r5
|
Last edited by andi79 on Wed Feb 04, 2004 2:07 pm; edited 1 time in total |
|
Back to top |
|
|
llamakc Tux's lil' helper
Joined: 15 Jul 2003 Posts: 94
|
Posted: Wed Feb 04, 2004 2:05 pm Post subject: |
|
|
What kind of machine is this? You DO have reiserfs support in your kernel, correct? Also, your grub.conf has hd1,0 (which is /dev/hdb1) as boot yet your fstab has hdc1 which would correspond to hd2,0.
I don't use reiserfs (and maybe that's why you have the /dev/ram0 and real_root appends) but is your kernel line correct?
I didn't have any of that when I installed a few weeks ago. |
|
Back to top |
|
|
redpotatoes Tux's lil' helper
Joined: 02 Feb 2004 Posts: 111 Location: Qc, Canada
|
Posted: Wed Feb 04, 2004 5:15 pm Post subject: |
|
|
In the installation guide hd0 refer to the first hard drive and hd1 refer to the second hard drive so its impossible to use /dev/hdb1 as hd1,0
I have a athlon xp and i dont know is my kernel support that what i did was emerge -k source-..... so it dicided for me I guess. My line kernel is ok |
|
Back to top |
|
|
vtkstef n00b
Joined: 27 Jan 2004 Posts: 26
|
Posted: Wed Feb 04, 2004 6:09 pm Post subject: /boot in grub |
|
|
Hi,
As per your fstab you may want to ommit the /boot part of directory references specified in your grub.conf file
Instead of
Code: |
title=Gentoo Linux
root (hd2,2)
kernel (hd1,0)/boot/kernel-2.4.22-gentoo-r5 root=/dev/hdc3 init=/linuxrc
initrd (hd1,0)/boot/initrd-2.4.22-gentoo-gentoo-r5
|
use
Code: |
title=Gentoo Linux
root (hd2,2)
kernel (hd1,0)/kernel-2.4.22-gentoo-r5 root=/dev/hdc3 init=/linuxrc
initrd (hd1,0)/initrd-2.4.22-gentoo-gentoo-r5
|
Plus (mind you I am not a grub expert) if my mind serves me right, shouldn't the boot partition be specified in the root setting?
You may also may want to read up on genkernel other initrd parameters, the ones that come to my mind are root=/dev/ram0 real_root=/dev/hdc3 (post on genkernel initrd parameters)
Ciao
Stefano |
|
Back to top |
|
|
|
|
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
|
|