On Sunday 07 August 2011 10:00:45 Benjamin Ashton wrote:
> Can any of you kind knowledgeable people tell me how to change which is the
> default distro with Grub version 1? I've got Mint and Ubuntu, with Ubuntu
> as default, but I want it to be Mint.
>
>
> Thanks,
> Ben.
Open:
/boot/grub/menu.lst
in your favourite editor. You will need to open it as root.
Change the default number from <ubuntu's number> to <Mint's number> working
from the title lines. The number is just the position of the distros,
numbering from the top, **starting at 0**
Save the edited menu.lst.
You are done, tho' life gets a very little bit more complicated if one of your
options is Windows! So I have assumed here that it is not.
Here are extracts from my menu.lst, showing that I want the first option to be
the default:
<quote>
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-legacy-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default 0
</quote>
[snip]
<quote>
List of options on this computer:
title Debian GNU/Linux, kernel 2.6.26-2-686
root (hd0,0)
kernel /boot/vmlinuz-2.6.26-2-686 root=/dev/hda1 ro quiet
initrd /boot/initrd.img-2.6.26-2-686
title Debian GNU/Linux, kernel 2.6.26-2-686 (single-user mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.26-2-686 root=/dev/hda1 ro single
initrd /boot/initrd.img-2.6.26-2-686
</quote>
HTH,
Lisi