[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cannot find /etc/default/grub to steer grub-mkconfig - #2
From: |
Jordan Uggla |
Subject: |
Re: cannot find /etc/default/grub to steer grub-mkconfig - #2 |
Date: |
Mon, 10 Jan 2011 18:46:17 -0800 |
On Mon, Jan 10, 2011 at 6:23 AM, <address@hidden> wrote:
>> > The second line however seems to have no effect, the kernel
>> > arguments are still root=UUID...
<snip>
> ### BEGIN /usr/local/etc/grub.d/10_linux ###
> menuentry "GNU/Linux, with Linux 2.6.34.7-0.7-pae.gz" --class gnu-linux
> --class gnu --class os {
> insmod reiserfs
> set root='(hd0,1)'
> search --no-floppy --fs-uuid --set 1120cb0b-5fb5-4b1c-9239-da1660c90ebd
> echo Loading Linux 2.6.34.7-0.7-pae.gz ...
> linux /boot/vmlinux-2.6.34.7-0.7-pae.gz root=/dev/sda1 ro
> }
As intended, the kernel parameter being passed to linux is
"root=/dev/sda1". The "search --no-floppy --fs-uuid --set
1120cb0b-5fb5-4b1c-9239-da1660c90ebd" is used by *grub* to find the
filesystem containing the kernel/initramfs to load them.
GRUB_DISABLE_LINUX_UUID=true is intended to be used to allow booting
kernel's whose initramfs cannot handle UUIDs. Since UUIDs are
generally more reliable, and grub can always use them, grub itself
always does use them to find the kernel/initramfs.
--
Jordan Uggla (Jordan_U on irc.freenode.net)