What is "the required tweaking in the GRUB config file" exactly? I've posted my menu.lst section that fails - what does it need to be, exactly, to work? Is there some kind of taboo against specifically quoting your grub configs in public or something
Hello Matthew,
No there is nothing secret in the menu.lst file. But its content will depend on some choices you do at install time.
For example, on my system, I have mythbuntu (7.10) installed with the following partitionning:
/dev/sda1 -> /boot
/dev/sda2 -> swap
/dev/sda3 -> / (with the mythbuntu 7.10 install)
So using mythbuntu I decided to install linuxmce on /dev/sda4. My idea was to keep the mythbuntu install and add linuxmce on /dev/sda4 while having both linuxmce and mythbuntu sharing the same /boot (/dev/sda1) and swap (/dev/sda2). This allows to share the menu.lst and the kernels between the 2 systems.
So in the end, here is what I have in my menu.lst file:
# 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-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 use 'savedefault' or your
# array will desync and will not let you boot your system.
default 2
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 3
...
## ## End Default Options ##
title Mythbuntu 7.10, kernel 2.6.22-14-generic
root (hd0,0)
kernel /vmlinuz-2.6.22-14-generic root=UUID=10e3ce7b-53ca-4090-ac60-c3c59617d9a4 ro quiet splash
initrd /initrd.img-2.6.22-14-generic
quiet
title Mythbuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,0)
kernel /vmlinuz-2.6.22-14-generic root=UUID=10e3ce7b-53ca-4090-ac60-c3c59617d9a4 ro single
initrd /initrd.img-2.6.22-14-generic
title LINUXMCE 7.10, kernel 2.6.22-14-generic
root (hd0,0)
kernel /vmlinuz-2.6.22-14-generic root=UUID=41d0b807-e90d-446a-944c-9aff3a82ce03 ro quiet splash
initrd /initrd.img-2.6.22-14-generic
quiet
title LINUXMCE 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,0)
kernel /vmlinuz-2.6.22-14-generic root=UUID=41d0b807-e90d-446a-944c-9aff3a82ce03 ro single
initrd /initrd.img-2.6.22-14-generic
title Ubuntu 7.10, memtest86+
root (hd0,0)
kernel /memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
It is not necessarily the best solution but it works for me and I am happy with it so far.
The fact is that in the end the GRUB tweaking depends on your system and what you want to achieve. I don't think there is a single recipe.
Note: the above setting means I have done a bit more customization in /etc/fstab than Zaerc did in order to allow the /boot partition to be mounted by linuxmce. But it should be relatively trivial to deduce.
BTW, for people without an american/qwerty keyboard, don't forget to run "dpkg-reconfigure console-setup" after the first reboot to adapt your keyboard setting accordingly.
I hope it helps.
JC