Gentoo Archives: gentoo-user

From: Robert Crawford <flacycads@×××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Help : need grub,conf file : kernel wouldn't boot
Date: Sun, 16 Apr 2006 20:02:03
Message-Id: 200604161557.50432.flacycads@cox.net
In Reply to: [gentoo-user] Re: Help : need grub,conf file : kernel wouldn't boot by Regis Decamps
1 On Sunday 16 April 2006 13:46, Regis Decamps wrote:
2 > Rohit and Bhavana wrote:
3 > > Hi all,
4 > >
5 > > I have built my kernel 2.6.15-r5 [not the latest I know but should
6 > > support all that I have].
7 > > I am unable to boot it. It stops looking for root device when booting.
8 > > Corresponding line from my grub,conf is title Linux-latest
9 > >
10 > > kernel (hd0,2)/kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0
11 > > real_root=/dev/hda2 init=/linuxrc vga=7 CONSOLE=/dev/tty1
12 > > initrd (hd0,2)/initramfs-genkernel-x86-2.6.15-gentoo-r5
13
14 Do you have ANY kernel that does boot on this system? If so, or even if not,
15 post a copy of your entire grub.conf, and your /etc/fstab file, so we can see
16 how your system partitions are set up. Is there an error message, like error
17 17, or some other number?
18
19 I think your (hd0,2) and root=dev/hd2 are probably wrong.
20
21 If you installed Gentoo following the Docs, your /boot should be hda1, swap
22 hda2, and / hda3.
23 Your grub should be installed on the MBR, and grub.conf should look something
24 like this, set up with no splash framebuffer:
25
26 title=[Evo-2.6.16-beyond1]
27 root (hd0,0)
28 kernel /boot/2.6.16-beyond1 root=/dev/hda3
29
30 With a splash framebuffer, something like this:
31
32 title=Gentoo [Evolution-Mission]
33 root (hd0,0) # boot partition
34 kernel /vmlinuz-2.6.15-archck root=/dev/hda3
35 video=vesafb:1024x768-16@72,mtrr,ywrap splash=silent,fadein,theme:default
36 quiet console=tty1
37 initrd (hd0,0)/fbsplash-default
38
39 Robert Crawford.
40 --
41 gentoo-user@g.o mailing list