Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] boot from EFI-shell
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Super tux
n00b
n00b


Joined: 11 Oct 2018
Posts: 9

PostPosted: Fri Nov 23, 2018 9:51 am    Post subject: [SOLVED] boot from EFI-shell Reply with quote

When i turn on the chromebook, with Debian installed, as soon as Coreboot Bios is done with loading, the system drops to EFI shell, and the OS will not boot.
This can be solved by following the instructions on this link: https://www.reddit.com/r/linux4noobs/comments/7iwhee/_/

So in the case of Debian:
Code:
 $ sudo bash #enter a root shell
  $ mkdir /boot/efi/EFI/BOOT #make the fallback directory
  $ cp /boot/efi/EFI/ubuntu/* /boot/efi/EFI/BOOT/ #copy our efi assets to the fallback directory
  $ cp /boot/efi/EFI/BOOT/grubx64.efi /boot/efi/EFI/BOOT/bootx64.efi #copy our grub efi to the fallback location

However in the case of Gentoo when following the steps above, and replacing the ubuntu directory with gentoo directory, the system keeps booting into the efi shell, where i have to manually type:
Code:
fs0:\efi\EFI\gentoo\grubx64.efi

where fs0 is the /boot partition.

How do i create a working solutiont so that i don't have to manually type "fs0:\efi\EFI\gentoo\grubx64.efi" to load the system?


Last edited by Super tux on Fri Nov 23, 2018 1:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
Super tux
n00b
n00b


Joined: 11 Oct 2018
Posts: 9

PostPosted: Fri Nov 23, 2018 1:09 pm    Post subject: Reply with quote

Sorry for the fuzz, but i found the solution, it was missing /etc/fstab line, the /boot/efi did not get loaded (i think sorry for being noob)
Code:
/etc/fstab
/dev/mmcblk0p2     /boot/efi          vfat    noauto,noatime   1   2

*dev/mmcblk0p2 is the boot partition
then when /etc/fstab is setup O.K, following the same instructions as on the Debian system to set the bootx64.efi and grubx64.efi files, the system now boots ok.

-edit- i also set coreboot useflag for sys-boot/grub
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum