UNSOLVED

arjay2002ph

updated

19 years ago

A

arjay2002ph

22 Posts

0

6664

November 24th, 2007 11:00

I got 2 ubuntu options on my boot screen!

I got 2 ubuntu options on my boot screen! something like this.

ubuntu version: 0.0.0.0.0
ubuntu version: 0.0.0.0.0 (recovery mode)
ubuntu version: 0.0.0.0.0
ubuntu version: 0.0.0.0.0 (recovery mode)
Other Operating Sytems:
MS Windows XP

how can I remove the copy of the ubuntu option? is there any boot loader in ubuntu so that I could edit it out? thanks.
  • radist

    199 Posts

    589

    0

    Posted November 24th, 2007 13:00

    Hi,

    I hope you have GRUB loader.

    Please find below link for UBUNTU docs

    https://help.ubuntu.com/community/GrubHowto?highlight=%28grub%29

    You can find any docs on UBUNTU site

    (in grub config file (/boot/grub/menu.lst or some like this) all you don't wanna see must with # symbol in front of line)
  • lun4tic

    1 Message

    589

    0

    Posted November 25th, 2007 14:00

    sudo apt-get autoremove

    should do the job.
    The command will remove the other Kernel from the boot Menu and the probably still installed old Kernel. You should do this everytime the system upgrade installs a new Kernel. You probably will recognize this if there's a second kernel in the boot menu again after an upgrade

    Message Edited by lun4tic on 11-25-2007 05:18 PM
  • arjay2002ph

    22 Posts

    589

    0

    Posted November 26th, 2007 03:00

    when i typed the command "sudo apt-get autoremovce" and got this message:

    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

    I think it only means that my kernel didn't upgrade or something. when I went to the grub folder and checked the menu.lst like "radist" told me about I got this:

    ## ## End Default Options ##

    title Ubuntu, kernel 2.6.20-16-generic
    root (hd1,2)
    kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=3956d2f9-a9fa-4d74-b3f2-8033d6f37358 ro quiet splash
    initrd /boot/initrd.img-2.6.20-16-generic
    quiet
    savedefault

    title Ubuntu, kernel 2.6.20-16-generic (recovery mode)
    root (hd1,2)
    kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=3956d2f9-a9fa-4d74-b3f2-8033d6f37358 ro single
    initrd /boot/initrd.img-2.6.20-16-generic

    title Ubuntu, kernel 2.6.20-15-generic
    root (hd1,2)
    kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=3956d2f9-a9fa-4d74-b3f2-8033d6f37358 ro quiet splash
    initrd /boot/initrd.img-2.6.20-15-generic
    quiet
    savedefault

    title Ubuntu, kernel 2.6.20-15-generic (recovery mode)
    root (hd1,2)
    kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=3956d2f9-a9fa-4d74-b3f2-8033d6f37358 ro single
    initrd /boot/initrd.img-2.6.20-15-generic

    title Ubuntu, memtest86+
    root (hd1,2)
    kernel /boot/memtest86+.bin
    quiet

    ### END DEBIAN AUTOMAGIC KERNELS LIST

    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

    seems to me that I have another kernel added: version 2.6.20-16 or something. well the problem began when i typed the command "sudo gdm" or something. as a beginner for linux I tend to play around a little bit. i was trying to install/run the fluxbox at that time and it was saying that i should run it in the gdm. so I typed that command just to guess. my compute gave me a blue screen error like in windows and it saying about server x. I can't really restore my system so I manually turn it off. and when I rebooted that's when got the 2 options.
  • arjay2002ph

    22 Posts

    589

    0

    Posted November 28th, 2007 11:00

    hello again. it seems to me that I fixed the problem. I found out that those options are actually version of kernels. if you want to remove one of them from the boot options you just need to remove it by using the Synaptics package manager. just leave the kernel header installed though. you might get problems like "no sound" if you uninstalled all the package.

    thanks for your help though. the information you gave me will help me in the future...