LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-05-2005, 11:55 PM   #1
chuanweizuo
Member
 
Registered: Feb 2005
Location: China
Distribution: Slackware
Posts: 35

Rep: Reputation: 15
how can I uninstall Linux properly?


I've installed WindowsXP and Linux. Now I want to unistall Linux, hoping the disk space taken up by Linux can be used, as before, by windows, what shall I do?

I use grub to boot the two os.

thanks!
 
Old 03-06-2005, 12:02 AM   #2
KimVette
Senior Member
 
Registered: Dec 2004
Location: Lee, NH
Distribution: OpenSUSE, CentOS, RHEL
Posts: 1,794

Rep: Reputation: 46
Are they both on the same hard drive? If they are then you will want to simply delete the Linux partition, and re-create the partition as a Windows volume.

If however you want Windows to take up all of that space as a single volume, you will need a tool like Drive Image or Partition Magic to resize the NTFS partition so it takes the entire disk.
 
Old 03-06-2005, 12:31 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,834

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
Once you deleted the Linux partition containing the grub stage and conf files, you will no longer be able to boot to XP.
Boot from the XP CD, go to Recovery Centre and run fixmbr.

This can be done ahead of deleting partition(s) to get the standard XP bootloader back in operation.
M$ has an article on their Knowledgebase (I think) describibg the whole process.
 
Old 03-06-2005, 12:33 AM   #4
JSpired
Member
 
Registered: Sep 2003
Distribution: Slackware, Suse 9.2
Posts: 565

Rep: Reputation: 30
You also need to run "fdisk/ mbr" from the command line. (You can do this from a Windows boot CD. it will restore your MBR)
 
Old 03-06-2005, 02:22 AM   #5
chuanweizuo
Member
 
Registered: Feb 2005
Location: China
Distribution: Slackware
Posts: 35

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by JSpired
You also need to run "fdisk/ mbr" from the command line. (You can do this from a Windows boot CD. it will restore your MBR)

thanks for reply,
you mean I boot the computer with a Windows boot CD,
and then run "fdisk /mbr" from the command line.
After that, can the computer boot from windowsXP?
 
Old 03-06-2005, 03:48 AM   #6
r0b0
Member
 
Registered: Aug 2004
Location: Europe
Posts: 608

Rep: Reputation: 50
Quote:
you mean I boot the computer with a Windows boot CD,
and then run "fdisk /mbr" from the command line.
After that, can the computer boot from windowsXP?
Yes.

And to reclaim the disk space previously used by linux, just open Disk Management in windows and remove the linux partition and create a windows one on its place.

Just being curious - why are you doing this?
 
Old 03-06-2005, 06:18 AM   #7
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
There isnīt an fdisk program for Windows XP. Use the fixmbr menu option in the Windows repair console. fdisk /mbr is what you would use if you had windows 98 or windows 95. You need to boot up with the windows install disk and press the function key for repair.
 
Old 03-06-2005, 10:08 AM   #8
chuanweizuo
Member
 
Registered: Feb 2005
Location: China
Distribution: Slackware
Posts: 35

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by r0b0
Yes.

And to reclaim the disk space previously used by linux, just open Disk Management in windows and remove the linux partition and create a windows one on its place.

Just being curious - why are you doing this?

Actually, i just want to install slackware instead of Redhat for the current OS has got some problems, maybe causing by the improper installation. After using Linux for a while, I found it has lots of superiority, for instance, my computer runs Linux much faster than run windowsXP. I won't desert Linux, anyway.
 
  


Reply


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
System won't boot properly knoppix doesn't initialize properly rodewan Linux - Software 0 01-23-2005 04:35 PM
How to do full uninstall of program packet properly and exactly? ukrainet Linux - Newbie 1 12-17-2004 03:41 AM
Suse 9, RH9 wont install properly. Mandrake 9 wont boot properly? Help. l2ich84 Linux - Newbie 1 01-31-2004 12:02 PM
Vector Linux 3.2 - just how to shutdown properly ? alloydog Linux - Networking 4 05-30-2003 03:21 PM
Can't Install Linux Mandrake 8.1 Properly natsmith9 Linux - Software 2 01-11-2002 10:02 PM


All times are GMT -5. The time now is 02:33 PM.

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