LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-11-2010, 12:06 PM   #1
bluesword1969
Member
 
Registered: Jan 2010
Location: East Coast, USA.
Distribution: Gentoo, Debian, OpenBSD.
Posts: 70

Rep: Reputation: 25
Question A way to make (c)fdisk divide a drive into equal size partitions?


The title says it all. :-)

Anyone have a script, or method, that would allow (c)fdisk to divide a hard drive up into equal size primary partitions?

Thanks!
 
Old 02-11-2010, 12:35 PM   #2
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 163Reputation: 163
Take the total blocks, divide into 2, make each partition that size. You can further subdivide as necessary.

You can automate tasks like that to a degree, but its a really bad plan in my opinion.
 
  


Reply

Tags
cfdisk, fdisk, partition, primary


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
How to divide a partition in 2 partitions? rakeshj Linux - Software 12 08-12-2007 05:04 PM
weird fdisk problem (Fdisk unable to see winxp partitions) khidot Slackware - Installation 5 04-07-2007 09:26 PM
viewing the size of a drive that has no partitions fakie_flip Linux - Software 4 09-02-2006 07:53 PM
HDD size (and partitions) misreported by various fdisk programs ticthak Linux - Hardware 4 04-24-2006 07:48 PM
How do you make three partitions using fdisk? inward_eye Linux - Hardware 9 04-20-2004 03:13 PM


All times are GMT -5. The time now is 09:23 PM.

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