728x90
Selecting a boot loader
나는 GRUB2를 사용할 것이다.
Default: GRUB2
Emerge
먼저 grub을 설치한다.
(chroot) root # echo 'GRUB_PLATFORMS="efi-64"' >> /etc/portage/make.conf
(chroot) root # emerge --ask sys-boot/grub
Install
- grub-install: 필수 GRUB2 파일을 /boot/grub 디렉토리에 설치한다.
(chroot) root # grub-install --target=x86_64-efi --efi-directory=/boot
Configure
- grub-mkconfig: GRUB2 configuration을 생성한다.
(chroot) root #grub-mkconfig -o /boot/grub/grub.cfg
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-4.9.16-gentoo
Found initrd image: /boot/initramfs-genkernel-amd64-4.9.16-gentoo
done
Rebooting the system
(chroot) root # exit
root ~# cd
root ~# umount -l /mnt/gentoo/dev{/shm,/pts,}
root ~# umount -R /mnt/gentoo
root ~# reboot
728x90
'💻 Study > Linux 리눅스' 카테고리의 다른 글
[Gentoo] Gentoo Handbook: Installation (9) Finalizing (0) | 2022.07.12 |
---|---|
[Gentoo] Gentoo Handbook: Installation (7) Installing tools (0) | 2022.07.12 |
[Gentoo] Gentoo Handbook: Installation (6) Configuring the system (0) | 2022.06.29 |
[Gentoo] Gentoo Handbook: Installation (5) Configuring the Linux kernel (0) | 2022.06.24 |
[Gentoo] Gentoo Handbook: Installation (4) Installing base system (0) | 2022.05.18 |