linux
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
linux [2017/01/21 10:26] – 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/ | ||
Line 76: | Line 82: | ||
</ | </ | ||
- | === Install | + | ==== Install |
< | < | ||
- | echo 'deb http:// | + | echo 'deb http:// |
- | echo -e ' | + | echo -e ' |
apt-get update | apt-get update | ||
- | apt-get install -t zesty linux-image-generic linux-generic linux-headers-generic linux-libc-dev | + | apt-get install -t artful |
</ | </ | ||
linux.txt · Last modified: 2020/05/11 13:15 by felixonmars