Results 1 to 3 of 3

Thread: grub2-set-default for nested systems?

  1. #1
    Join Date
    Jul 2011
    Beans
    2

    grub2-set-default for nested systems?

    Hello, When using grub2-set-default, it is an easy matter to set the default OS by number, but how do I select a nested OS? These are the OSs listed under the various "advanced options" listings.

    I saw this information on a webpage last week, but of course I can't find it now. IIRC, it was something like "grub2-set-default x,y" (but of course that's not it).

    Anyone know what the correct syntax is for the nested systems, using the number starting from "0"?

    Thanks!

  2. #2
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: grub2-set-default for nested systems?

    Welcome to the forums.

    drs305 suggests using the title (exactly) as one way.

    https://help.ubuntu.com/community/Grub2/Submenus

    http://ubuntuforums.org/showthread.php?p=10720316
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  3. #3
    Join Date
    Jul 2011
    Beans
    2

    Re: grub2-set-default for nested systems?

    Thanks Fred, it looks like the correct syntax is as follows:

    grub2-set-default "x>y"

    BTW: The quotation marks are required for this to work.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •