Back to Linux

Well, I have Ubuntu back up and running, although without much at the moment.  Before updating the OS for the first time, a prudent first step is to run Synaptic Package Manager and select a repository mirror.  I let Synaptic choose the best one, which turned out to be Sherbrooke, Quebec for me.  I also added my printer and printed out /boot/grub/menu.lst.  If you want to know your operating system, then I would recommend this.  The /boot/grub/menu.lst generated by Ubuntu is rather verbose, since it includes a lot of comment lines.

This URL is the GRUB manual – http://www.gnu.org/software/grub/manual/grub.html

The basic syntax of the menu.lst file is a set of default option/value lines
comments lines, starting with #

a set of OS options, with the following format:
title descriptive, for the user only
root location (hdn,n) where n starts at zero
kernel location of kernel, with options
further options

Each OS section is delimited by a blank line.

GRUB can’t load Windows directly, so GRUB must chain-load it, i.e. chainloader +1 as part of the Windows GRUB entry.

Here is my menu.lst stripped down:

default 0

timeout 10

title Ubuntu 8.04.1, kernel 2.6.24-19-generic
root (hd0,5)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=4c139ecd-c1e4-494a-b70b-5db8426d5ef3 ro quiet splash
initrd /boot/initrd.img-2.6.24-19-generic
quiet

title Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
root (hd0,5)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=4c139ecd-c1e4-494a-b70b-5db8426d5ef3 ro single
initrd /boot/initrd.img-2.6.24-19-generic

title Ubuntu 8.04.1, memtest86+
root (hd0,5)
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# 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 Microsoft Windows 2000 Professional
root (hd0,0)
savedefault
makeactive
chainloader +1

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: