Re: Grub2

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

 



On 12/09/2012 10:06 AM, Ian Pilcher wrote:
> Actually, grubby in Fedora is still perfectly capable of updating the
> old grub.conf.  To set this up, create a symlink:
> 
>   # ln -s /boot/grub/grub.conf /etc
> 
> And create /etc/sysconfig/kernel:
> 
>   # UPDATEDEFAULT specifies if new-kernel-pkg should make
>   # new kernels the default
>   UPDATEDEFAULT=yes
> 
>   # DEFAULTKERNEL specifies the default kernel package type
>   DEFAULTKERNEL=kernel
> 
> Easy peasy

No, it's not "easy peasy".  It's arguably incorrect on i686
with more than 3GB of RAM, where DEFAULTKERNEL=kernel-PAE
probably should be used.  In any case it's incomplete
because it omits important documentation of this choice.
A comment should indicate which piece(s) look at the file:
  # This file is consulted by /usr/sbin/new-kernel-pkg
  # as part of installing a new Linux kernel.

Also, the "ln -s" could be improved:
  # (cd /etc; ln -s ../boot/grub/grub.conf grub.conf)
The path should be relative, and naming the last component
redundantly as the last argument makes it clear that a new
path /etc/grub.conf resolves to ../boot/grub.grub.conf.

-- 

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux