You are not logged in.

#1 2012-01-12 18:09:06

ridcully
Member
Registered: 2009-03-28
Posts: 52

Questions about EFI

Hi,

I want to boot my ArchLinux installation via EFI. The installation is a 'fresh' and new and thus I have no boot manager at all since setting up my machine for booting EFI via Grub 2 failed. Right now, I'm working via the install CD. I'm stuck at this  step where I have to create an Grub 2 entry for the EFI firmware. The

modprobe efivars

fails at the 'chrooted' environment. It fails to find the file 'modules.dep' or something similar since it searches for a linux kernel version 3.0, but the kernel version in the chrooted environment is 3.1.x. If I execute the modprobe outside a chrooted environment. I get no

/sys/firmware/efi/vars/

directory. What I'm missing? I appreciate any help!

Thanks in advance,
Michael

Offline

#2 2012-01-12 19:38:40

Kodama
Member
Registered: 2009-11-02
Posts: 53

Re: Questions about EFI

hi, maybe you want to read into some of these forum posts concerning grub2 and booting into pure uefi?

https://bbs.archlinux.org/viewtopic.php?id=130747

https://bbs.archlinux.org/viewtopic.php … 04#p990704

https://bbs.archlinux.org/viewtopic.php … 0#p1013180

I can't get Arch to boot into pure uefi with grub2 on my ASUS P8P67 at the moment because ASUS has a special way to place the uefi files...look here;

https://bbs.archlinux.org/viewtopic.php?id=133074

there are a couple more forum posts about grub2 and uefi just search for it...

Greets
Andreas

Offline

#3 2012-01-12 22:43:22

ridcully
Member
Registered: 2009-03-28
Posts: 52

Re: Questions about EFI

Hi,

that's very nice, but I'm not using ArchBoot. As far as I understood it should work with the standard netinstall CD. My issue relates to a non-existent modules.dep for a non-existent kernel. So, the kernel in my installed system points to the current kernel used in ArchLinux while the kernel which is requested points to the kernel used on the netinstall CD. Outside the chroot environment the corresponding /proc directories for the efi module are not created and I'm wondering why (so maybe the CD is not usable at all for UEFI (the wiki reads like this is not an issue ('cancel boot loader installation and so on ...')?

Thanks in advance!
Michael

Offline

#4 2012-01-17 02:06:49

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,152

Re: Questions about EFI

You can install with the standard installation media but you need to boot in UEFI mode at this point and you cannot do that with the standard install. You need to create another live system which will boot in EFI mode in order to complete the install. I used an ubuntu live usb stick but archboot would also work.

You then do the modprobe outside the chrooted environment. You'll only get the efi variables appearing if you are booted in UEFI mode. That's why you need the second live media to do it this way. You don't need to install anything from the second live media - that's why it doesn't matter if it is archboot or ubuntu or whatever. Anything which will boot in EFI mode will do.

To make certain, I set an option in bios mode to only allow EFI booting so that I could not inadvertently confuse things by booting in legacy mode and not finding the variables.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

Board footer

Powered by FluxBB