grub missing kernel...
kevinalm at shenessex.heartland.net
Wed Mar 24 19:41:17 PST 2004
----- Original Message -----
From: "Richard Hamilton" <warbirdnut at ev1.net>
To: "LFS Support List" <lfs-support at linuxfromscratch.org>
Sent: Wednesday, March 24, 2004 9:14 PM
Subject: Re: grub missing kernel...
> What happens if you try to load the kernel from the command line of
> GRUB? Oh wait....
> Is this right?
> kernel (hd0,4)/boot/kernel
> I thought that the kernel line Linux device names like this:
> kernel /vmlinuz ro root=/dev/hda3 # or whatever your was/
kernel (hd0,4)/boot/kernel is an example of explicit grub syntax. You are
giving an absolute pathname to the kernel.
kernel /vmlinuz is implicit, and only correct if you have a seperate /boot
partition which is hosting the grub install. (containing the active grub
files menu.lst, stage2 etc.) and the kernel you were booting was vmlinuz.
If you don't have a /boot partition, then implicitly:
(hdn,m) being the grub partition designation. _Important_ grub does not map
(hdn,m) to the linux partition designators. In general, (hd0,4) does NOT =
hda3 ! (Although in practice it might very well be so.) hda through hdf
are searched for hd's only, and grub drive numbers asigned for any found. As
an example, my hd0 is hde.
More information about the lfs-support