HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   How To Install Ubuntu 8.04 With Software RAID1 - what about grub and kernel upgrade (http://www.howtoforge.com/forums/showthread.php?t=36005)

denbert 5th June 2009 09:07

How To Install Ubuntu 8.04 With Software RAID1 - what about grub and kernel upgrade
 
Hi there,

I have a Debian Lenny running with same setup as the mentioned how to in subject.

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


Code:

# 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 16: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...

Code:

## 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



All times are GMT +2. The time now is 12:32.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.