[gentoo-user] Big drive + UEFI boot questions

2013-04-03 Thread Walter Dnes
  I checked the Gentoo wiki http://en.gentoo-wiki.com/wiki/UEFI about
handling UEFI boot.  I'm still a bit confused.  The way I read it, there
are 2 separate issues...
* UEFI boot
* GPT versus MBR partitions

  Apparently, I get to choose between unmasking ELILO or GRUB2 to do a
UEFI boot.  As near as I can tell...
* A separate EFI partition (FAT32) is required
* The EFI partition needs to be mounted via /etc/fstab

  Is that correct?

-- 
Walter Dnes waltd...@waltdnes.org
I don't run desktop environments; I run useful applications



Re: [gentoo-user] Big drive + UEFI boot questions

2013-04-03 Thread Randolph Maaßen
On Apr 4, 2013 4:27 AM, Walter Dnes waltd...@waltdnes.org wrote:

   I checked the Gentoo wiki http://en.gentoo-wiki.com/wiki/UEFI about
 handling UEFI boot.  I'm still a bit confused.  The way I read it, there
 are 2 separate issues...
 * UEFI boot
 * GPT versus MBR partitions

   Apparently, I get to choose between unmasking ELILO or GRUB2 to do a
 UEFI boot.  As near as I can tell...
 * A separate EFI partition (FAT32) is required
 * The EFI partition needs to be mounted via /etc/fstab

   Is that correct?

 --
 Walter Dnes waltd...@waltdnes.org
 I don't run desktop environments; I run useful applications


For the partition:
Yes and no. You have to create a sepearate efi partition (type: ef; fs:
fat32) but there is no need to keep it mounted while th system is running.

For the boot loader:
I have no experience wit elilo, but grub 2 works well if you like the menu
and autoconfig it provides.
There is a 3. Way loading the kernel: efi_stub. If you compile the
commandline in the kernel and you don't use an initrd enable
CONFIG_EFI_STUB in the kernel and copy the bzimage to your efi partition as
an .efi file and announce the kernel image instead of grub2.

The arch linux wiki page was verry helpfull for me.

Ps: be sure to test your kernel before using efi, there are reports that
the firmware gets brickt in some cases. (It came out on samsung laptops)

HTH
Randolph