* [gentoo-user] Help : need grub,conf file : kernel wouldn't boot
@ 2006-04-15 12:53 Rohit and Bhavana
2006-04-15 15:01 ` [gentoo-user] " Francesco Talamona
2006-04-16 17:46 ` Regis Decamps
0 siblings, 2 replies; 5+ messages in thread
From: Rohit and Bhavana @ 2006-04-15 12:53 UTC (permalink / raw
To: gentoo-user
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
and from ls -tlr /boot/*2.6.15*
-rw-r--r-- 1 root root 1563446 Mar 27 23:07
/boot/kernel-genkernel-x86-2.6.15-gentoo-r5
-rw-r--r-- 1 root root 597790 Mar 27 23:07
/boot/System.map-genkernel-x86-2.6.15-gentoo-r5
-rw-r--r-- 1 root root 1016367 Mar 27 23:10
/boot/initramfs-genkernel-x86-2.6.15-gentoo-r5
So I am quite sure I have the files that I need. Not sure what I might
be missing, so request you to please send me files at
rohit.sharma@iitbombay.org [don't worry about multiples please - shall
really be thankful to see what you guys have and to may be learn from it].
I have the same problem with my existing kernel also. It loads initially
a lot of module, but when it comes to booting my root partition,
/dev/hda2 it just sits and waits after an error saying that couldn't
find a bootable device.
Then I type /dev/hda2 manually on the same [grub] prompt and the machine
boots fine, this is where I am writing to you from.
Regards,
Rohit
PS - If someone wishes, I could send you my own .config to look at.
Didn't want to send that to the list. Thanks for asking.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-user] Re: Help : need grub,conf file : kernel wouldn't boot
2006-04-15 12:53 [gentoo-user] Help : need grub,conf file : kernel wouldn't boot Rohit and Bhavana
@ 2006-04-15 15:01 ` Francesco Talamona
2006-04-15 18:22 ` Rohit Sharma
2006-04-16 17:46 ` Regis Decamps
1 sibling, 1 reply; 5+ messages in thread
From: Francesco Talamona @ 2006-04-15 15:01 UTC (permalink / raw
To: gentoo-user
On Saturday 15 April 2006 14:53, Rohit and Bhavana wrote:
> So I am quite sure I have the files that I need.
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.
What name do you use in the filesystem?
2) are you sure (hd0,2) is /dev/hda2? IIRC hda2 translates to (hd0,1)
Ciao
Francesco
--
Linux Version 2.6.16-gentoo-r1, Compiled #3 PREEMPT Sat Apr 1 11:48:45
CEST 2006
One 2.2GHz AMD Athlon 64 Processor, 2GB RAM, 4416.11 Bogomips Total
aemaeth
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Re: Help : need grub,conf file : kernel wouldn't boot
2006-04-15 15:01 ` [gentoo-user] " Francesco Talamona
@ 2006-04-15 18:22 ` Rohit Sharma
0 siblings, 0 replies; 5+ messages in thread
From: Rohit Sharma @ 2006-04-15 18:22 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-user] Re: Help : need grub,conf file : kernel wouldn't boot
2006-04-15 12:53 [gentoo-user] Help : need grub,conf file : kernel wouldn't boot Rohit and Bhavana
2006-04-15 15:01 ` [gentoo-user] " Francesco Talamona
@ 2006-04-16 17:46 ` Regis Decamps
2006-04-16 19:57 ` Robert Crawford
1 sibling, 1 reply; 5+ messages in thread
From: Regis Decamps @ 2006-04-16 17:46 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Re: Help : need grub,conf file : kernel wouldn't boot
2006-04-16 17:46 ` Regis Decamps
@ 2006-04-16 19:57 ` Robert Crawford
0 siblings, 0 replies; 5+ messages in thread
From: Robert Crawford @ 2006-04-16 19:57 UTC (permalink / raw
To: gentoo-user
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:1024x768-16@72,mtrr,ywrap splash=silent,fadein,theme:default
quiet console=tty1
initrd (hd0,0)/fbsplash-default
Robert Crawford.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-04-16 20:02 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-15 12:53 [gentoo-user] Help : need grub,conf file : kernel wouldn't boot Rohit and Bhavana
2006-04-15 15:01 ` [gentoo-user] " Francesco Talamona
2006-04-15 18:22 ` Rohit Sharma
2006-04-16 17:46 ` Regis Decamps
2006-04-16 19:57 ` Robert Crawford
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox