Edit fstab on unmounted device
I tried to add swapfile to the root file system on AWS EC2 instance. Did I made a mistake during the edit of fstab? sudo dd if=/dev/zero of=/swapfile bs=1G count=4 chmod 600 /swapfile mkswap /swapfile swapon /swapfile swapon -s I have edited /etc/fstab vi /etc/fstab /swapfile swap swap defaults 0 0 Swap worked fine but … Read more