Results 1 to 5 of 5

Thread: Meaning of entries in /boot/grub/menu.lst

  1. #1
    Join Date
    Jun 2009
    Beans
    20

    Meaning of entries in /boot/grub/menu.lst

    Hi:

    Looking at my /boot/gsub/menu.lst after a long time, i see a large number of entries of the form:

    title Ubuntu 9.04, kernel 2.6.28-XX-generic
    title Ubuntu 9.04, kernel 2.6.28-XX-generic (recovery mode)

    where XX varies

    I was wondering if anyone could explain what the different entries mean. Below is a copy of my menu.lst file.

    Cheers.




    Code:
    title        Ubuntu 9.04, kernel 2.6.28-17-generic
    root        (hd0,2)
    kernel        /vmlinuz-2.6.28-17-generic root=UUID=de57202b-4cfd-4de3-8b3c-92c2267eb10a ro quiet splash vga=773 
    initrd        /initrd.img-2.6.28-17-generic
    quiet
    
    title        Ubuntu 9.04, kernel 2.6.28-17-generic (recovery mode)
    root        (hd0,2)
    kernel        /vmlinuz-2.6.28-17-generic root=UUID=de57202b-4cfd-4de3-8b3c-92c2267eb10a ro  single
    initrd        /initrd.img-2.6.28-17-generic
    
    title        Ubuntu 9.04, kernel 2.6.28-16-generic
    root        (hd0,2)
    kernel        /vmlinuz-2.6.28-16-generic root=UUID=de57202b-4cfd-4de3-8b3c-92c2267eb10a ro quiet splash vga=773 
    initrd        /initrd.img-2.6.28-16-generic
    quiet
    
    title        Ubuntu 9.04, kernel 2.6.28-16-generic (recovery mode)
    root        (hd0,2)
    kernel        /vmlinuz-2.6.28-16-generic root=UUID=de57202b-4cfd-4de3-8b3c-92c2267eb10a ro  single
    initrd        /initrd.img-2.6.28-16-generic
    
    title        Ubuntu 9.04, kernel 2.6.28-15-generic
    root        (hd0,2)
    kernel        /vmlinuz-2.6.28-15-generic root=UUID=de57202b-4cfd-4de3-8b3c-92c2267eb10a ro quiet splash vga=773 
    initrd        /initrd.img-2.6.28-15-generic
    quiet
    
    title        Ubuntu 9.04, kernel 2.6.28-15-generic (recovery mode)
    root        (hd0,2)
    kernel        /vmlinuz-2.6.28-15-generic root=UUID=de57202b-4cfd-4de3-8b3c-92c2267eb10a ro  single
    initrd        /initrd.img-2.6.28-15-generic
    
    title        Ubuntu 9.04, kernel 2.6.28-14-generic
    root        (hd0,2)
    kernel        /vmlinuz-2.6.28-14-generic root=UUID=de57202b-4cfd-4de3-8b3c-92c2267eb10a ro quiet splash vga=773 
    initrd        /initrd.img-2.6.28-14-generic
    quiet
    
    title        Ubuntu 9.04, kernel 2.6.28-14-generic (recovery mode)
    root        (hd0,2)
    kernel        /vmlinuz-2.6.28-14-generic root=UUID=de57202b-4cfd-4de3-8b3c-92c2267eb10a ro  single
    initrd        /initrd.img-2.6.28-14-generic
    
    title        Ubuntu 9.04, kernel 2.6.28-13-generic
    root        (hd0,2)
    kernel        /vmlinuz-2.6.28-13-generic root=UUID=de57202b-4cfd-4de3-8b3c-92c2267eb10a ro quiet splash vga=773 
    initrd        /initrd.img-2.6.28-13-generic
    quiet
    
    title        Ubuntu 9.04, kernel 2.6.28-13-generic (recovery mode)
    root        (hd0,2)
    kernel        /vmlinuz-2.6.28-13-generic root=UUID=de57202b-4cfd-4de3-8b3c-92c2267eb10a ro  single
    initrd        /initrd.img-2.6.28-13-generic
    
    title        Ubuntu 9.04, kernel 2.6.28-11-generic
    root        (hd0,2)
    kernel        /vmlinuz-2.6.28-11-generic root=UUID=de57202b-4cfd-4de3-8b3c-92c2267eb10a ro quiet splash vga=773 
    initrd        /initrd.img-2.6.28-11-generic
    quiet
    
    title        Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
    root        (hd0,2)
    kernel        /vmlinuz-2.6.28-11-generic root=UUID=de57202b-4cfd-4de3-8b3c-92c2267eb10a ro  single
    initrd        /initrd.img-2.6.28-11-generic
    
    title        Ubuntu 9.04, kernel 2.6.27-14-generic
    root        (hd0,2)
    kernel        /vmlinuz-2.6.27-14-generic root=UUID=de57202b-4cfd-4de3-8b3c-92c2267eb10a ro quiet splash vga=773 
    initrd        /initrd.img-2.6.27-14-generic
    quiet
    
    title        Ubuntu 9.04, kernel 2.6.27-14-generic (recovery mode)
    root        (hd0,2)
    kernel        /vmlinuz-2.6.27-14-generic root=UUID=de57202b-4cfd-4de3-8b3c-92c2267eb10a ro  single
    initrd        /initrd.img-2.6.27-14-generic
    
    title        Ubuntu 9.04, kernel 2.6.24-23-generic
    root        (hd0,2)
    kernel        /vmlinuz-2.6.24-23-generic root=UUID=de57202b-4cfd-4de3-8b3c-92c2267eb10a ro quiet splash vga=773 
    initrd        /initrd.img-2.6.24-23-generic
    quiet
    
    title        Ubuntu 9.04, kernel 2.6.24-23-generic (recovery mode)
    root        (hd0,2)
    kernel        /vmlinuz-2.6.24-23-generic root=UUID=de57202b-4cfd-4de3-8b3c-92c2267eb10a ro  single
    initrd        /initrd.img-2.6.24-23-generic
    
    title        Ubuntu 9.04, kernel 2.6.22-16-generic
    root        (hd0,2)
    kernel        /vmlinuz-2.6.22-16-generic root=UUID=de57202b-4cfd-4de3-8b3c-92c2267eb10a ro quiet splash vga=773 
    initrd        /initrd.img-2.6.22-16-generic
    quiet
    
    title        Ubuntu 9.04, kernel 2.6.22-16-generic (recovery mode)
    root        (hd0,2)
    kernel        /vmlinuz-2.6.22-16-generic root=UUID=de57202b-4cfd-4de3-8b3c-92c2267eb10a ro  single
    initrd        /initrd.img-2.6.22-16-generic
    
    title        Ubuntu 9.04, kernel 2.6.20-17-generic
    root        (hd0,2)
    kernel        /vmlinuz-2.6.20-17-generic root=UUID=de57202b-4cfd-4de3-8b3c-92c2267eb10a ro quiet splash vga=773 
    initrd        /initrd.img-2.6.20-17-generic
    quiet
    
    title        Ubuntu 9.04, kernel 2.6.20-17-generic (recovery mode)
    root        (hd0,2)
    kernel        /vmlinuz-2.6.20-17-generic root=UUID=de57202b-4cfd-4de3-8b3c-92c2267eb10a ro  single
    initrd        /initrd.img-2.6.20-17-generic
    
    title        Ubuntu 9.04, memtest86+
    root        (hd0,2)
    kernel        /memtest86+.bin
    quiet

  2. #2
    Join Date
    Jun 2006
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Re: Meaning of entries in /boot/grub/menu.lst

    The XX simply refers to different Ubuntu versions of the same kernel - that is, if the 2.6.YY number stays the same. During the life cycle of an Ubuntu distribution, the upstream kernel developers issue security patches for a particular kernel which the Ubuntu devs incorporate into the kernel and reissue the kernel with an incremented XX number. This is in case the patched kernel gives problems with certain hardware combinations. And that is why you get such a large choice in menu.lst - the older versions are not uninstalled in case you need to boot into them if the latest kernel is problematic for you.

    I see from the bewildering number of kernels that you must have done several dist-upgrades. It looks like Feisty > Gutsy > Hardy > Intrepid > Jaunty. Am I right?

    If you want to tidy up you can uninstall unwanted kernels by using Synaptic. Don't do it by editing menu.lst - you'll still have all the old kernel stuff all over the place. If you want to uninstall them, search Synaptic for the form 2.6.YY-XX and mark anything corresponding for uninstallation. Your menu.lst will get rewritten and simplified automatically if you do this.

    Please do not PM me about your forum account unless you have been asked to. The correct place to contact an admin about your account is here.

  3. #3
    Join Date
    May 2009
    Location
    North West England
    Beans
    2,674
    Distro
    Ubuntu Development Release

    Re: Meaning of entries in /boot/grub/menu.lst

    +1 .. It is also advised to keep the last release of your kernel also (the next lowest number to your current one)

    Phill.

  4. #4
    Join Date
    Jun 2009
    Beans
    20

    Re: Meaning of entries in /boot/grub/menu.lst

    Thanks. I'm currently doing my dist-upgrade to Karmic. Will follow your suggestions once that's done.

    Cheers.

  5. #5
    Join Date
    Oct 2009
    Location
    Los Angeles, CA
    Beans
    380
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Meaning of entries in /boot/grub/menu.lst

    In order to remove a particular kernel using Synaptic, you must remove three files related to that kernel:

    1) linux-headers-2.6.XX-xx
    2) linux-headers-2.6.XX-xx-generic
    3) linux-image-2.6.XX-xx-generic

    Once you've removed the kernels you want in Synaptic, you can delete the references to those kernels in menu.lst. That way you won't have a long list in your boot menu.
    Main: Intel Core i7 920 D0 @ 4.0GHz | Asus P6X58D Premium | 6 x 2GB Mushkin Redline 1600 7-8-7-24 | EVGA GeForce GTX 560 Ti | 6 x 1TB WD Caviar Black | Mint 15 Cinnamon / OS X 10.7.3
    Portable: Dell Mini 9 | OS X 10.6.7

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •