Thursday, June 4, 2009

Remove Ubuntu - Restore Windows (vista) experience

Yesterday and early today morning, I have to clean up one of my current personal working laptop to give it away to my dad. I was having both vista and ubuntu linux on it, and i work mostly in the ubuntu partition. First, I backed up all my data in both windows and linux to my book. To prepare the laptop, I have deleted the linux partition, swap partition and merge the unallocated space to windows partition before I run the Gateway provided restore to manufacturer program. WHen i restart the computer, i got GRUB loading error 22... stuck...googling around...

... and come to this final answer for a quick solution
- find a copy of my windows vista cd and boot from it, choose repair to fix boot problem
-.. still not working after reboot, try again..and in the command line windows...type the following command: Bootrec.exe /FixMbr and see response:"operation completed successfully."
- reboot..windows start fine..and resetting your computer follow the screen

that's it

links:
http://episteme.arstechnica.com/eve/forums/a/tpc/f/96509133/m/254009228831
http://ubuntuforums.org/showthread.php?t=224351
http://forums.techguy.org/unix-linux/480163-restore-windows-xp-mbr.html