Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • okay, but add mklabel msdos before the mkpart (what used to be echo o in the fdisk command above). Commented Oct 26, 2013 at 20:42
  • @frostschutz: do you know if I can specify the "size" rather than the "end", like "+24G" in fdisk ? Commented Oct 27, 2013 at 19:18
  • 2
    @antonio parted does not support the +24G syntax. Closest you can get is using shell arithmetic instead so you can use something along the lines of parted ... $start $(($start+$size)). Commented Oct 27, 2013 at 19:33