My friend had his system dual-booting Ubuntu and Windows 7. As he wanted more space to store data in Windows, he foolishly just deleted the partition. Yeah, I knew that by deleting Ubuntu partition he would lose the Grub config/loader that has the data for booting the OS and I warned him long before. Basically I am looking for someone to please tell me if there is any way to boot into Windows?
I used a Windows Vista reinstall disc to open a command prompt and tried the following:
bootrec.exe /fixmbr
bootrec.exe /fixboot
Then rebooted the system. Still no luck.
Please help me!
6 Answers - Write an Answer
susendeep dutta
February 4, 2013Recovering the Windows Bootloader with EasyBCD -
http://neosmart.net/wiki/display/EBCD/Recovering+the+Windows+Bootloader+with+EasyBCD
If you want to try last time using Windows DVD,then boot from it and click on Repair,then click on command prompt,type -
bootsect /nt60 SYS /mbr
Close the command prompt and restart your PC.
Source – http://www.askvg.com/how-to-remove-linux-boot-loader-from-startup-after-deleting-linux-partition-on-a-dual-boot-system/
This will remove Linux Bootloader and will allow you to boot into Windows OS.
I’d go with the Windows 7 installation disc method. Choose “repair” and let the system do the legwork. Works every time.
February 4, 2013Thanks but not working.
Still I am in the Grub Rescue
February 5, 2013Then use a Linux live ISO and boot your PC from it.Recover all data from HDD and reinstall the OS you wish to use.
February 6, 2013ha14
February 4, 2013BootSectorFix
https://help.ubuntu.com/community/BootSectorFix
Boot-Repair
https://help.ubuntu.com/community/Boot-Repair
Daniel Joshua
February 6, 2013Thanks for all your replies guys.
I used a Windows Disc to check for the Previous Windows Installation in any Partition and found that there was NO WINDOWS INSTALLED on the PC. WEIRD!!! (Checked using CMD by listing all available partitions)
Then I installed Windows once again. Many Users have come across this Instance.
If there is a fix please create an article on Makeuseof.com
Thank you All
Daniel Joshua
February 6, 2013Thanks for all your replies guys.
I used a Windows Disc to check for the Previous Windows Installation in any Partition and found that there was NO WINDOWS INSTALLED on the PC. WEIRD!!! (Checked using CMD by listing all available partitions)
Then I installed Windows once again. Many Users have come across this Instance.
If there is a fix please create an article on Makeuseof.com
Thank you All
yap this happen, check this article
February 6, 2013How To Safely Uninstall Ubuntu From A Windows Dual-Boot PC
http://www.makeuseof.com/tag/how-to-safely-uninstall-ubuntu-in-windows-dual-boot-environment/
Before posting this question, I did read this post.
I just want to see a proper post in Makeuseof.com to guide anyone who actually DELETED their Linux Partition using Windows Disk Management
Thanks anyway Ha14
February 8, 2013i think if you boot on linux cd you should have install and uninstall option. I am not sure but you can check it.
my self used like a year ago disk management to format Ubuntu partition then used EasyBCD to delete ubuntu option in boot screen and restore MBR then used parted magic to format ubuntu free partition to NTFS then extended to Windows space. Sure an updated Makeuseof article will be great.
February 8, 2013Gaurav Joshi
February 10, 2013use ubuntu llive cd or any other linux live cd boot into it and reinstall grub
sudo mount /dev/sda5 /mnt *****Using the linux installation on your hard drive instead of /dev/sda5
sudo mount –bind /dev /mnt/dev
sudo mount –bind /proc /mnt/proc
sudo mount –bind /sys /mnt/sys
sudo chroot /mnt
grub-install /dev/sda *****Using your boot device instead of /dev/sda
CTRL-D
sudo umount /mnt/dev
sudo umount /mnt/proc
sudo umount /mnt/sys
sudo umount /mnt
video link :http://youtu.be/8lod8sRb_6I
OR
Simply use Boor repair disk
http://sourceforge.net/projects/boot-repair-cd/
Daniel Joshua
February 10, 2013Thanks you all for you support.
Please mark the question as sloved