PDA

View Full Version : [ubuntu] How to modify boot manager at boot up



theamber
December 17th, 2008, 08:28 PM
Hi I have dual boot Vista and Ubuntu but in the start up menu I still have 3 choices one is the old windows version. I have deleted that XP version so how can I remove it from the start up menu?
I use bcdedit under windows but I don't know how to remove the description the old windows version form the start up menu.
Anyone knows how to do that?
Thanks.

icanfly0307
December 17th, 2008, 08:32 PM
Did you have XP and Vista when you installed Ubuntu?

icanfly0307
December 17th, 2008, 08:36 PM
Okay, back to the procedure.

1. Login to Ubuntu
2. Open up Terminal. Applications > Accessories > Terminal
3. Type sudo gedit /boot/grub/menu.lst
4. Scroll down and you should see something like "Windows XP Home Edition".
5. CAREFULLY, get rid of the lines from title to chainloader +1

That's it! Reboot and you should no longer see you XP entry anymore.

theamber
December 17th, 2008, 11:26 PM
Did you have XP and Vista when you installed Ubuntu?

Yes I did that is why I need to modify bcdedit in Windows.

theamber
December 17th, 2008, 11:27 PM
Okay, back to the procedure.

1. Login to Ubuntu
2. Open up Terminal. Applications > Accessories > Terminal
3. Type sudo gedit /boot/grub/menu.lst
4. Scroll down and you should see something like "Windows XP Home Edition".
5. CAREFULLY, get rid of the lines from title to chainloader +1

That's it! Reboot and you should no longer see you XP entry anymore.

Did not work because Windows boot up menu was installed first.

edwardTheGreat
December 17th, 2008, 11:36 PM
Hi I have dual boot Vista and Ubuntu but in the start up menu I still have 3 choices one is the old windows version. I have deleted that XP version so how can I remove it from the start up menu?
I use bcdedit under windows but I don't know how to remove the description the old windows version form the start up menu.
Anyone knows how to do that?
Thanks.
Have you tried (From an Windows Admin Command Line)
bcdedit /? to get a list of all the options.

Then have you run
bcdedit /enum to list all the entries in the boot manager and note the id of the one you want to delete

Then use
bcdedit /delete ID where ID is the id of the entry in the boot manager you want to delete.

I haven't got my Vista laptop in front of me, but I'm pretty sure that will do the job

Let us know how you go...

c4rson
December 18th, 2008, 12:08 AM
Okay, back to the procedure.

1. Login to Ubuntu
2. Open up Terminal. Applications > Accessories > Terminal
3. Type sudo gedit /boot/grub/menu.lst
4. Scroll down and you should see something like "Windows XP Home Edition".
5. CAREFULLY, get rid of the lines from title to chainloader +1

That's it! Reboot and you should no longer see you XP entry anymore.
Thanks!!! U R awesome ive been messing around forever to try to fix the boot loader.
How do i post a question on here im having nvidia problems, with 3d. thanx again -Carson

theamber
December 18th, 2008, 12:55 AM
Have you tried (From an Windows Admin Command Line)
bcdedit /? to get a list of all the options.

Then have you run
bcdedit /enum to list all the entries in the boot manager and note the id of the one you want to delete

Then use
bcdedit /delete ID where ID is the id of the entry in the boot manager you want to delete.

I haven't got my Vista laptop in front of me, but I'm pretty sure that will do the job

Let us know how you go...

Can't do it, my ID is {ntldr}
I try:
bcdedit /delete {ntldr}
Does no t delete it I got an error.

edwardTheGreat
December 18th, 2008, 01:03 AM
What was the error?

edwardTheGreat
December 18th, 2008, 01:09 AM
Can't do it, my ID is {ntldr}
I try:
bcdedit /delete {ntldr}
Does no t delete it I got an error.
Maybe try
bcdedit /delete {ntldr} /f

I think the '/f' forces the deletion of {legacy} and {ntldr} entries...

theamber
December 18th, 2008, 01:12 AM
It was use the /f option, but I checked /enum and it was not there I restarted it and is gone, thanks a lot problem solved.

edwardTheGreat
December 18th, 2008, 01:20 AM
Good stuff.:guitar:

icanfly0307
December 18th, 2008, 02:04 AM
@Carson: Go to the "Hardware and Laptops" section in this forum. Click on Thread Tools -> Post New Thread. Good to know you got it working. :)