Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
- Boot to Windows.
- Type fdisk /mbr
- Reboot your machine
- *If it comes back and boots straight into Windows with no sign of Linux, then continue*
- Boot from your RH install CD.
- Proceed to the bit where you select the partitions... and remove all the Linux partitions, and possibly reformat them as Windows ones.
- Do not proceed any further with the install.
- Reboot to Windows
- You should now have a 'new drive' attached to your system.
- Open up My Computer and format the new partition under Windows.
There may be some omissions in my saga, as I have not done this in a very long time now.
1. Presumably you know how to boot into Windows?
2. You need to open up a dos box... and type fdisk /mbr. You might find it more helpful to boot Windows in 'safe mode - command prompt only' to do this.
3. Well, I should hope you know how to reboot your machine.
4. *If you installed Linux more than once without doing the above steps, then it is more than likely that simply doing these will not have changed much. If you boot straight to Windows, without having a LiLo or Grub screen, then you should be OK. If you do get a LiLo or Grub screen, or even some Lilo/Grub errors, then you'll need to come back and ask some more questions.
5. Boot from your RedHat install CD. In your case, you will need to boot your Slack CD into rescue mode (if it has one... I forget). Otherwise, some other rescue media.... tomsrtbt?
6. Go through the steps necessary until you can repartition your harddisk. If you're booting into some rescue more, you should be able to do this straight away, but you'll need to use either fdisk or cfdisk. If you're booting from your RH CD, or your Mandy CD, or something else, you may find you have a nice GUI-type harddisk partitioning program. Either way, you need to remove the Linux partitions, and re-assign the 'unpartitioned space' (dead-space) as Windows FAT32. You can format these under Linux rescue if you want, but I suggest you leave the formatting to Windows later.
7. DO NOT INSTALL LINUX AGAIN. THIS WOULD OTHERWISE DEFEAT THE OBJECT OF GETTING RID OF LINUX FROM YOUR SYSTEM.
8. Well.... reboot your machine and pray that Windows boots OK. If you were daft enough to get rid of the Windows partitions as well as the Linux partitions in step 6, then you've had it... you need to install everything again!
9. When you boot to Windows, providing everything has gone OK so far, you should find that there's a 'new harddisk' in My Computer.
10. Do as it says... format the new 'drive'.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.