Results 1 to 5 of 5

Thread: Ubuntu 12.10 grub list - multiboot

  1. #1
    Join Date
    Mar 2005
    Beans
    1,392

    Ubuntu 12.10 grub list - multiboot

    I have a number of machines with only Ubuntu installed, however, I usually want an Ubuntu multiboot - two or three versions, on each machine. Including perhaps a variant, such as Lubuntu.
    Having installed Ubuntu 12.10, I notice that the Grub boot list is pretty lean. With Ubuntu 12.04, it was still possible to identify the partition name (sda6 etc) which made it possible to identify each installation.
    But with 12.10 the partition name does not appear in the grub list. For example Lubuntu is shown as 12.04.1 (with no sda6)
    Any suggestions please about how I can arrange to see a bit more information in the grub list?
    tia

  2. #2
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Ubuntu 12.10 grub list - multiboot

    I do it manually by turning off the os-prober and adding my own entries to 40_custom. But most will suggest Gub-Customizer as it is a gui.

    How to: Create a Customized GRUB2 Screen that is Maintenance Free.- Cavsfan
    https://help.ubuntu.com/community/Ma...tomGrub2Screen


    New Grub Customizer works with 12.10
    http://www.webupd8.org/2012/09/grub-...-released.html
    HOWTO: Grub Customizer Updated for grub 1.99
    http://ubuntuforums.org/showthread.php?t=1664134
    UEFI boot install & repair info - Regularly Updated :
    https://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
    Mar 2005
    Beans
    1,392

    Re: Ubuntu 12.10 grub list - multiboot

    Thank you for the reply. I am dismayed at the options. I could cope ok in the past with being told 'sda6' whatever, but my skill level is the advanced end of 'beginner'. Grub-customizer looks promising but PPA's are getting a bit out of my depth, hopefully an app will appear before too long.

    I can pretty well cope ok with carefully just editing files so my preferred minimum information would be specific info to change
    'Ubuntu 12.04.1 LTS (12.04)'
    to read
    'Ubuntu 12.04.1 LTS (12.04)(sda6)'
    (or anything to differentiate it from the other 12.04 entries...)

    The actions to do this are somewhat buried amongst many other options in a number of very worthy grub 2 help pages, and written by people who can take a lot for granted in the instructions.

    After my initial panic subsided I did notice that the new grub menu is a two stage list. The initial confusing one - with multiple identical entries(!) - includes
    'Advanced options for Ubuntu 12.04.1 LTS (12.04)'
    and when *this* is accepted, I THEN see references to (sda6) whatever. This will have to do for now, I do not really have the time to improve my expertise just yet.

    There are good reasons why non expert Ubuntu users might want to run more than one Ubuntu install, multiboot, and I do hope that this situation will attract more elegant facilities. Although in the recent few years, things seem to have got worse not better.
    Again thanks for your reply.

  4. #4
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,560
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Ubuntu 12.10 grub list - multiboot

    It's not difficult, but that depends on how used you are...

    First open the 40_custom file as oldfred mentioned:
    gksu gedit /etc/grub.d/40_custom

    Then open the grub.cfg with:
    gksu gedit /boot/grub/grub.cfg

    In the grub.cfg look in the section named 30_os-prober, it's towards the end of the file. All additional OSs discovered will be listed there, like:
    menuentry Ubuntu XXXX {
    lines of commands
    }

    Simply select and copy all of the entry, until the end } and paste it into the 40_custom. After you paste it, change the name to something like Ubuntu XXXX on sda6. Leave the commands between the {} as they are, only change the title to something that makes sense to you.

    When you are done, save and close the file. Close the grub.cfg too. To recreate new grub.cfg run:
    sudo update-grub

    Now, first time the list will be quite long, since it will include the OSs that were located automatically, and the ones you created manually in 40_custom (they should be at the end of the list). After you have tested them all, boot the main OS (the one controlling grub), and disable the os-prober with:
    sudo chmod -x /etc/grub.d/30_os-prober
    sudo update-grub

    After that you should see a smaller list with only your manual entries.

    I forgot to mention, all above operations are done from the main OS that controls the grub. You have to be careful about that, otherwise the changes you make will not be reflected in the grub boot menu.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

  5. #5
    Join Date
    Mar 2005
    Beans
    1,392

    Re: Ubuntu 12.10 grub list - multiboot

    Thanks

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
  •