Am I Crazy (parted)

Home » CentOS » Am I Crazy (parted)
CentOS 1 Comment

I swear I’ve done this dozens of times: a new server, going to install
(CentOS 7, in this case), and I manually partition the disk before the install using parted, and do mkpart pri 0.0GB +1.0GB
Except now it appears to be saying it doesn’t like the +1.0GB, I *think*
it’s the plus sign.

mark

One thought on - Am I Crazy (parted)

  • I looked at my notes (don’t trust my memory) and saw

    docs/disk:parted -s /dev/sda mkpart primary 1MB 512MB
    docs/disk:parted -s /dev/sda mkpart primary 512MB 2560MB
    docs/disk:parted -s /dev/sda mkpart primary 2560MB 100%
    docs/gentoo:parted -s /dev/vda mkpart primary 1MB 512MB
    docs/gentoo:parted -s /dev/vda mkpart primary 512MB 2560MB
    docs/gentoo:parted -s /dev/vda mkpart primary 2560MB 100%

    So, either an absolute value or a percentage of the remaining disk. I
    never did the plus thingie then.

LEAVE A COMMENT