Take a look at the VPS2Arch script that around.
]]>When I finished the installation of the base group, it told me that I can partition the disks. So I used fdisk to change the partition table (The VPS did not have a swap partition). Then when I want to format these partitions, it failed:
# mkfs.ext4 /dev/sda1
/dev/sda1 contains a ext4 file system
last mounted on / on Friday Oct 13 10:14:33 2017
Proceed anyway? (y,N) y
/dev/sda1 is mounted; will not make a filesystem here!
What should I do? Should I umount the partition?
P.S. All the operation were performed on a VMWare VM for fear of destorying my VPS entirely.
]]>