0

I recently installed windows 7 to my computer. After installation my ubuntu partition was converted into unallocated space. used testdisk to recover it. After that i ran boot-repair recommended repair. On rebooting, grub didn't show the option of windows 7. Here below are screenshots of gparted.

1
  • From a Windows repairCD or flash drive run chkdsk on the NTFS partitions.
    – oldfred
    Jan 10, 2015 at 15:20

1 Answer 1

0

Open a new terminal session ( Ctrl + Alt + T ) and type the following command :

sudo grub-mkconfig -o /boot/grub/grub.cfg

Reboot the system. Windows must have appeared in the grub menu now.

1
  • Because of the issues of the NTFS partition the Linux NTFS driver will not mount it and then grub2's os-prober will not be able to read it and find the Windows boot files.
    – oldfred
    Jan 10, 2015 at 15:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .