Regenerating /etc/sysconfig/grub

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

 



Hi all,

I had a problem with an fc17 install at the last step, where it
installs the bootloader, so had to run mkgrub-config and grub2-install
manually. As such, it didn't create the /etc/sysconfig/grub file, so
whenever I update the kernel, I have to edit the actual grub file
manually.

How can I create this file according to my system details?

For another system I have, it contains the following contents:

GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Fedora"
GRUB_DEFAULT=saved
GRUB_CMDLINE_LINUX="rd.md.uuid=d546cf93:a8b6adfc:d40b759d:4c011e19
rd.lvm=0 rd.dm=0 SYSFONT=True  KEYTABLE=us
rd.md.uuid=30cec390:d8f2c416:8fe6e632:ac71908b rd.luks=0
LANG=en_US.UTF-8 security=0"
#GRUB_THEME="/boot/grub2/themes/system/theme.txt"

I'm not exactly sure how the new system is configured, so I'd like to
programatically figure it out. This way I can add changes to it such
as vga resolution, disable selinux, etc.

Any ideas greatly appreciated.
Thanks,
Alex
-- 
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
Have a question? Ask away: http://ask.fedoraproject.org


[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