LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Partitioning NEW HDD (https://www.linuxquestions.org/questions/linux-hardware-18/partitioning-new-hdd-398053/)

Thanotos 12-30-2005 11:12 PM

Partitioning NEW HDD
 
I have recently purchased a 250GB HDD and am wanting to make it strictly for Slackware.

As this is a NEW HDD there is no windows installed or going to be installed. I am wanting to partion the drive for at least six partitions.

I am really, really bad with math and have been struggling with breaking down the drives. (I know that every 1000 MB ='s 1GB). The problem is that as soon as I get up to partioning 4 sections the remaining space becomes "unusable". whether it be 200 GB or 100 MB.

Why is this?

I start off with 250056.74 MB using CFDISK.

I am wanting to have the following break out of space:

1GB = /swap (1000MB)
10GB = / (10000MB)
20GB = /home
20GB = /usr
50GB = /var
10GB = /tmp
------
110GB = total

50GB = reserved for "library/storage" usage (basically a back up partition) and the remaining left in case I want to try another OS.

I would really appreciate any assistance.

gilead 12-30-2005 11:32 PM

Are you only creating primary partitions? If so, you'll only be able to have 4 of them. You only need only 1 or 2 primary partitions, depending on how may different OS's you want to boot. Then create an extended partition and put a whole bunch of logical partitions inside the extended partition.

Here's the listing for one of my hard disks (the system dual boots between windows XP Pro and Linux):

Code:

#  fdisk -l /dev/hda

Disk /dev/hda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot      Start        End      Blocks  Id  System
/dev/hda1  *          1        3825    30724281    7  HPFS/NTFS
/dev/hda2            3826      21455  141612975  83  Linux
/dev/hda3          21456      24321    23021145    5  Extended
/dev/hda5          21456      23827    19053058+  83  Linux
/dev/hda6          23828      23950      987966  83  Linux
/dev/hda7          23951      24321    2980026  82  Linux swap


randyding 12-30-2005 11:35 PM

Normally you can only have 4 primary partitions, however one of them can be an extended partition into which you can create more sub partitions. Take a look at the docs again and read about primary/extended partitions. I'd give more help but I rarely have created more than 4 partitions and don't remember all the fdisk commands.


All times are GMT -5. The time now is 08:03 AM.