On Fri, 27 Feb 2015 06:57:28 +0200
Matti Nykyri <matti.nyk...@iki.fi> wrote:

> > On Feb 27, 2015, at 5:02, German <gentger...@gmail.com> wrote:
> > 
> > Hi people. I am about to try today an EFI gentoo install with sysrecuecd. 
> > It is all more or less clear to me in the install docs, however I am not 
> > sure how to gather info about my hardware, which modules should be compiled 
> > when installing kernel manually. Is there a way to gather this info? What 
> > command should be issued to accomplish that? Also, I am sort of reluctant 
> > to compile kernel manually. Is this possible to use genkernel to install 
> > system in EFI mode or I must to use manual compilation? Thank you for your 
> > advice and suggestions.
> 
> Just did my first EFI install this week... So not a virgin anymore ;) I had 
> an old system so I attached the new drive to that for partitioning and 
> install.
> 
> You use gpt with uefi. You need to reserve one partition for UEFI. Set the 
> type to EF00 and boot flag enabled (parted or gdisk can do this). Format to 
> fat32.
> 
> Make a partition for gentoo and format it. Untar stage3 and portage snapshot 
> to it (snapshot is faster than rsync). Chroot. Emerge portage and grub. I 
> copied kernel from my old system to /boot. If you don't have this build a new 
> one. Run grub2-mkconfig -o /boot/grub/grub.cfg (mkdir if it doesn't exists. 
> (http://wiki.gentoo.org/wiki/GRUB2)
> 
> Install grub:
> grub2-install --target=x86_64-uefi /to/your/partition

Are you sure that grub is needed for EFI system? I doubt it. I used efibootmgr 
as per gentoo handbook. And it was also said that it is possible to boot EFI 
system without anything at all ( e.g. grub, efibootmgr)

> 
> Then copy /boot/efi/EFI/gentoo/grubx64.efi to /boot/efi/EFI/BOOT/BOOTX64.EFI
> 
> Many asus mb's have bug in efi and require BOOTX64.EFI to be lower case = 
> bootx64.efi so rename it as necessary. My mb had that bug and a rename was 
> needed even though fat should be case insensitive.
> 
> After this you can boot your new system and continue with the install :)
> 
> Further reading:
> https://help.ubuntu.com/community/UEFIBooting
> 
> -- 
> -Matti


-- 
German <gentger...@gmail.com>

Reply via email to