Grub os-probe showing deleted Windows installation

Posted by Sanjay on Super User See other posts from Super User or by Sanjay
Published on 2011-01-29T11:56:03Z Indexed on 2011/01/29 23:28 UTC
Read the original article Hit count: 269

Filed under:
|

I recently purchased a Dell Vostro notebook with Ubuntu Netbook edition 10.04 pre-installed. I tried adding a partition and installed Windows XP but it didn't work out due to too many partitions in the system already.

Now I have restored the laptop to factory setting using Dell Utility partition and the Windows partition is completely deleted, however my grub2 still shows Windows on /dev/sda2

sudo os-probe

Microsoft Windows XP Professional (on /dev/sda2)

Any ideas how to remove it from grub? I know I can remove /etc/grub.d/30_os-probe but I am more interested in why os-probe is showing the deleted partition.

© Super User or respective owner

Related posts about ubuntu-10.04

Related posts about grub2