On Fri, 25 May 2007 17:07:10 +1200 Eliot Blennerhassett <[EMAIL PROTECTED]> wrote:
> Greetings, > > Lets say I have a bunch of partitions, one of which contains a working > linux installation that uses grub to boot. "linux1" > > Now I install another linux2 on another partition. In a friendly way, > it generates a new menu.lst for grub that allows booting either the > linux1 or linux2. All is rosy until... > > linux1 distro gets a kernel update, rewrites _its_ menu.lst in blissful > ignorance of linux2. So linux1-updated-kernel doesn't appear on the > menu after reboot because the menu is the one on *linux2* partition. > It is necessary to copy the updates across by hand from linux1 to linux2 > > Now enter linux3, linux4... aagh. > > Does anyone have a cunning way around this sort of bootloader conflict? > > I'm thinking either having all the installations somehow maintain one > master menu.lst or have a master grub menu that offers a choice of the > menus of each installation. > > -- > Eliot Yes. You control the contents of /boot/grub/menu.lst manually. This lappie is one I use to build multiple releases - core duo and dead fast. It boots into loads of different *nixes, and when I upgrade one of them, I make a note of the new kernel versions and update it. OpenSUSE is the only one that doesn't play well, and requires this file copying to it's own /boot/grub. All the rest boot up with no problems at all. Master is feisty, and the relevant part of menu.lst is... ( NOTE THE FIRST LINE!!! ) ### END DEBIAN AUTOMAGIC KERNELS LIST title CentOS 5 root (hd0,8) kernel /boot/vmlinuz-2.6.18-8.1.1.el5 root=/dev/hda9 ro quiet splash initrd /boot/initrd-2.6.18-8.1.1.el5.img quiet title Fedora Core 6 root (hd0,5) kernel /boot/vmlinuz-2.6.20-1.2944.fc6 root=/dev/hda6 ro quiet splash initrd /boot/initrd-2.6.20-1.2944.fc6.img quiet title SuSE Linux 10.2 root (hd0,6) #kernel /boot/vmlinuz-2.6.18.8-0.1-default root=/dev/hda7 vga=0x314 resume=/dev/hda5 splash=silent showopts kernel /boot/vmlinuz-2.6.18.8-0.1-default root=/dev/hda7 vga=0x314 splash=silent showopts initrd /boot/initrd-2.6.18.8-0.1-default title FreeBSD 6.2 root hd(0,2,a) kernel /boot/loader title Gentoo root (hd0,7) kernel /boot/vmlinuz-2.6.19-gentoo-r5
