编译内核
cd /usr/src/linux
make && make modules_install
make install
find /lib/modules/<kernel version>/ -type f -iname '*.o' -or -iname '*.ko' | less
emerge genkernel
genkernel --install initramfs
安装
emerge --ask sys-kernel/genkernel
genkernel --install initramfs
cd /boot
mv initramfs-genkernel-x86_64-4.4.38-gentoo initramfs-4.4.38-gentoo
/etc/fstab
/dev/sdb6 /boot ext2 noauto,noatime 1 2
/dev/sdb7 none swap sw 0 0
/dev/sdb8 /home ext4 noatime 0 1
/dev/sdb9 / ext4 noatime 0 1
/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
/dev/fd0 /mnt/floppy auto noauto 0 0