diff options
Diffstat (limited to '_posts/2016-10-03-install-funtoo.md')
-rw-r--r-- | _posts/2016-10-03-install-funtoo.md | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/_posts/2016-10-03-install-funtoo.md b/_posts/2016-10-03-install-funtoo.md index 6526093..66dd146 100644 --- a/_posts/2016-10-03-install-funtoo.md +++ b/_posts/2016-10-03-install-funtoo.md @@ -84,7 +84,7 @@ The size of your storage device should be at least 35GB to be safe and have some space for personal data. The partitioning layout this guide is aiming for is the following: -{% highlight plain %} +``` DEVICE FILESYSTEM SIZE MOUNTPOINT sda sda1 fat32 2GB /boot @@ -96,7 +96,7 @@ sda funtoo0-swap swap funtoo0-packages xfs 10GB /var/packages funtoo0-distfiles xfs 10GB /var/distfiles -{% endhighlight %} +``` If you already an advanced user, you are of course free to diverge from the guide here. @@ -316,7 +316,7 @@ Once you know the UUID, open up `/etc/fstab` with whatever editor you feel comfortable with and make it look like the following block of text. Do not forget to update the UUIDs! -{% highlight plain %} +``` # boot device /dev/sda1 /boot vfat noauto,noatime 1 2 @@ -335,7 +335,7 @@ tmpfs /tmp tmpfs defaults 0 0 # binds /tmp /var/tmp none rbind 0 0 -{% endhighlight %} +``` ##### /etc/localtime The localtime comes next. This is to make sure your time is set correctly. An @@ -559,29 +559,29 @@ you. As the guide uses LVM and LUKS, you will need to have support for these things in your kernel. You will need to enable the following options at the very least: -{% highlight plain %} +``` General setup ---> [*] Initial RAM filesystem and RAM disk (initramfs/initrd) support -{% endhighlight %} +``` -{% highlight plain %} +``` Device Drivers ---> Generic Driver Options ---> [*] Maintain a devtmpfs filesystem to mount at /dev -{% endhighlight %} +``` -{% highlight plain %} +``` Device Drivers ---> [*] Multiple devices driver support ---> <*>Device Mapper Support <*> Crypt target support -{% endhighlight %} +``` -{% highlight plain %} +``` Cryptographic API ---> <*> XTS support -*-AES cipher algorithms -{% endhighlight %} +``` #### Setup ZFS The kernel is now installed at `/boot`, and all the required parts to build @@ -619,7 +619,7 @@ and `lvm`. Open up `/etc/boot.conf` in your favourite editor and let the file display something like this: -{% highlight plain %} +``` boot { generate grub default "Funtoo GNU+Linux" @@ -631,7 +631,7 @@ boot { initrd initramfs[-v] params += crypt_root=/dev/sda2 real_root=/dev/mapper/funtoo0-root rootfstype=xfs dolvm } -{% endhighlight %} +``` Now that `boot-update` is configured, install `grub` as an UEFI bootloader and generate the configs for it using `boot-update`. You should make sure the |