Uninstall Ubuntu safely on a double OS computer-Windows 7 + Ubuntu 9.10
It is a usual mistake done during the uninstall process of ubuntu that the hard disk partition that holds ubuntu is formatted through the windows disk manager utility.The result is really terrible if the GRUB was your default boot loader....You get nothing but a prompt saying grub rescue while you boot your system next time.What I used to do in this situation was to reinstall the GRUB by reinstalling ubuntu or boot a live CD and execute the command "sudo update-grub",which is often a headache if you are in urgent need of disk space or in lack of time.The bigger problem is that you cannot use windows even.Here is simplest solution that I found for this on the net....
IMPORTANT:This steps can only be used to successfully uninstall Ubuntu from the system and free up disk space,not to replace GRUB by windows loader.Ubuntu cant be accessed after performing these steps.So backup files in Ubuntu.
1.Before formatting your ubuntu partition,reboot your system first
2.On selecting windows 7 OS from the GRUB(and windows loader maybe),press F8 key
3.Choose "repair your system"
4.Click "next" on the dialog box that appeared
5.Select command prompt from the next dialog box
6.On the command prompt screen,type bootrec.exe/fixmbr
The command gets executed in a jiffy and says operation completed successfully.Now reboot system and you will find the windows loader loaded instead of GRUB.Boot windows and go on to format the ubuntu partition through the disk manager.
You will find that Ubuntu is shown at the boot menu,but you cant boot ubuntu from it.So backup files in ubuntu before you perform this :).
IMPORTANT:This steps can only be used to successfully uninstall Ubuntu from the system and free up disk space,not to replace GRUB by windows loader.Ubuntu cant be accessed after performing these steps.So backup files in Ubuntu.
1.Before formatting your ubuntu partition,reboot your system first
2.On selecting windows 7 OS from the GRUB(and windows loader maybe),press F8 key
3.Choose "repair your system"
4.Click "next" on the dialog box that appeared
5.Select command prompt from the next dialog box
6.On the command prompt screen,type bootrec.exe/fixmbr
The command gets executed in a jiffy and says operation completed successfully.Now reboot system and you will find the windows loader loaded instead of GRUB.Boot windows and go on to format the ubuntu partition through the disk manager.
You will find that Ubuntu is shown at the boot menu,but you cant boot ubuntu from it.So backup files in ubuntu before you perform this :).