Re: Grub2 menu question

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

 



On 06/30/2012 07:51 AM, Tony Molloy wrote:
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.

There is a syntax for using numbers (involving the ">" character) but it is easy to use the menu title.

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


[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