Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SOLVED - Problems installing Grub2
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
micaldas
n00b
n00b


Joined: 12 Mar 2018
Posts: 37

PostPosted: Fri Apr 13, 2018 11:54 pm    Post subject: SOLVED - Problems installing Grub2 Reply with quote

Hi,

I'm installing Gentoo for amd64, no multilib, in a Virtual Box vm.
I am using a UEFI enabled computer and defined my partitions accordingly. I configured the kernel via genkernel, and I ensured that GRUB_PLATFORMS="efi-64" was enabled and then emerged grub.

But, when I go to install it, it tells me that EFI variables are not supported on this system.
What might be causing this?

My partition table is this:

Code:
Number   Start   End      Size   File System   Name   Flags
1      1049KB   3146KB   2097KB            grub   bios_grub
2      3146KB   137MB   134MB   fat32      boot   boot, esp
3      137MB   674MB   537MB   linux-swap(v1) swap
4      674MB   21,9GB   21,2GB   ext4      primary

Thanks in advance for all the help

[Moderator edit: added [code] tags to preserve output layout. -Hu]


Last edited by micaldas on Sat Apr 14, 2018 12:50 am; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13864

PostPosted: Sat Apr 14, 2018 12:40 am    Post subject: Reply with quote

EFI variables are only available if you booted an EFI-aware kernel through the EFI boot path. Did you configure your VM to boot through emulated UEFI rather than emulated BIOS?
Back to top
View user's profile Send private message
micaldas
n00b
n00b


Joined: 12 Mar 2018
Posts: 37

PostPosted: Sat Apr 14, 2018 12:50 am    Post subject: Reply with quote

Thank you Hu, that was my error. I didn't even knew that I could define boot type in Virtual Box.
I think I'll just have to start again.

Thanks!
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