[Hampshire] Grub

Top Page

Reply to this message
Author: Stevens S.
Date:  
To: hampshire@mailman.lug.org.uk
Subject: [Hampshire] Grub
Hi Everyone yet another beginners question.

I have a dual boot machine at the moment (BBC iplayer....remember?) anyway it gives me so many options for Ubuntu

all the way from

Ubuntu 8.04.1, kernel 2.6.24-19-generic

down to

Ubuntu 8.04.1, kernel 2.6.22-14-generic

each with a recovery mode, so in total there are 10 different Ubuntu options. My question is 'Do I need all of these?' I have located the menu.1st file and it contains each of the options in a section like this:

title           Ubuntu 8.04.1, kernel 2.6.24-17-generic (recovery mode)
root            (hd0,5)
kernel          /boot/vmlinuz-2.6.24-17-generic root=UUID=a55eaaf8-37fb-4ca3-8b3e-87f5e8f91e03 ro single
initrd          /boot/initrd.img-2.6.24-17-generic


is it simply a case of deleting that section. Will that then remove the option from my menu without making any drastic problems for the computer.

The windows system on my computer is vista and yet grub gives me options for both Vista and XP obviously the XP version doesn't work so can I just remove that as well? The non Linux section of the file looks like this:

# This is a divider, added to separate the menu items below from the Debian
# ones.
title           Other operating systems:
root



# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title           Dell Utility Partition
root            (hd0,0)
savedefault
makeactive
chainloader     +1



# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda3
title           Windows Vista/Longhorn (loader)
root            (hd0,2)
savedefault
makeactive
chainloader     +1



# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda5
title           Microsoft Windows XP Embedded
root            (hd0,4)
savedefault
makeactive
chainloader     +1



I notice that XP has a line in there about "saveddefault" so I wasn't sure I could just delete it. Any advice gratefully received.

thanks

yours

Yellow