Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 03-19-2009, 04:03 AM   #1
Registered: Sep 2002
Location: Hilton Head, SC
Distribution: Gentoo
Posts: 635

Rep: Reputation: 32
Question Is there a way to partition with fdisk and specify size in MB?

I was wondering how do you partition a disk with fdisk and specify megabytes?
Old 03-19-2009, 05:14 AM   #2
Registered: May 2008
Location: Romania
Distribution: Debian
Posts: 242

Rep: Reputation: 41
use +xMB when you set the partition size

Last edited by ddaemonunics; 03-19-2009 at 05:16 AM.
Old 03-19-2009, 05:23 AM   #3
Registered: Sep 2002
Location: Hilton Head, SC
Distribution: Gentoo
Posts: 635

Original Poster
Rep: Reputation: 32
Originally Posted by ddaemonunics View Post
use +xMB when you set the partition size
So something like this?

fdisk /dev/sda





Old 03-19-2009, 06:30 AM   #4
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
I always take the easy way out and use cfdisk.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to specify size for new partition using fdisk fedora_user Linux - Software 3 05-14-2007 12:09 PM
kde and fdisk disagree on a partition size Tortanick Linux - Hardware 2 04-25-2007 07:30 AM
Fdisk To Se-size carlosinfl Linux - General 2 02-25-2007 03:21 PM
Total partition size - User partition size is not equals to Free partition size navaneethanj Linux - General 5 06-14-2004 01:55 PM
fdisk partition size differs from mounted partition size jimieee Linux - General 3 10-15-2003 04:10 AM

All times are GMT -5. The time now is 10:09 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