I recently installed ubuntu 10.04 LTS and formatted my windows 7 hdd, but the windows 7 entry is still showing in grub. How can I remove the entry from grub?
This question came from our site for professional and enthusiast programmers.
You should edit the
save it and perform
It will remove Windows from your GRUB menu list.
If I remember corretly, you need to edit
The entry looks something like this:
Ubuntu 10.04 LTS uses Grub2, which no longer uses the
Instead, you should edit the file
If your hard disk still contains a Windows partition, add the line:
to prevent Windows being added to your grub menu.
To write the change, run
which will write a new
You can then run
to check that your Windows entry has disappeared.
Further information can be found on this page: https://help.ubuntu.com/community/Grub2