LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 01-12-2006, 01:38 AM   #1
phreakshew
Member
 
Registered: Aug 2005
Distribution: Ubuntu, Kubuntu, Linux Mint
Posts: 97

Rep: Reputation: 16
Question 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!!!
 
Old 01-12-2006, 01:54 AM   #2
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775

Rep: Reputation: 86
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).
 
Old 01-13-2006, 01:27 AM   #3
phreakshew
Member
 
Registered: Aug 2005
Distribution: Ubuntu, Kubuntu, Linux Mint
Posts: 97

Original Poster
Rep: Reputation: 16
Thumbs up YAY! It Worked!

THANX 4 the help! Now,what exactly did I just do?
 
Old 01-13-2006, 09:32 AM   #4
Raeth
LQ Newbie
 
Registered: Jul 2005
Posts: 12

Rep: Reputation: 0
Quote:
Originally Posted by phreakshew
THANX 4 the help! Now,what exactly did I just do?
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.
 
Old 01-14-2006, 03:17 PM   #5
phreakshew
Member
 
Registered: Aug 2005
Distribution: Ubuntu, Kubuntu, Linux Mint
Posts: 97

Original Poster
Rep: Reputation: 16
coolness

Oh I SEEEE! Thanx!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows 2000 Bootloader vs. Mandriva LILO Bootloader Dregnan Mandriva 7 12-03-2007 09:55 PM
Ubuntu - Installing extra software criminal Linux - Software 4 12-02-2005 09:51 AM
Grub bootloader in Ubuntu 5.04 the_affman Linux - Newbie 11 10-19-2005 09:10 PM
How can I disable the grub bootloader and enable the lilo bootloader? abefroman Linux - General 1 08-06-2005 08:53 AM
hosts entry for a lan unit with no dns entry linxtc Linux - Networking 1 10-03-2003 08:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 01:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration