You are not logged in.

#1 2012-03-09 13:58:04

broken pipe
Member
Registered: 2010-12-10
Posts: 238

Thinkpad E520 GPT SSD UEFI, unable to install grub2, efibootmgr

Hi all,
i installed arch on my thinkpad E520 (ssd + gpt) using tpowa's unofficial iso. the laptop supports uefi booting and efivars loads fine.
before installing the boot loader i quit and mounted proc, sys and dev to chroot into the installation.
within the chroot i tried to setup grub_efi and efibootmgr but both failed because they couldn't read /proc and /sys. an option was to modprobe efivars, but without any dirty hack it's impossible to load the module because of the different kernel versions ("host" and "guest" system). i renamed the kernel versions by hand and loaded the module. lsmod also shows the module.


any ideas?

Last edited by broken pipe (2012-03-10 07:46:27)

Offline

#2 2012-03-10 03:22:55

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

Re: Thinkpad E520 GPT SSD UEFI, unable to install grub2, efibootmgr

modprobe it before you chroot.

Read the wiki page on installing grub2. (But I find it more difficult to follow now than earlier versions.)


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

#3 2012-03-10 07:38:05

broken pipe
Member
Registered: 2010-12-10
Posts: 238

Re: Thinkpad E520 GPT SSD UEFI, unable to install grub2, efibootmgr

sry, forgot to mention, i modprobed efivars and dm-mod before and after the chroot. before chrooting it works, within the the chroot not.

Offline

Board footer

Powered by FluxBB