[gentoo-user] Re: Help : need grub,conf file : kernel wouldn't boot
Rohit and Bhavana wrote: Hi all, I have built my kernel 2.6.15-r5 [not the latest I know but should support all that I have]. I am unable to boot it. It stops looking for root device when booting. Corresponding line from my grub,conf is title Linux-latest kernel (hd0,2)/kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0 real_root=/dev/hda2 init=/linuxrc vga=7 CONSOLE=/dev/tty1 initrd (hd0,2)/initramfs-genkernel-x86-2.6.15-gentoo-r5 I have both root= and real_root= title Gentoo kernel (hd0,0)/vmlinuz real_root=/dev/sda5 root=/dev/sda5 gentoo=nodevfs vga=0x317 initrd (hd0,0)/initramfs-gentoo Good luck, -- RĂ©gis -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Help : need grub,conf file : kernel wouldn't boot
On Sunday 16 April 2006 13:46, Regis Decamps wrote: Rohit and Bhavana wrote: Hi all, I have built my kernel 2.6.15-r5 [not the latest I know but should support all that I have]. I am unable to boot it. It stops looking for root device when booting. Corresponding line from my grub,conf is title Linux-latest kernel (hd0,2)/kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0 real_root=/dev/hda2 init=/linuxrc vga=7 CONSOLE=/dev/tty1 initrd (hd0,2)/initramfs-genkernel-x86-2.6.15-gentoo-r5 Do you have ANY kernel that does boot on this system? If so, or even if not, post a copy of your entire grub.conf, and your /etc/fstab file, so we can see how your system partitions are set up. Is there an error message, like error 17, or some other number? I think your (hd0,2) and root=dev/hd2 are probably wrong. If you installed Gentoo following the Docs, your /boot should be hda1, swap hda2, and / hda3. Your grub should be installed on the MBR, and grub.conf should look something like this, set up with no splash framebuffer: title=[Evo-2.6.16-beyond1] root (hd0,0) kernel /boot/2.6.16-beyond1 root=/dev/hda3 With a splash framebuffer, something like this: title=Gentoo [Evolution-Mission] root (hd0,0) # boot partition kernel /vmlinuz-2.6.15-archck root=/dev/hda3 video=vesafb:[EMAIL PROTECTED],mtrr,ywrap splash=silent,fadein,theme:default quiet console=tty1 initrd (hd0,0)/fbsplash-default Robert Crawford. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Help : need grub,conf file : kernel wouldn't boot
Francesco Talamona wrote: 1) Are you aware that you are using a comma inside the file name in the subject and in the message? It sould be grub.conf, not grub,conf. Yes Francesco, the comma was a typo on my part. Things are they way I have tried to convey, on my machine. What name do you use in the filesystem? 2) are you sure (hd0,2) is /dev/hda2? IIRC hda2 translates to (hd0,1) You are right. What I meant to say is that my / is /dev/hda2 and /boot is /dev/hda3 [which should be consistent with what I said]. The problem that I have, can be more concisely put this way. Grub won't honour real_root=/dev/hda2 from my conf file and after mounting /boot kernel does it's business and waits for real_root. Grub/ kernel ? fail here and say that they can not detect /dev/hda2 and ask me for the root device. I type /dev/hda2 by hand, every time I boot, and it happily continues booting the rest of the box from there. Thanks, Rohoit -- gentoo-user@gentoo.org mailing list