1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

partition/uninstall question

Discussion in 'Linux and Unix' started by unsungzero, Jan 20, 2003.

Thread Status:
Not open for further replies.
Advertisement
  1. unsungzero

    unsungzero Thread Starter

    Joined:
    Jan 20, 2003
    Messages:
    2
    i have a dual boot set up on another computer between Win98 and Mandrake 8.1 using LILO. i want to delete the linux partition. is it as simple as clicking delete partition in Partition Magic? or is it more involved? will i need to use the "fdisk/mbr" command? im just worried that once i delete the partition or use the fdisk command windows wont boot at start up.
     
  2. codejockey

    codejockey

    Joined:
    Feb 11, 2002
    Messages:
    1,405
    It may be a little more involved, depending on how you installed LILO. If LILO is installed in the MBR, then removing the Linux partition still leaves LILO active (which you may not want, since it refers to a partition that no longer exists). LILO is often installed in the MBR in multi-boot configurations because it knows how to boot other O/Ses (which Windoze does not). You will need to do two things:

    (1) remove the LInux partition; you can do this from within Linux (using the Linux fdisk command) or by using third-party software such as Partition Magic.

    (2) use fdisk /MBR to re-write the MBR in order to boot Windoze.

    Suggestion: make sure you have a working boot floppy for Windoze before making any modifications.

    Hope this helps.
     
  3. unsungzero

    unsungzero Thread Starter

    Joined:
    Jan 20, 2003
    Messages:
    2
    what if LILO isnt installed on the MBR? i dont know where it is installed...mandrake installation did it automatically. i have a boot disk for win98. if i just put that in the floppy drive and reboot, windows will load?
     
  4. codejockey

    codejockey

    Joined:
    Feb 11, 2002
    Messages:
    1,405
    You should verify your Windoze boot disk before doing anything else. Make sure your floppy is before the hard drive in the boot sequence (see your BIOS screens to configure this). Put your boot floppy in the drive, reboot the system, and see if you can access your C: drive (note that you will not be running Windoze; you will be at a command prompt). You should also verify that your boot floppy has a copy of fdisk on it, since you will need that in order to re-write the MBR (I'm assuming Mandrake didn't make a copy of the MBR if it installed LILO there).

    If you can access your Windoze installation and you have a copy of fdisk on your boot floppy, you can go ahead and delete the Linux partition. After deletion, insert your Windoze boot floppy. Reboot, and run fdisk /MBR to re-write your MBR (and remove LILO). If LILO has been installed in the root filesystem of your Linux partition, that's OK -- you don't have to worry, because LILO was deleted when you deleted your Linux partition.

    Hope this helps.
     
  5. trevor1

    trevor1

    Joined:
    Nov 3, 2002
    Messages:
    310
    why get rid of linux?
     
  6. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/114372

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice