Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| gentoo:installation [2025/03/13 14:49] – [The fast&quick Gentoo Installation checklist] willy | gentoo:installation [2026/02/25 08:26] (current) – willy | ||
|---|---|---|---|
| Line 83: | Line 83: | ||
| </ | </ | ||
| - | And select your preferred profile. I would choose a plain basic profile like **default/ | + | And select your preferred profile. I would choose a plain basic profile like **default/ |
| <code bash> | <code bash> | ||
| eselect profile list | eselect profile list | ||
| Line 101: | Line 101: | ||
| And it's time to install some basic stuff (pick your own! there are also many choices): | And it's time to install some basic stuff (pick your own! there are also many choices): | ||
| <code bash> | <code bash> | ||
| - | > emerge -vp genkernel gentoo-sources | + | > emerge -vp pciutils usbutils mdadm vim tmux cronie |
| </ | </ | ||
| Research each one and pick yours. | Research each one and pick yours. | ||
| - | Now it's time to build the kernel: | + | Setup boot loader (assuming grub2 here): |
| <code bash> | <code bash> | ||
| + | grub-install --target=x86_64-efi --efi-directory=/ | ||
| + | </ | ||
| + | |||
| + | Now it's time to build the kernel, here you have two choices, either go with a fully source kernel or use the gentoo-kernel-bin package to reduce compile time. | ||
| + | |||
| + | To go the source way emerge **genkernel** and the latest gentoo sources, then run genkernel: | ||
| + | <code bash> | ||
| + | emerge -vp genkernel gentoo-sources | ||
| eselect kernel set 1 | eselect kernel set 1 | ||
| genkernel --mountboot --install all | genkernel --mountboot --install all | ||
| + | grub-mkconfig -o / | ||
| </ | </ | ||
| + | |||
| + | For the binary kernel instead: | ||
| + | <code bash> | ||
| + | echo " | ||
| + | emerge gentoo-kernel-bin | ||
| + | </ | ||
| + | |||
| + | When using the binary kernel, you don't need to run grub-mkconfig. | ||
| + | |||
| Then create a user and set root password: | Then create a user and set root password: | ||
| Line 124: | Line 142: | ||
| ln -s / | ln -s / | ||
| rc-update add net.xxx default | rc-update add net.xxx default | ||
| - | </ | ||
| - | |||
| - | Last, setup boot loader (Grub2 here): | ||
| - | <code bash> | ||
| - | grub-install --target=x86_64-efi --efi-directory=/ | ||
| </ | </ | ||