Click to See Complete Forum and Search --> : Removing Linux


cs0rw
01-26-2001, 07:56 AM
I want to remove Linux from my system, as, with my current system, I cannot properly configure my Moniter, mouse, video card, sound card or modem, making it fairly useless. Also, I need the hard disk space. (I will be upgrading my hardware shortly, and then I will be installing it again).
In the past when I have removed a linux distribution, I have simply formatted the Linux and swap partitions, but this leaves LiLo on the machine, giving error messages every time I start the computer up.
I have been told of a simple command to type in DOS that resets the computer's startup procedure, thus eliminating this problem, but cannot remember what it is. Can anybody refresh my memory, please.

NGene
01-26-2001, 08:33 AM
fdisk /mbr

jscott
01-26-2001, 08:42 AM
fdisk /mbr will only restore the DOS boot record. It won't affect the Linux partions.

Get a DOS/Windows bootdisk and use the follow as a generic guide:

You will need to use fdisk without and switches to partition the drive back to fat16/32. The Linux partition (and swap disk) will appearing fdisk as "unknown type" partitions. Delete them all, and any other partitions on the drive. Oh, this will (for our intents and purposes) destroy all data on the disk. Be sure you have any needed files backed up. Then create the new DOS partition scheme, usually one big partition if you're lazy. ;) exit fdisk and reboot. On reboot you'll need to do a format c: to create the FAT16/32 file system. From there on, you need to decide what (windows/DOS) and why (yes, why) you're going to put on the disk.

Good Luck!

xulfralos
01-26-2001, 09:01 AM
Originally posted by jscott:
fdisk /mbr will only restore the DOS boot record. It won't affect the Linux partions.

If you had read completely through the cs0rw's post, you would have noticed that s/he said that removing the actual linux/swap partitions was not the issue, but that LILO residue was still in the MBR...