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
Bookmarks