Re: Working with grub2... update-grub in F16 ?

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

 



On Tue, Nov 8, 2011 at 8:21 PM, linux guy <linuxguy123@xxxxxxxxx> wrote:
> On Tue, Nov 8, 2011 at 8:04 PM, T.C. Hollingsworth
> <tchollingsworth@xxxxxxxxx> 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.

-T.C.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux