Re: Grub is hard to make work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2007-09-26 at 15:07 -0600, Karl Larsen wrote:
> This does not find the image or boot the kernel. What have I done
> wrong? 
> In the VERY Poor info grub it appears the want a / in front of the 
> kernel and initrd. But for the setup I have that is wrong. 

Taking your prior example:

title Fedora (2.6.22.4-65.fc7)
        root (hd0,5)

This "root" command sets the root environment for GRUB, usually where
your kernels are, and usually there's a grub sub-directory in it.

        kernel vmlinuz-2.6.22.4-65.fc7 ro root=/dev/sda5
        initrd initrd-2.6.22.4-65.fc7.img

The kernel and initrd lines have the filepaths for the kernel and initrd
files, relative to GRUB's root (hd0,5).  If they're directly inside it,
they're in its root, so /vmlinuz... and /initrd... would be correct.

The root= parameter on the kernel line is for the system root, what you
see as / in the operating system, which is usually different.

-- 
(This box runs FC5, my others run FC4 & FC6, in case that's
 important to the thread.)

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux