From: Matti Nykyri <matti.nykyri@iki.fi>
To: "gentoo-user@lists.gentoo.org" <gentoo-user@lists.gentoo.org>
Subject: Re: [gentoo-user] About to attempt EFI install, which modules to compile?
Date: Fri, 27 Feb 2015 06:57:28 +0200 [thread overview]
Message-ID: <116D7CF7-CF72-4706-9EE4-FF27AB355621@iki.fi> (raw)
In-Reply-To: <20150226220236.86380f90bf91cdce3e769179@gmail.com>
> On Feb 27, 2015, at 5:02, German <gentgerman@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
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
next prev parent reply other threads:[~2015-02-27 4:58 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-27 3:02 [gentoo-user] About to attempt EFI install, which modules to compile? German
2015-02-27 3:33 ` Dale
2015-02-27 3:54 ` German
2015-02-27 4:57 ` Matti Nykyri [this message]
2015-02-27 6:09 ` Matti Nykyri
2015-02-27 6:30 ` Mick
2015-02-27 11:23 ` Alec Ten Harmsel
2015-02-28 10:56 ` Matti Nykyri
2015-02-27 11:42 ` German
2015-02-27 12:08 ` Neil Bothwick
2015-02-27 19:35 ` Mick
2015-02-27 9:06 ` Neil Bothwick
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=116D7CF7-CF72-4706-9EE4-FF27AB355621@iki.fi \
--to=matti.nykyri@iki.fi \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox