LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-08-2011, 12:18 AM   #1
Debojit777
LQ Newbie
 
Registered: Apr 2011
Posts: 6

Rep: Reputation: 0
UBUNTU OS-->Startup problem


i've got UBUNTU 10.10 installed on my laptop.After i turn my laptop on and the comp prepares 2 boot the OS,a screen asking me to choose which OS version i'd like 2 select.Now ideally i'd like jst 2 names on dat list namely-Ubuntu and win xp..But I've a host of other options as well like memory test..blah blah...'safe mode'....wotevr....Is this ok 2 have so many OS startup options.Is there a way to get rid of unwanted stuff like changin the BOOT.ini file or in any other way???
 
Old 04-08-2011, 12:48 AM   #2
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 291Reputation: 291Reputation: 291
Quote:
Originally Posted by Debojit777 View Post
... Now ideally i'd like jst 2 names on dat list namely-Ubuntu and win xp..But I've a host of other options as well like memory test..blah blah...'safe mode'....wotevr....Is this ok 2 have so many OS startup options.Is there a way to get rid of unwanted stuff like changin the BOOT.ini file or in any other way???
You are referring to the grub2 menu.
I would suggest leaving the menu alone. Those other entries will never bother you; so, as they say:
If it ain't broke, then ... don't mess with it!!!
The recovery mode options are useful if you ever have a problem booting. They can help to recover the system, possibly with a little help from your friends here at LQ
The memtest option is useful for diagnosing hardware problems. It can rule out or confirm faulty memory as the source of any problems you may be having.
If you really, really, want to get rid of the memtest option, you can remove the executable bit from the 20_memtest86+ file in the /etc/grub.d/ directory:
Code:
sudo chmod -x /etc/grub.d/20_memtest86+
If you really, really, want to get rid of the recovery mode boot options, you can add, or uncomment the GRUB_DISABLE_LINUX_RECOVERY=true line in the /etc/default/grub file.
Note: To uncomment a line in a file means to remove the # at the beginning of the line.
Note #2: Be sure to run
Code:
sudo update-grub
after editing any grub2 configuration files in order to update your /boot/grub/grub.cfg file. This is the file that determines what grub2 menu you see when you boot the computer. You are not supposed to edit this file directly though.

I would strongly suggest backing up any configuration files before editing them in case you mess things up. I always do this as a precaution; and I have been using Ubuntu for 6 years.
For reference, see this tutorial on grub2: https://help.ubuntu.com/community/Grub2

Last edited by tommcd; 04-08-2011 at 01:05 AM.
 
1 members found this post helpful.
Old 04-08-2011, 01:38 AM   #3
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636
Widget on this forum is pretty cluey about GRUB2, he and Drs305 (I think that's his nick) at Ubuntu forums wrote up most of the tutorials on the Ubuntu forums.
 
Old 04-08-2011, 02:08 AM   #4
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 291Reputation: 291Reputation: 291
Quote:
Originally Posted by k3lt01 View Post
Widget on this forum is pretty cluey about GRUB2, he and Drs305 (I think that's his nick) at Ubuntu forums wrote up most of the tutorials on the Ubuntu forums.
???????
I do not know what this means!
In what way was you post supposed to be able to help the OP???

Last edited by tommcd; 04-08-2011 at 02:12 AM.
 
Old 04-08-2011, 02:14 AM   #5
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636
Quote:
Originally Posted by tommcd View Post
???????
I do not know what this means!
Can you please try to post in complete, and (hopefully)!!! coherent sentences here please?
In what way was you post supposed to be able to help the OP???
If you want coherent try not to put exclamation marks mid sentence. there is also no need to say please twice it makes your sentence appear like it was written by a child.

Some people would guess that by doing a search of Ubuntu Forums for GRUB2 and Drs305 they would get a selection of threads to look at that refer to what they are looking for. If you were unable to get that from my post then so be it but that does not mean it was incoherent.
 
Old 04-08-2011, 02:25 AM   #6
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636
Take a look at this thread (by non other than Drs305) and read it carefully for a FULL and proper explanation of what to do and how to do it. In other words it's not some half baked quick wit answer.

You may notice at the top of this thread that there is an application that can do everything you want to do. I would still recommend you read the OP though as it gives a brilliant explanation, not a short quick quip, of how to work with GRUB2.
 
1 members found this post helpful.
Old 04-08-2011, 02:28 AM   #7
go_tux_yourself
LQ Newbie
 
Registered: Oct 2009
Posts: 9

Rep: Reputation: 1
Re: Startup Problem

Edit /boot/grub/menu.lst as root and comment out OS entries as needed from your grub menu, like so:

#title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
#uuid 145780a7-f8eb-4da7-8abe-ab032353ccf8
#kernel /vmlinuz-2.6.28-11-generic root=UUID=05941026-fe6a-4627-8e13-9e87cc74691d ro single
#initrd /initrd.img-2.6.28-11-generic

#title Ubuntu 9.04, memtest86+
#uuid 145780a7-f8eb-4da7-8abe-ab032353ccf8
#kernel /memtest86+.bin
#quiet

Note: "#" indicates a line is commented, be careful what you edit here you could end up with a non-booting system. If such a thing should happen, boot up from a live cd and re-edited the menu.lst. I suggest making a backup of the original.
 
Old 04-08-2011, 02:31 AM   #8
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 291Reputation: 291Reputation: 291
Quote:
Originally Posted by k3lt01 View Post
Take a look at this thread (by non other than Drs305) and read it carefully for a FULL and proper explanation of what to do and how to do it. In other words it's not some half baked quick wit answer.
Well, your last post was indeed helpful!!!
I am glad that I encouraged you to post something that is useful here.
This is especially pertinent since the OP is obviously new to linux.

Last edited by tommcd; 04-08-2011 at 02:34 AM.
 
Old 04-08-2011, 02:32 AM   #9
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636
Quote:
Originally Posted by go_tux_yourself View Post
Edit /boot/grub/menu.lst as root and comment out OS entries as needed from your grub menu, like so:
Stop right there and don't go any further. Ubuntu 10.10 does not, by default, have a /boot/grub/menu.lst as this is from Grub Legacy. Ubuntu 10.10 has GRUB2 and grub.cfg is the file you should be referring to. I would suggest you read the link in my post above.
 
Old 04-08-2011, 02:34 AM   #10
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636
Quote:
Originally Posted by tommcd View Post
Well, your last post was indeed helpful!!!
I am glad that I encouraged you to post something that is useful here.
I'd encourage you to pull your head in, you were rude and there was no need for it. Next time you suggest someone is incoherent you should at least take a look at your sentence structure.
 
Old 04-08-2011, 01:38 PM   #11
exsencon
Member
 
Registered: Feb 2008
Location: Belgium
Distribution: Ubuntu,LinuxMint,Slackware,Sabayon,Slax
Posts: 85

Rep: Reputation: 24
Frankly, I still don't see the advantages of Grub2 over Grub legacy as it is called today.
Legacy was so beautifully simple, you just went into the menu.lst file and changed whatever you wanted.
I just had a recent experience with OpenSuse 11.1.
I have a Dell Inspiron 1501 laptop with Ubuntu 10.10,Dreamlinux3.5,Slax6.1.2 and WinXP everything running from Ubuntu's Grub in the MBR.
Since I still had an empty 20GB partition I went for Suse,installed the 11.1 in that partition stating that it should install the bootloader in its own root partition. It went very well without any errors.
I rebooted and got: No operating system found.
What I usually do in that case (it happens sometimes but not very often) I put in my Grub (legacy) CD,boot into Ubuntu and fix the menu.lst. Of course I could not to it here because poor old Grub legacy could not find Ubuntu 10.10 with its brand new Grub2.
Luckily I had the Ubuntu 10.10 live CD and then I from the live CD I did:
sudo mount /dev/sda5 /mnt (sda5 being Ubuntu 10.10)
sudo grub-install --root-directory=/mnt/dev/sda
reboot
Then I got everything back and yes, the installed Suse as well.
Now I don't know what Suse did when it installed,I suppose it tried to install its grub legacy into the MBR although I told it specifically not to and it wiped out the Ubuntu Grub2 and left me sitting with nothing.
The funny part about it was when I tried to boot Winxp with just root (hd0,1) makeactive and chainloader +1 and it booted right away. That's windows I guess.
So I am not all that happy about Grub2, I found legacy a lot easier to handle.
As the saying goes,when you have a working system don't try to fix it!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Ubuntu :usb startup disk creator problem drmjh Linux - General 18 11-29-2009 12:14 PM
black and white checkers on startup- radeon 9600 ubuntu 9.04 problem soundpete Linux - Software 1 07-03-2009 11:40 PM
Ubuntu startup problem? buk0wsk1 Linux - Newbie 7 01-14-2009 03:35 PM
why after every major update in Ubuntu new entries of Ubuntu are created at startup?? salfuser Linux - Newbie 4 01-12-2009 07:08 PM
Ubuntu 8.10 startup problem Linunix Ubuntu 1 11-02-2008 10:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:29 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration