How to create swap drive after install Linux installation Create a new partition by using fdisk command, fdisk /dev/sdb (in my case) option “n” option “w” This creates for me partition /dev/sdb1 …and then use the commands: mkswap /dev/sdb1 (1 is partition number) do the entry in /etc/fstab as below: /dev/sdb1 swap swap defaults
(More)…






