The Proper Way To Partition A Hard Drive

Would anyone be kind enough to tell me what the proper procedure is for partitioning a hard drive in two? Let’s say for the sake of argument that backing up is not important nor is the probability of losing data. The reason for this post is because I managed to corrupt some boot sectors of my old hard drive (Which I recently received the replacement from Maxtor) because I may have screwed up the process while trying to install Red Hat or Fedora.

What I did was, while XP was still installed using all of the drive, I used the boot / installation CD to delete all partitions and create 2 new ones. Rather than have two it turned out to be 3 since XP automatically made an 8Mb partition for some odd reason. I first installed XP (over again) on the C section thinking that if I installed Linux first that Lilo would not recognize Windows. Then I installed Linux on the D section but ran into some problems when it asked where I wanted to install it. (Something about a boot loader?) Well after screwing around I finally got it to work and all seemed fine until I tried to install NVIDIA drivers under Linux. Red Hat 9 drivers were screwed up so I decided that since I could not enable hardware acceleration that I may as well not use it at all. Having made that choice I used the XP CD to once again remove all partitions and installed it over one section that used all available free space. It was at that point that I noticed that the boot up loading time slowed down to a crawl and was later confirmed by the Maxtor disk scanner that I indeed made some big mistakes.

I would really like to know what the proper way of doing this is so that I don’t have to RMA my current drive. Thank you in advance for any help that you would care to toss my way.

#79239

How big is the disk? you can use several programs. I have the Windows partitioner.

Fdisk for Win98 is cool, its simple and there is absolutly no bull"mr. hankey", but only supports up to 64GB w/o a fix, a fix for it to be able to do large drives is available from MS.

Cfdisk fo' Linux - Best stuff ive ever seen... You wont deny it!

#79788

The best way is to take a completly unpartitioned drive, without any OSs, and divide it up.

Here's how a general setup should be (w/ linux because you seem to want that):

Partition 1. Windows Swap. Make this with Windows or Linux FDISK I would make this FAT32, not NTFS. For swap, you want as much speed as possible, and you dont have to worry about data loss on swap.

Do this first. Make it an EXTENDED partition.

Partition 2. Linux swap. Do this next. Make this w/ linux ©fdisk.

Make this an extended partition too.

Partition 3. Windows main. NTFS. Primary, make this during windows installation.

Partition 4. Windows backup. NTFS. Extended/Primary(your choice), make this during Windows installation.

Partition 5,6,.... Linux and its partitions. I suggest REISERFS. Make this after XP is installed during installation.

Boot loader. When Windows installs, it will install the Windows boot loader that can only boot: WINDOWS!

During Linux installation, you will have to install a linux bootloader (LILO or GRUB, I recommend GRUB). Install this to the Master Boot Recorder (MBR). This is the first partition of the main drive, /dev/hda1.

Add Windows to your Linux bootloader. It can boot it fine.

Ta da.

Partition 3.

#79815