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@lists.fedoraproject.org
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

Reply via email to