From: Drew Eckhardt (drew@caesar.cs.colorado.edu)
Date: 06/01/92


From: drew@caesar.cs.colorado.edu (Drew Eckhardt)
Subject: Re: Deinstalling Linux
Date: Mon, 1 Jun 1992 21:59:26 GMT

In article <Bp3IMv.EnC@cs.dal.ca> maxwell@ug.cs.dal.ca (Chris Maxwell) writes:
>I want to install Linux on my brand new 386, but I am currently using a
>borrowed HD, until mine comes in, so I want to be sure that I can
>remove Linux from the disk without a trace, so that the owner doesn't get
>annoyed with me. So is it easy to remove Linux, and what are the steps?
>Obviously I have to put the partitions back to 1 DOS active partitions,
>but how do I get rid of the Linux bootstrap?
>Any comforting assurances appreciated,
>

As far as the Linux root partition and bootstrap there :

reformat the partition as DOS/extended DOS.

As far as the master boot record :

Do a

dd if=/dev/hda bs=512 count=1 of=mbr

to save it

dd if=mbr bs=512 of=/dev/hda

to restore it.