rsboehner
05-05-2001, 10:00 PM
I've been trying to get a linux box as a server for my DSL connection but have been having a bunch of problems (mainly because I don't understand anything). Well I've need to get this thing running by Monday and I'm just wanting to go ahead and try to get some sharing thing going with Windows. So I was wondering if anyone could tell me how I need to go about it so I can get my hard drive repartitioned to a fat file system
If you want to wipe your drive and start over with DOS fdisk (which I would recommend doing), perform the following:
From the CLI on your Linux install, run this command (as root):
linuxprompt# dd if=/dev/zero of=/dev/hda bs=512 count=1
...where 'hda' is the name of your primary drive. This command wipes the partition table and MBR clean.
Once you've wiped the Linux partitions, and rebooted, stick in a win bootdisk. Partition the drive for windows, format and install win.
Of course there are other options, running Partition Magic from the rescue diskettes, etc. If you want to share the drive with Linux, partition accordingly, reboot and install Windows, then Linux again.
Hope this is helpful to you. Luck.