[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: FW: Partitioning problem!!

Hi Puneet

On Fri, Aug 24, 2001 at 05:03:36PM +0530, Puneet Parashar wrote:
> i have to install RH 7.0 on my machine- PIII with 256MB RAM and 10GB
> HDD. The HDD is partitioned into three - Two Win2K NTFS partitions and a
> third FAT32 formatted (but vacant) partition. The third parttion is
> about 3.9GB. 
> I tried to install RH7 into the third partition after deleting it and
> creating the following:
> 1) 80MB /boot
> 2) 500MB /swap partition
> 3) remaining as /root
> but disk druid gives an error: can't create swap partition: no primary.

I hope you are not trying to mount a Linux native partition as /swap. This wont
work as swap. Make it a 'Linux swap' type partiton. The last one should also be
/ and NOT /root !!

Also, if you are comfortable with it, consider using fdisk to create the
partitions during install. Disk druid will give problems having a /boot beyond
the 1024th cylinder. Note that using fdisk, this should NOT pose a problem.

> Also, i tried looking at the partition table with fdisk. fdisk shows me
> 4 partitions as:
> Device    Boot    Start    End    Blocks    Id    System
> /tmp/hda1  *        1        383    3076416  7        HPFS/NTFS
> /tmp/hda2            384    766    3076447+   5     Extended
> /tmp/hda3            767    1215    3606592+  c    Win 95 FAT 32 (LBA)
> /tmp/hda5            384     766    3076416    7        HPFS/NTFS
> Why does fdisk shows 4 partitions when there are 3 and how come both
> hda2 and hda5 are at the same cylinder (is it telling me that the
> logical drive hda5 is mounted on physical extended partition hda2 but
> the blocks are different!)

That is all very normal. The logical drive HAS to be inside an extended
partition and some blocks are taken up. So dont worry about the different block

> Please help. How can i create the swap partition on my machine?

The following should work:

o  Choose to use fdisk to create the partitons during install.
o  Delete the hda5 FAT32 partition if it is not deleted already.
o  At this point, a 'v' ie verify command to fdisk should show some amount of
      unallocated sectors.
o  Create a 50 MB 'Linux Native' partiton. This is for /boot
o  Create a 256Mb or whatever size 'Linux Swap' partition for the swap space.
o  Create another 'Linux Native' partiton of the remaining size. This will be
      mounted as /



  ,_,   Vipul Mathur
 (O,O)  <vipul@xxxxxxxxxxxxxxx>      http://www.vipulmathur.org/ 
 (   )  <vipul@xxxxxxxxxx>     "The Geek shall inherit the Earth"-Linus 5:5
The use of anthropomorphic terminology when dealing with computing systems
is a symptom of professional immaturity.
		-- Edsger Dijkstra