Friday, 9 August 2019

How to remove GRUB from dual boot (Debian and Windows XP)


I have a computer witch cannot be boot from CD or USB. I have Debian and Windows XP with dual boot via GRUB. Now I want to uninstall Debian and GRUB and restore the Windows MBR.


I can enter boot Debian and Windows OSes, but no boot from CD or USB for recovery. How can I remove GRUb and restore MBR from within Windows XP or Debian?


NOTE: I asked this question before, but after accepting the answer, I found that Windows XP does not have fdisk command. However, I think it is too late to continue the discussion there; thus, I asked this brand new question.



Answer



Recovery console has fixmbr which will do that for you. Found instructions how "Recovery console" can be started without CD. Repair MBR without CD I cannot test the procedure as I don't have XP anymore.


Quick steps:
Run "C:\Windows\i386\winnt32.exe /cmdcons"
Restart and select "Recovery console" during boot-up
Run "fixmbr"

No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...