rtfd/docs/public/parted/index.rst

40 lines
515 B
ReStructuredText
Raw Normal View History

2019-08-25 08:44:25 +00:00
parted
2018-07-25 20:30:09 +00:00
======
2019-08-25 08:44:25 +00:00
| Examples with 2 × 2 TB hard disk drives as MBR,
| for a virtual 4 TB with data and 32 GB of swap as GPT.
2019-08-25 08:48:30 +00:00
|
2018-07-25 20:30:09 +00:00
MBR
---
::
parted /dev/sda
mktable msdos
mkpart primary 1 2000399
::
parted /dev/sdb
mktable msdos
mkpart primary 1 2000399
.. warning::
The first megabyte makes room for an embedded bootloader.
GPT
---
::
parted /dev/md0
mktable gpt
mkpart data 1 3966128
mkpart swap 2 4000527
2018-08-13 19:10:32 +00:00
.. note::
2018-07-25 20:30:09 +00:00
Start offset of a partition can be inferior than actual free space beginning.