PDA

View Full Version : How To Install Ubuntu 8.04 With Software RAID1 - what about grub and kernel upgrade


denbert
5th June 2009, 10:07
Hi there,

I have a Debian Lenny running with same setup as the mentioned how to (http://www.howtoforge.com/how-to-install-ubuntu8.04-with-software-raid1) in subject.

I have this in /boot/grub/menu.lst


# 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 0
fallback 1

timeout 5

# Pretty colours
color cyan/blue white/blue

## ## End Default Options ##

title Debian GNU/Linux, kernel 2.6.26-2-amd64
root (hd0,0)
kernel /boot/vmlinuz-2.6.26-2-amd64 root=/dev/md0 ro quiet
initrd /boot/initrd.img-2.6.26-2-amd64

title Debian GNU/Linux, kernel 2.6.26-2-amd64 (single-user mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.26-2-amd64 root=/dev/md0 ro single
initrd /boot/initrd.img-2.6.26-2-amd64

title Debian GNU/Linux, kernel 2.6.26-2-amd64 (hd1)
root (hd1,0)
kernel /boot/vmlinuz-2.6.26-2-amd64 root=/dev/md0 ro quiet
initrd /boot/initrd.img-2.6.26-2-amd64

title Debian GNU/Linux, kernel 2.6.26-2-amd64 (hd1)(single-user mode)
root (hd1,0)
kernel /boot/vmlinuz-2.6.26-2-amd64 root=/dev/md0 ro single
initrd /boot/initrd.img-2.6.26-2-amd64

### END DEBIAN AUTOMAGIC KERNELS LIST

I've noticed that a kernel upgrade changes my menu.lst

How do I set the system to automatically have same layout with the fallback settings after a kernel upgrade?

id10t
5th June 2009, 17:45
It shouldn't mess with anything at all, just keep adding them to the bottom of hte list. I do think there is a entry that specifies how many old versions should be shown...

Here's mine from ubuntu...


## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all