Find the answer to your Linux question:
Results 1 to 6 of 6
I recently re-installed ubuntu 8.04 in a dual boot set up with vista and now in the grub menu i have duplicate entries of ubuntu. Can i delete any of ...
  1. #1
    Just Joined!
    Join Date
    Aug 2009
    Posts
    3

    help with grub

    I recently re-installed ubuntu 8.04 in a dual boot set up with vista and now in the grub menu i have duplicate entries of ubuntu. Can i delete any of these safely so they do not show. below is what i have now and have it set up to boot from the vista loader first. I arrow up and choose the ubuntu OS when i want to use ubuntu. I have the default num set at 6 and i am assuming that i would need to change that should i delete any entries.


    ## ## End Default Options ##

    title Ubuntu 8.04.3 LTS, kernel 2.6.24-24-generic
    root (hd1,4)
    kernel /boot/vmlinuz-2.6.24-24-generic root=UUID=87d8ef22-032c-4755-99d0-62ea9458e207 ro quiet splash
    initrd /boot/initrd.img-2.6.24-24-generic
    quiet

    title Ubuntu 8.04.3 LTS, kernel 2.6.24-24-generic (recovery mode)
    root (hd1,4)
    kernel /boot/vmlinuz-2.6.24-24-generic root=UUID=87d8ef22-032c-4755-99d0-62ea9458e207 ro single
    initrd /boot/initrd.img-2.6.24-24-generic

    title Ubuntu 8.04.3 LTS, kernel 2.6.24-16-generic
    root (hd1,4)
    kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=87d8ef22-032c-4755-99d0-62ea9458e207 ro quiet splash
    initrd /boot/initrd.img-2.6.24-16-generic
    quiet

    title Ubuntu 8.04.3 LTS, kernel 2.6.24-16-generic (recovery mode)
    root (hd1,4)
    kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=87d8ef22-032c-4755-99d0-62ea9458e207 ro single
    initrd /boot/initrd.img-2.6.24-16-generic

    title Ubuntu 8.04.3 LTS, memtest86+
    root (hd1,4)
    kernel /boot/memtest86+.bin
    quiet

    ### END DEBIAN AUTOMAGIC KERNELS LIST

    # This is a divider, added to separate the menu items below from the Debian
    # ones.
    title Other operating systems:
    root


    # This entry automatically added by the Debian installer for a non-linux OS
    # on /dev/sda1
    title Windows Vista/Longhorn (loader)
    root (hd0,0)
    savedefault
    makeactive
    chainloader +1

  2. #2
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,145
    Code:
    title Ubuntu 8.04.3 LTS, kernel 2.6.24-24-generic
    root (hd1,4)
    kernel /boot/vmlinuz-2.6.24-24-generic root=UUID=87d8ef22-032c-4755-99d0-62ea9458e207 ro quiet splash
    initrd /boot/initrd.img-2.6.24-24-generic
    quiet
    
    title Windows Vista/Longhorn (loader)
    root (hd0,0)
    savedefault
    makeactive
    chainloader +1

    You mean like that?
    Change the default to 0 for Ubuntu or 1 for Windows.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  3. #3
    Just Joined!
    Join Date
    Aug 2009
    Posts
    3
    so i can delete the other entries and just change from 0-1?

  4. #4
    Linux User
    Join Date
    May 2009
    Location
    Big River, Sask, Canada
    Posts
    342
    You can do that. I would also be tempted to keep the recovery mode for that kernel also, but that is up to you.
    The only reason to keep the older kernels on the boot order is that you can boot into them if the newest update made some hardware stop working.
    Last edited by Hal343; 08-31-2009 at 03:21 AM. Reason: addition
    Registered Linux User #420832

  5. #5
    Just Joined!
    Join Date
    Aug 2009
    Posts
    3
    Quote Originally Posted by Hal343 View Post
    You can do that. I would also be tempted to keep the recovery mode for that kernel also, but that is up to you.
    The only reason to keep the older kernels on the boot order is that you can boot into them if the newest update made some hardware stop working.
    Thanks Hal. Much appreciated.

  6. #6
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,145
    Keep in mind, that if your system updates grub, it might restore these deleted entries and you'll have to delete them again.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

Posting Permissions

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