User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
gentoo:installation [2025/03/13 14:49] – [The fast&quick Gentoo Installation checklist] willygentoo:installation [2026/02/25 08:26] (current) willy
Line 83: Line 83:
 </code> </code>
  
-And select your preferred profile. I would choose a plain basic profile like **default/linux/amd64/17.1** or a **selinux/hardened** one if you feel adventurous:+And select your preferred profile. I would choose a plain basic profile like **default/linux/amd64/23.0** or a **selinux/hardened** one if you feel adventurous:
 <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 pciutils usbutils mdadm vim tmux cronie  syslog-ng bash-completion chrony dosfstools  io-scheduler-udev-rules intel-microcode + > emerge -vp pciutils usbutils mdadm vim tmux cronie  syslog-ng bash-completion chrony dosfstools  io-scheduler-udev-rules intel-microcode 
 </code> </code>
 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=/boot
 +</code>
 +
 +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 /boot/grub/grub.conf
 </code> </code>
 +
 +For the binary kernel instead:
 +<code bash>
 +echo "sys-kernel/installkernel dracut grub" >> /etc/portage/package.use/kernel
 +emerge gentoo-kernel-bin
 +</code>
 +
 +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 /et/init.d/net.lo /etc/init.d/net.xxx ln -s /et/init.d/net.lo /etc/init.d/net.xxx
 rc-update add net.xxx default rc-update add net.xxx default
-</code> 
- 
-Last, setup boot loader (Grub2 here): 
-<code bash> 
-grub-install --target=x86_64-efi --efi-directory=/boot 
 </code> </code>