Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
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?
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.