LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   extra Ubuntu entry in bootloader? (https://www.linuxquestions.org/questions/ubuntu-63/extra-ubuntu-entry-in-bootloader-402353/)

phreakshew 01-12-2006 01:38 AM

extra Ubuntu entry in bootloader?
 
Hello all- I successfully made my computer dual-bootable last night! However, in there is an extra Ubuntu entry in the boot screen that I would like to get rid of (because it's annoying)

These are my choices:

Ubuntu, Kernel 2.6. 12-10-386
Ubuntu, Kernel 2.6. 12-10-386 recovery mode

Ubuntu, Kernal 2.6. 12-9-386
Ubuntu, Kernel 2.6. 12-9-386 recovery mode

Mandriva (on /dev/hda1)
Failsafe (on /dev/hda1)


I would like to get rid of that second Ubuntu set (12-9-386)

Do I need to edit the boot/grub/menu.lst file? If so, how?

Mandriva is on hda1 and Ubuntu is on hdb1. (Yes that is correct I have 2 drives)

I think I know how it happened. At first I installed Ubuntu on hda, then (following advice from a friend) removed both drives and re-jumpered them from master-slave to slave-master (am I making any sense?) and then proceeded to install Mandriva on the newly jumpered master blank drive, thinking the install would recognize Ubuntu on the other disc and everything would be fine. This was my 1st time doing this, and so when it was done I had Mandriva but not Ubuntu. So then I put the Ubuntu install disc back in, restarted, and erased the 2nd drive and reinstalled Ubuntu. Now I have both OS's and they're both bootable, but the only thing that bugs me is this extra entry in the boot screen.

Any and all help is greatly appreciated. THANX!!!

aysiu 01-12-2006 01:54 AM

Quote:

Originally Posted by phreakshew
I would like to get rid of that second Ubuntu set (12-9-386)

Get rid of completely? If so, do this:
Code:

sudo apt-get remove linux-image-2.6.12-9-386
Quote:

Do I need to edit the boot/grub/menu.lst file? If so, how?
You could do this also.
Code:

sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup
sudo nano /boot/grub/menu.lst

Find the offending entry lines and put a # sign in front of each line. Then save (control-x), confirm (y), and exit (Enter).

phreakshew 01-13-2006 01:27 AM

YAY! It Worked!
 
THANX 4 the help! Now,what exactly did I just do? :) :rolleyes:

Raeth 01-13-2006 09:32 AM

Quote:

Originally Posted by phreakshew
THANX 4 the help! Now,what exactly did I just do? :) :rolleyes:

You removed the old kernel that was not being used.

You then edited the list file that GRUB (your bootloader) uses to display your OS choice, and turned the lines that represented the unused Ubuntu kernel into comments, which means they are only displayed in a text editor, and aren't read by the program.

phreakshew 01-14-2006 03:17 PM

coolness
 
Oh I SEEEE! Thanx!:D :D :D


All times are GMT -5. The time now is 11:56 AM.