Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-24-2006, 09:38 AM   #1
LQ Newbie
Registered: Dec 2006
Posts: 2

Rep: Reputation: 0
Question How to uninstall linux without losing data on other partitions?

Hi all,

I am a newbie to linux and tried installing fc6. I now want to uninstall linux and do not want to lose the data I have on the non-linux partitions( fat ). On searching the net, I found that by deleting all the partitions using fdisk, and later installing xp, this could be done. Please advice me if there is any way by which I could uninstall linux without losing my data on other partitions?
I tried formatting the linux partitions by booting with xp cd but ended up getting the 'Missing Operating System' error.
Old 12-24-2006, 09:43 AM   #2
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Just delete your Linux partitions. You'll also want to reinstall Windows' bootloader and there's lots of threads here that will tell you how.
Old 12-24-2006, 09:44 AM   #3
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741Reputation: 741
Did you install with dual-boot? i.e. did you keep Windows on the system?

If Windows IS there, try booting from the Windows CD in rescue mode, and running fixmbr.

If not, then you can boot from a Linux "live cd" such as Knoppix, and delete the Linux partitions from there. You can also do this with a Bootable CD partition tool such as GParted.
Old 12-26-2006, 01:13 AM   #4
LQ Newbie
Registered: Dec 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you both for your suggestions..

Accidentally I ran this command :
dd if=/dev/zero of=/dev/hda bs=521 count=1
to delete the boot loader but found that it had deleted all my partitions

So, I had to reformat the hard drive and install windows into it.
After that, I also installed fedora core 6, but it installed with some problems. I will post my enquiry in a new thread.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
partitions to lvm2 without losing data and reverse order fakie_flip Linux - Software 6 10-30-2006 12:36 PM
Resizing of Linux Partitions without losing data sandhyarevuri Linux - General 2 02-11-2006 11:22 AM
question about reinstalling without losing data on seperate partitions? Lleb_KCir Linux - General 4 04-18-2005 03:10 AM
Join Partitions Without losing data aeruzcar Linux - General 0 06-29-2004 12:54 AM
howto add 2 partitions together without losing data? dfuse Linux - Newbie 3 09-09-2003 08:47 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:55 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration