aboutsummaryrefslogtreecommitdiff
path: root/content/docs/gentoo
diff options
context:
space:
mode:
authorJulien Dessaux2021-06-02 15:12:05 +0200
committerJulien Dessaux2021-06-02 15:12:05 +0200
commit31eb4974836cc5829b70cffeb8371c122cc8f722 (patch)
tree220b34dea23c31fd7e6ecebe7ebb2b912e09650b /content/docs/gentoo
parentFormatting (diff)
downloadwww-31eb4974836cc5829b70cffeb8371c122cc8f722.tar.gz
www-31eb4974836cc5829b70cffeb8371c122cc8f722.tar.bz2
www-31eb4974836cc5829b70cffeb8371c122cc8f722.zip
Updated gentoo installation notes
Diffstat (limited to '')
-rw-r--r--content/docs/gentoo/installation.md13
1 files changed, 9 insertions, 4 deletions
diff --git a/content/docs/gentoo/installation.md b/content/docs/gentoo/installation.md
index 5f0b06f..91c372e 100644
--- a/content/docs/gentoo/installation.md
+++ b/content/docs/gentoo/installation.md
@@ -76,7 +76,7 @@ We prepare the local language of the system :
{{< highlight sh >}}
env-update && source /etc/profile
echo 'LANG="en_US.utf8"' > /etc/env.d/02locale
-sed '/#en_US.UTF-8/s/#//' -i /etc/locale.gen
+echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen
locale-gen
source /etc/profile
{{< /highlight >}}
@@ -128,7 +128,8 @@ emerge --quiet -e @world
emerge --quiet dosfstools app-admin/logrotate app-admin/syslog-ng app-portage/gentoolkit \
dev-vcs/git bird openvpn htop net-analyzer/tcpdump net-misc/bridge-utils \
sys-apps/i2c-tools sys-apps/pciutils sys-apps/usbutils sys-boot/grub sys-fs/ncdu \
- sys-process/lsof
+ sys-process/lsof net-vpn/wireguard-tools
+emerge --unmerge nano -q
{{< /highlight >}}
## Grab a working kernel
@@ -175,8 +176,12 @@ rc-update add net.eth0 boot
### Grub
TODO especially the conf in /etc/default/grub when using an encrypted /
-{{< highlight sh >}}
-{{< /highlight >}}
+
+In the case of UEFI use something like :
+```sh
+grub-install --efi-directory=/boot/ /dev/nvme1n1
+grub-mkconfig -o /boot/grub/grub.cfg
+```
### /etc/hosts