Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 12-30-2005, 11:12 PM   #1
Registered: Oct 2005
Location: Nanaimo, BC. ~CANADA~
Posts: 70

Rep: Reputation: 15
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.
Old 12-30-2005, 11:32 PM   #2
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 165Reputation: 165
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):

#  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
Old 12-30-2005, 11:35 PM   #3
Registered: May 2004
Posts: 552

Rep: Reputation: 31
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
adding Slackware to HDD - partitioning/lilo Atnot Slackware 1 02-18-2005 06:44 PM
partitioning a large HDD powadha Linux - General 1 03-05-2004 03:59 AM
partitioning hdd Nick5449 Linux - Hardware 1 06-29-2003 07:35 PM
partitioning 40 gb hdd using diskdruid cyberswami Linux - Hardware 2 06-26-2003 12:43 AM
Partitioning HDD with out Remove Linux Box Gerardoj Linux - Software 2 05-31-2003 07:33 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:14 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration