linux
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
linux [2017/01/05 06:41] – created felixonmars | linux [2020/05/11 13:15] (current) – 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 31: | Line 37: | ||
/var/lock/* | /var/lock/* | ||
/var/run/* | /var/run/* | ||
- | /var/lib/pacman/* | + | /var/log/*.gz |
+ | /var/log/**/*.gz | ||
/ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
/lost+found | /lost+found | ||
</ | </ | ||
Line 74: | Line 85: | ||
< | < | ||
echo " | echo " | ||
+ | </ | ||
+ | |||
+ | ==== Install Artful Kernel (4.13) on Xenial ==== | ||
+ | < | ||
+ | echo 'deb http:// | ||
+ | echo -e ' | ||
+ | apt-get update | ||
+ | apt-get install -t artful linux-image-generic linux-generic linux-headers-generic linux-libc-dev | ||
</ | </ | ||
Line 80: | Line 99: | ||
* http:// | * http:// | ||
* http:// | * http:// | ||
+ | * https:// |
linux.1483598496.txt.gz · Last modified: 2017/01/05 06:41 by felixonmars