linux
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
linux [2018/01/23 08:13] – felixonmars | linux [2018/10/19 18:32] – felixonmars | ||
---|---|---|---|
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 " | ||
</ | </ | ||
==== Mount Target System For Chroot ==== | ==== Mount Target System For Chroot ==== | ||
< | < | ||
- | TARGET=/target | + | TARGET=/mnt |
mount /dev/sdxn $TARGET | mount /dev/sdxn $TARGET | ||
mount -t proc proc $TARGET/ | mount -t proc proc $TARGET/ |
linux.txt · Last modified: 2020/05/11 13:15 by felixonmars