View Full Version : Removing a Linux Partition
Greencardman
Dec 17, 2003, 03:25 PM
I'm looking to remove a Red Hat partition, and last time i tried (during the summer) it failed miserably, so I'm looking for a bit of help. When I installed Linux, I also installed the program that lets you chose which operating system to boot into. The problem I had last time was that when I tried to delete Linux, I also deleted that program and then my computer didn't book into anything. It just sat there, and i couldn't do anything at all. Finally i re-installed Linux and now everything works again. But since I only have a 6 gig hardrive, having Windows XP and Linux is making things hard, and I can't install any windows updates because it tells me I don't have enough disk space. So, now that i've gotten that long winded explanation out the way, can anyone tell me a foolproof way to remove linux without screwing up my system? I really need it to work the first time because my Red Hat disks are really scratched up, and my installation almost didn't work last time. Thanks a lot to anyone who helps.
Tom
jeremy.king
Dec 17, 2003, 04:07 PM
But heres a link
http://www.pcmag.com/article2/0,4149,7720,00.asp
See the Removing LILO section
Westside guy
Dec 17, 2003, 07:28 PM
from the command prompt in Windows, type:
fdisk /mbr
That will overwrite the master boot record with the Windows default record.
Red Hat hasn't used LILO for a couple years - they use a bootloader called GRUB now.
BTW this won't get your space back - you'll need to non-destructively resize the Windows partition after deleting the Linux partition. Partition Magic can do this, but it costs money. There's a tool called BootIt-NG that will do it, and you can download a trial version for free. BootIt isn't quite as intuitive but it does work.
Greencardman
Dec 20, 2003, 01:29 PM
Thanks a lot for your help guys. I am using GRUB, though RedHat can change it to Lilo if I want. Problem is fdisk isn't available in the command prompt anymore in Win XP, I guess you need to use the Windows XP CD to rewrite the MBR. Since my sister bought a license for me from the place she works at, I don't have any disks, so I'm going to have to get a hold of her cause I don't think there's any other way to do it without them. I have a partition program to use after I'm done, so that won't be a problem. Thanks for all your guy's help.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.