Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Help with uefi
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
diddydom
n00b
n00b


Joined: 20 Jul 2019
Posts: 8

PostPosted: Fri Jul 26, 2019 10:28 am    Post subject: Help with uefi Reply with quote

So I followed this guys guide https://www.youtube.com/watch?v=13HUQ0LHI7g and set it up for bios instead of uefi.

Then I got to the bootloader where you install grub and I need an efi thing.

Do any of you know the commands I need to run to make the grub work in uefi or do I have to start all over?
Back to top
View user's profile Send private message
klok
n00b
n00b


Joined: 23 Jul 2019
Posts: 7

PostPosted: Fri Jul 26, 2019 11:08 am    Post subject: Reply with quote

Hey diddydom, I'm quite new to Gentoo.
If you feel confortable following my advice, go on...

If your PC is a standard x86_64 machine (amd64) I think you can go with:
Code:
# nano /etc/portage/make.conf
[...]
GRUB_PLATFORMS="efi-64"
[...]

https://wiki.gentoo.org/wiki/GRUB2#Prerequisites

Check out your /boot partition if needed!! ---> https://wiki.gentoo.org/wiki/GRUB2_Quick_Start#Activating_the_GRUB2_boot_loader

Then:
Code:
# emerge --ask --newuse --deep sys-boot/grub:2 sys-boot/os-prober
### sys-boot/os-prober is optional if you want it to search and scan for other OSes


And install with:
Code:
# grub-install --target=x86_64-efi --efi-directory=/your/ESP/folder


Update GRUB configuration:
Code:
# grub-mkconfig -o /boot/grub/grub.cfg



Should be enough!
_________________
- Am I here or is my guitar (over) there?
- Thou should be wherever your guitar needs!
Back to top
View user's profile Send private message
diddydom
n00b
n00b


Joined: 20 Jul 2019
Posts: 8

PostPosted: Fri Jul 26, 2019 12:26 pm    Post subject: Reply with quote

klok wrote:
Hey diddydom, I'm quite new to Gentoo.
If you feel confortable following my advice, go on...

If your PC is a standard x86_64 machine (amd64) I think you can go with:
Code:
# nano /etc/portage/make.conf
[...]
GRUB_PLATFORMS="efi-64"
[...]

https://wiki.gentoo.org/wiki/GRUB2#Prerequisites

Check out your /boot partition if needed!! ---> https://wiki.gentoo.org/wiki/GRUB2_Quick_Start#Activating_the_GRUB2_boot_loader

Then:
Code:
# emerge --ask --newuse --deep sys-boot/grub:2 sys-boot/os-prober
### sys-boot/os-prober is optional if you want it to search and scan for other OSes


And install with:
Code:
# grub-install --target=x86_64-efi --efi-directory=/your/ESP/folder


Update GRUB configuration:
Code:
# grub-mkconfig -o /boot/grub/grub.cfg



Should be enough!


Okay, I'll try this when I get home and report back. Thank you!
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