User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux [2018/01/23 08:13]
linux [2020/05/11 13:15] (current)
Line 6: Line 6:
 chown root:root $SWAPFILE chown root:root $SWAPFILE
 chmod 0600 $SWAPFILE chmod 0600 $SWAPFILE
 +swapon $SWAPFILE
 +=== Add to /etc/fstab to make it persistent ===
 +echo "$SWAPFILE none swap sw 0 0" >> /etc/fstab
 </code> </code>
 ==== Mount Target System For Chroot ==== ==== Mount Target System For Chroot ====
 <code> <code>
 mount /dev/sdxn $TARGET mount /dev/sdxn $TARGET
 mount -t proc proc $TARGET/proc mount -t proc proc $TARGET/proc
Line 31: Line 37:
 /var/lock/* /var/lock/*
 /var/run/* /var/run/*
 /var/cache/pacman/pkg/* /var/cache/pacman/pkg/*
 /lost+found /lost+found
 </code> </code>
linux.1516695208.txt.gz · Last modified: 2018/01/23 08:13 by felixonmars