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

Discussion in 'HOWTO-Related Questions' started by denbert, Jun 5, 2009.

  1. denbert

    denbert New Member

    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?
     
  2. id10t

    id10t Member

    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
    
     

Share This Page