Find the answer to your Linux question:
Results 1 to 6 of 6
I have been trying to reformat my dad's pc. It is running ubuntu and I want to replace it with windows xp. I put in an xp disk and try ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2011
    Posts
    4

    I can't uninstall ubuntu


    I have been trying to reformat my dad's pc. It is running ubuntu and I want to replace it with windows xp. I put in an xp disk and try to get it to boot from the optical drive and it just ignores it. Grub takes over and ubuntu loads. Please help.
    I have searched and looked through many threads, none of which have pertained to my situation.

  2. #2
    Just Joined!
    Join Date
    Sep 2011
    Posts
    4
    Will super grub disk help?

  3. #3
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Hello and welcome!

    Some machines have problems booting Windows installation disks once GRUB resides on the MBR.

    You can go into Ubuntu, open a terminal and run the following command to clear the MBR and partition table:

    Code:
    sudo dd if=/dev/zero of=/dev/sda bs=512 count=1
    The clearing process should only take a couple of seconds once you run the command. After running the command, you should receive a short message about records in and records out. Then, you should be able to boot from your Windows installation disk once again to install Windows.

    Note that you'll lose everything on the disk when you run the above command, so you'll need to backup any important data before running it.
    oz

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Sep 2011
    Posts
    4
    Hi ozar! Thanks for the quick response!
    I've already backed every thing up since the plan is to reformat, I'm going to give that a try now.

  6. #5
    Just Joined!
    Join Date
    Sep 2011
    Posts
    4
    It worked! Thanks a million!

  7. #6
    Just Joined!
    Join Date
    Sep 2011
    Location
    Írebro, Sweden
    Posts
    17
    ozar!

    Great tip
    noted it down for the future.
    Thanx

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •