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?
Greetz
|
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? Greetz
| ||||
|
feedback
|
This question came from our site for professional and enthusiast programmers.
|
If I remember corretly, you need to edit The entry looks something like this:
| |||||
feedback
|
|
what version of grub do you use? if you use grub 1 then you must edit /boot/grub/menulist.lst if you use grub 2 then you must edit /etc/grub.d/04... and after update you grub | |||
|
feedback
|
|
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 | |||
|
feedback
|