Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

Edit Grub

  Date: Feb 19    Category: Unix / Linux / Ubuntu    Views: 307
  

I just formatted the partition that had XP on it, but Grub still lists
it as an option. How do I get rid of that?

Share: 

 

3 Answers Found

 
Answer #1    Answered On: Feb 19    

Not real sure if it will pick it up but at the very top
of the file /etc/default/grub is says:
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'

You can try that to see if it generates a new list for boot.

You can search for "Boot Repair Disk" in Google or you favorite
search system, this will point to an ISO you can burn on another
CD and boot from that and redo your boot too. If you do that
there may not be any choice upon boot since you have formated
the windows partition it won't see another OS to boot up.

 
Answer #2    Answered On: Feb 19    

Open a terminal window and run the following command:

sudo update-grub

This will scan through OS's it can find and update accordingly, then
you'll find it will forget it had WinXP :-)

 
Answer #3    Answered On: Feb 19    

Barry's method should fix the problem.

 
Didn't find what you were looking for? Find more on Edit Grub Or get search suggestion and latest updates.




Tagged: