|
|
Re: Grub2 menu question |
On 06/30/2012 07:51 AM, Tony Molloy wrote:
There is a syntax for using numbers (involving the ">" character) but it is easy to use the menu title.Hi, I've got a remote test box which is set to dual boot Fedora 17 and CentOS 6 using grub2 as the bootloader. It's currently set to boot into Fedora "default=0" in grub.cfg I want to change it to temporarly boot into CentOS. I've got the following menu entries in grub.cfg 0. menuentry 'Fedora (3.4.3-1.fc17.i686.PAE)' 1. submenu 'Advanced options for Fedora Linux' 2. menuentry 'CentOS release 6.2 (Final)' 3. submenu 'Advanced options for CentOS release 6.2 (Final)' 4. menuentry 'CentOS (2.6.32-220.13.1.el6.i686) 5. menuentry 'CentOS (2.6.32-220.7.1.el6.i686) What should I set default to to boot into CentOS. Should it be 1 if the submenu entries don't count or 2 if they do count.
grub-setdefault "CentOS release 6.2 (final)" will gondition grub2 to boot CentOS on the next boot. The documentation for this is in the "info grub2" tree by looking at "Environment" and then "default"
-- 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
[Older Fedora Users] [Fedora Announce] [Fedora Package Announce] [EPEL Announce] [Fedora News] [Fedora Cloud] [Fedora Advisory Board] [Fedora Education] [Fedora Security] [Fedora Scitech] [Fedora Robotics] [Fedora Maintainers] [Fedora Infrastructure] [Fedora Websites] [Anaconda Devel] [Fedora Devel Java] [Fedora Legacy] [Fedora Desktop] [Fedora Fonts] [ATA RAID] [Fedora Marketing] [Fedora Management Tools] [Fedora Mentors] [SSH] [Find Someone Special] [Fedora Package Review] [Fedora R Devel] [Fedora PHP Devel] [Kickstart] [Fedora Music] [Fedora Packaging] [Centos] [Fedora SELinux] [Fedora Legal] [Fedora Kernel] [Fedora QA] [Fedora Triage] [Fedora OCaml] [Coolkey] [Virtualization Tools] [ET Management Tools] [Yum Users] [Tux] [Yosemite News] [Yosemite Photos] [Linux Apps] [Maemo Users] [Gnome Users] [KDE Users] [Fedora Tools] [Fedora Art] [Fedora Docs] [Maemo Users] [Asterisk PBX] [Fedora Sparc] [Fedora Universal Network Connector] [Libvirt Users] [Fedora ARM]
![]() |
![]() |