On 12/5/23 11:11, [email protected] wrote:
On 12/5/23 10:16, Cara Salter wrote:
On 12/5/23 12:05, [email protected] wrote:
It has been some time since I installed Gentoo.
After partitioning, and installing the system after reboot I get kernel
selection from grub and hitting enter,
I don't see any text scrolling on the screen, and I don't see the login screen.
I think I install grub in a wrong way.
When I mount "boot" content of /boot:
ls /boot/
EFI
Is your EFI directory /efi or /boot? If it's /efi, then your mountpoint should
be in /boot as is in your /etc/fstab.
When I unmount "boot" content of /boot:
ls /boot/
System.map-6.1.57-gentoo config-6.1.57-gentoo grub vmlinuz-6.1.57-gentoo
The /efi directory was empty
I moved /boot to /boot_backup crated /boot directory again
mount /dev/nvme0n1p1 /boot
run:
grub-install --target=x86_64-efi --efi-directory=/boot
installed kernel by running "make install" by default it install to boot ( I
think).
Change fstab from /eft to /boot:
#/dev/nvme0n1p1 /efi vfat noauto,noatime 1 2
/dev/nvme0n1p1 /boot vfat noauto,noatime 1 2
but now when system boot it can not find any kernel, it just display "grub"
command on the screen
When I boot strap the system I tried to run:
grub-install --target=x86_64-efi --efi-directory=/efi
Installing for x86_64-efi platform.
grub-install: error: /efi doesn't look like an EFI partition.