Adding partitions with parted
fdisk was always so straightforward. However parted requires just that extra bit of hardware knowledge. I had two disks, /dev/sda and /dev/sdb, on which I wanted to create a swap partition on each, and the remainder of the disk was to be part of a RAID volume. So I started parted: (/dev/sda first) parted /dev/sda…