Help me clean up my Grub

Questions about Grub, the liveCD and the installer
Forum rules
Before you post please read how to get help

Help me clean up my Grub

Postby Lendo on Sat Nov 19, 2011 3:02 am

I have LMDE, Mint 11, Slackware, AntiX and Debian 6 all installed. When Grub updated in LMDE it added multiple listings for Slackware and AntiX. How do I reduce the amount of lines it shows? I'd like to only have the main and safemode for each.
Life is too short to waste it on Microsoft.
User avatar
Lendo
Level 2
Level 2
 
Posts: 95
Joined: Thu Mar 31, 2011 4:47 pm
Location: Snow Covered Canada

Linux Mint is funded by ads and donations.
 

Re: Help me clean up my Grub

Postby Lendo on Sat Nov 19, 2011 3:16 am

Here's what I get from sudo update-grub, but when grub loads Slackware and AntiX show 4 times each.

Generating grub.cfg ...
Found background image: linuxmint.png
Found Debian background: linuxmint.png
Found linux image: /boot/vmlinuz-3.0.0-1-amd64
Found initrd image: /boot/initrd.img-3.0.0-1-amd64
Found linux image: /boot/vmlinuz-2.6.39-2-amd64
Found initrd image: /boot/initrd.img-2.6.39-2-amd64
Found Linux Mint 11 Katya (11) on /dev/sda1
Found Debian GNU/Linux (6.0.3) on /dev/sda6
Found Slackware Linux (Slackware 13.37.0) on /dev/sda7
Found Debian GNU/Linux (wheezy/sid) on /dev/sda8
done
Life is too short to waste it on Microsoft.
User avatar
Lendo
Level 2
Level 2
 
Posts: 95
Joined: Thu Mar 31, 2011 4:47 pm
Location: Snow Covered Canada

Re: Help me clean up my Grub

Postby wayne128 on Sat Nov 19, 2011 6:17 am

There are ways around.

Using grub legacy from AntiX to control your MBR is one such way.
Then chainload all other OS from antiX.
For simplicity, antiX will then provides its own regular and safe mode, the rest of OS will have ONE line only.
Each time when computer boots up, you get antiX grub legacy screen ( nice wall paper there) , if you want to run LMDE, choose it and it will chainload to LMDE grub2 menu, which has a few lines ( up to you to keep, usually two for each kernels, you can always delete the unused kernel and get it neater).
The advantage for using grub legacy is, your grub menu will be fixed by you, it will not change until you want to.
For the Debian based and straight Debian, each time you upgrade a kernel, there will be two more lines added, as time goes by you can have 10-20 lines for just LMDE or Debian.

If you like to use grub legacy to control MBR, I can help provide more details on how to do so.
wayne128
Level 10
Level 10
 
Posts: 3325
Joined: Tue Jul 13, 2010 12:15 am

Re: Help me clean up my Grub

Postby viking777 on Sat Nov 19, 2011 6:34 am

This is what I use to control the excesses of grub2:

https://launchpad.net/grub-customizer

Although like wayne128, grub legacy is my main boot loader and will remain so for a very long time, possibly forever. The customizer just tidies up all the unwanted crud in the grub2 menus that I chainload from legacy.
Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).
Image
User avatar
viking777
Level 14
Level 14
 
Posts: 5153
Joined: Mon Dec 01, 2008 11:21 am

Re: Help me clean up my Grub

Postby Lendo on Sun Nov 20, 2011 1:00 am

Didn't work :(
Life is too short to waste it on Microsoft.
User avatar
Lendo
Level 2
Level 2
 
Posts: 95
Joined: Thu Mar 31, 2011 4:47 pm
Location: Snow Covered Canada


Return to Installation & Boot

Who is online

Users browsing this forum: No registered users and 3 guests