Working with grub2... update-grub in F16 ?
tchollingsworth at gmail.com
Wed Nov 9 03:36:14 UTC 2011
On Tue, Nov 8, 2011 at 8:21 PM, linux guy <linuxguy123 at gmail.com> wrote:
> On Tue, Nov 8, 2011 at 8:04 PM, T.C. Hollingsworth
> <tchollingsworth at gmail.com> wrote:
>> The second way is to edit /boot/grub2/grub.cfg, locate the line
>> starting with "linux" of the newest kernel, and add the kernel
>> argument ("usbhid.quirks=0x0eef:0x725e:0x40") to the end.
> a) The banner at the top of the grub.cfg file says "Do not edit"
That banner is automatically generated by grub2-mkconfig, and is
incorrect. (I meant to file a bug for that ages ago and completely
forgot. Looks like we're stuck with that till F17 now. *sighs*)
> b) I suspect that if its added to /etc/default/grub, it will get added
> to every new kernel when its added or booted. Adding it manually to
> grub.cfg does not accomplish that.
Fedora does not use update-grub like Debian and Ubuntu to generate
grub.cfg. It instead uses a tool called grubby, which copies the
configuration for the most recent kernel, only modifying the kernel
image and initramfs to match the new kernel. This permits Fedora
users to safely edit grub.cfg.
/etc/default/grub is only used by anaconda during initial setup, and
when the user manually runs grub2-mkconfig.
More information about the users