Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### CONTENUTO /ETC/FSTAB :
- LABEL=writable / ext4 defaults 0 0
- LABEL=system-boot /boot/firmware vfat defaults 0 1
- /dev/sda1 /media/usb ext4 defaults 0 0 ## monta l'usb all'avvio
- $SWAP none swap defaults 0 0 ## dovrebbe montare la swap all'avvio
- -----------------------------------------
- #### LA SWAP E' STATA CREATA COSI
- SWAP=/media/usb/swap
- swapoff -a
- fallocate -l 6000M "$SWAP"
- mkswap "$SWAP"
- chmod 0600 "$SWAP"
- swapon "$SWAP"
- echo "$SWAP none swap defaults 0 0" >> /etc/fstab ###montaggio al riavvio
- reboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement