From: Tom H <tomh0665@gmail.com>
To: Gentoo User <gentoo-user@lists.gentoo.org>
Subject: Re: [gentoo-user] New PC, new boot concepts
Date: Sat, 20 Dec 2014 11:52:05 -0500 [thread overview]
Message-ID: <CAOdo=Sz2pp11wazwBjnZUW1=xNfLK4kiihoPiAMCcvT3FZ_T0Q@mail.gmail.com> (raw)
In-Reply-To: <201412191522.14063.michaelkintzios@gmail.com>
On Fri, Dec 19, 2014 at 10:22 AM, Mick <michaelkintzios@gmail.com> wrote:
>
> Old dogs and new tricks springs to mind. I am building a new PC and what with
> UEFI, APUs and SSDs, it feels like that the world has moved a long way since
> the last time I had to install gentoo.
>
> I'll be taking my time to google, read and make appropriate selections, so
> please bear with me while I start relevant threads as necessary to complement
> my sparse knowledge in these topics. Starting from the top, with this thread
> I am trying to find out what is considered good practice as far as UEFI/MBR
> and boot management goes.
>
> The MoBo is capable of booting in CMS mode, but I am not sure if there are any
> benefits in creating a 2MB partition for a conventional MBR bootloader, or I
> should forego MBR altogether and go directly with a GPT FAT32 EFI System
> Partition (ESP).
>
> If the latter is the way to go and I forget all things I ever learned about
> MBR, does the 550MB FAT32 ESP partition have to be at the beginning of the
> drive?
>
> Is it beneficial to install a Linux boot loader/manager like GRUB2, or rEFInd,
> etc., or should I just use the kernel EFI Boot Stub to boot gentoo with? The
> PC will single boot in Gentoo, although I may drop in a sysrescuecd image for
> recovery purposes and would be nice to be able to boot this straight off the
> disk, without having to burn it on a CDROM. Is it simply a matter of adding
> the LiveCD iso in the ESP with a .efi suffix, or will I need to use efibootmgr
> to inform the UEFI about *any* kernel images in the ESP other than the default
> EFI/BOOT/bootx64.efi?
For refind and gummiboot, you have to enable the efi boot stub because
they're boot managers, rather than boot loaders like grub.
If you want to use the efi boot stub, whether directly or via
gummiboot or refind, you have to have the kernel (and initramfs if it
exists) on a fat partition. Unlike with bios firmware, you can have
them all co-exist.
AFAIK only grub can boot from an iso file. You have to have a
"loopback loop path_to_iso_file" line (which I think of as a "mount -o
loop ...") in that iso's menuentry stanza. And its "linux ..." line
will be dependent on the iso from which you're booting. The
systemrescue iso needs either "findiso=..." or "isoloop=...", I've
forgotten.
prev parent reply other threads:[~2014-12-20 16:52 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-19 15:22 [gentoo-user] New PC, new boot concepts Mick
2014-12-19 15:46 ` Todd Goodman
2014-12-19 16:12 ` Mick
2014-12-19 17:33 ` Todd Goodman
2014-12-20 16:56 ` Tom H
2014-12-20 19:40 ` behrouz khosravi
2014-12-21 11:38 ` J. Roeleveld
2014-12-21 14:28 ` behrouz khosravi
2014-12-21 14:45 ` J. Roeleveld
2014-12-20 0:01 ` Neil Bothwick
2014-12-20 2:03 ` Sid S
2014-12-20 3:30 ` Rich Freeman
2014-12-20 8:52 ` Neil Bothwick
2014-12-20 16:34 ` Daniel Frey
2014-12-20 16:52 ` Tom H [this message]
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='CAOdo=Sz2pp11wazwBjnZUW1=xNfLK4kiihoPiAMCcvT3FZ_T0Q@mail.gmail.com' \
--to=tomh0665@gmail.com \
--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