Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works

Removing Linux from my PC

  • Please log in to reply



    New Member

  • Member
  • Pip
  • 1 posts
I was running Windows XP 64 and Linux. I no longer need Linux and need to remove from my PC. How can I do this without compromising my PC?

Any help would be appreciated.

  • 0




    motto - Just get-er-done

  • Technician
  • 4,345 posts
I am assuming you had Windows installed first on the computer. When you installed Linux did you save the original fips disk record of the partitioning you did? If you did not you will have to make the linux partition into a second windows partition or use a 3rd party partition program if you want to make one large partition out of the drive.

From linux.com.

Removing Linux and restoring your Windows partition to its Original state

Depending on whether you are using Lilo or Loadlin the method differs slightly. Lilo users have to first restore their original MBR either by typing /sbin/lilo -u within Linux or typing fdisk /MBR in DOS. The next steps are common for both Loadlin and Lilo users. These are not really neccessary but just to be on the safe side I do them all the same.

Boot using the Linux installation CD and type Linux expert at the first prompt, answer whatever you wish to the next questions until you get to the install selection screen. Here select Install and With Fdisk and use Fdisk to delete all Linux partitions. Write the changes to disk and Ctrl–Alt–Delete your way out of the installation program or reset your system to reboot. Remember to change the BIOS settings to boot from the hard disk or else you will reboot from the CDROM again.

Reboot once again, this time with the fips disk that has the backup of your partition table and boot sector – you saved it, didn't you? – and type restorrb at the prompt. Answer yes to the question, the program will restore your partition table and boot sector and you can pat yourself on the back for accomplishing the impossible – reclaiming lost partition space! This is all the more reason for making sure that the crucial backup file (Rootboot.000) is saved in at least 5 different locations. You can never be too careful. Reboot back into Windows and run scandisk on the newly increased C drive. It will report one error in the fsinfo sector which is just a used and free space accounting error. Your Linux data is now naturally lost for ever.

If you want to know more about fips look here.


  • 0

Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP