Removing a Linux Partition

Discussion in 'Mac Apps and Mac App Store' started by Greencardman, Dec 17, 2003.

  1. Greencardman macrumors 6502

    Joined:
    Apr 24, 2003
    Location:
    Milwaukee, WI
    #1
    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
     
  2. jeremy.king macrumors 603

    jeremy.king

    Joined:
    Jul 23, 2002
    Location:
    Fuquay Varina, NC
  3. Westside guy macrumors 601

    Westside guy

    Joined:
    Oct 15, 2003
    Location:
    The soggy side of the Pacific NW
    #3
    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.
     
  4. Greencardman thread starter macrumors 6502

    Joined:
    Apr 24, 2003
    Location:
    Milwaukee, WI
    #4
    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.
     

Share This Page