Re: Changing kernel in grub 2

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

 



On Friday 03 Feb 2012 12:19:32 don fisher wrote:
> I have been using grub1, where you could edit the menu.1st command to
> change kernels. The only place that I see the kernels listed is in
> /boot/grub2/grub.cfg which is generated by the files in /etc.
> 
> If the current kernel does not work as desired, how does one choose the
> previous kernel? The only choices I see are:
> 
> 1. edit the script that says do not edit
> 2. remove the bad kernel from /boot and run grub2-mkconfig
> 
> Please advise. Once boot is broken, it is really bad!

Don, make any changes in the grub file which is in /etc/default/

The line you want to edit is GRUB_DEFAULT=

and then run

grub2-mkconfig -o /boot/grub2/grub.cfg

Then the changes you made are kept during the next kernel update/reboot etc

HTH

Colin
-- 
Fedora release 16 (Verne)
Registered Linux user number #342953


-- 
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