deleted ubuntu partiton . now what ?

B3ShO

Honorable
Feb 9, 2014
143
0
10,710
hi . i deleted the ubuntu partition from windows , now every time i boot i get this ::
error : unknown filesystem
grub rescue>
so what i have to do to run windows , and will i lose all data :eek: ?
p.s. i don't have a DVD ROM so i can't use the windows recovery :\
sorry for bad English . ##
 
Solution
No you will not lose your data. You do not need to reinstall windows. You simply need to reinstall the windows bootloader (which was overwritten with GRUB)
you need a windows installation disk or usb to fix this.

you can put windows install iso on a usb drive with various tools
http://www.microsoftstore.com/store/msusa/html/pbPage.Help_Win7_usbdvd_dwnTool
http://rufus.akeo.ie/

Once windows is on USB, boot and use recovery mode to reinstall bootloader or use boot repair option to reinstall bootloader.

Nathan Willis

Reputable
Mar 15, 2014
1,152
0
5,960
Your system was configure as a dual boot. ???
By deleting that partition you messed up the file system
Have you tried hitting Enter when the message comes up?
You may need to get a USB CD/DVD drive and try to run recovery disks.
Most likely you will just need to reinstall Windows.
Good luck! :)
 
No you will not lose your data. You do not need to reinstall windows. You simply need to reinstall the windows bootloader (which was overwritten with GRUB)
you need a windows installation disk or usb to fix this.

you can put windows install iso on a usb drive with various tools
http://www.microsoftstore.com/store/msusa/html/pbPage.Help_Win7_usbdvd_dwnTool
http://rufus.akeo.ie/

Once windows is on USB, boot and use recovery mode to reinstall bootloader or use boot repair option to reinstall bootloader.
 
Solution

B3ShO

Honorable
Feb 9, 2014
143
0
10,710


i am a little bit lost :D
so i just need to download windows 7.iso , put it on a usb , boot from the usb and chose recovery and use boot repair option ?
 
Yes, exactly.

Short guide here, either method will work:
http://www.howtogeek.com/howto/32523/how-to-manually-repair-windows-7-boot-loader-problems/

Basically what has happened:
When you installed Windows there is some code (the windows bootloader) on the disk that points to your windows installation.
When you installed Ubuntu it installed its own bootloader, GRUB.
GRUB overwrites the windows bootloader and points its self to your Ubuntu installation where the /boot/grub/grub.cfg resides.
grub.cfg contains partition and boot information for both Windows and Ubuntu.
When you deleted the Ubuntu partition you have also deleted grub.cfg so now there is nothing to point to your windows installation.
the 'boot repair' option in the windows disk will overwrite GRUB and reinstall the windows bootloader.
 

Aristotelian

Distinguished
Jun 21, 2012
579
0
19,160
It should go without saying, you should back up your data before doing anything involving reinstallation of your OS. Easiest way to do this would be to install Ubuntu on a USB stick and use it to boot into Ubuntu. Then copy any data you wish to save (from all partitions) to an external hard drive. If I remember correctly you can view your Windows data when you boot into Ubuntu, but not vice versa.