[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 6/6] gnu: Add grub-efi.
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH 6/6] gnu: Add grub-efi. |
Date: |
Wed, 21 Dec 2016 10:12:07 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Marius Bakke <address@hidden> skribis:
> Ludovic Courtès <address@hidden> writes:
[...]
>>>> I’m failing at installing GuixSD on a new laptop I have here.
>>>> ‘efibootmgr’ exits with code 2 and this message:
>>>>
>>>> EFI variables are not supported on this system.
>>>>
>>>> (which ‘grub-install’ happily ignores.)
>>>>
>>>> This is because /sys/firmware/efi is missing, which apparently is
>>>> because I booted off the GuixSD USB image (“legacy”) and not in EFI
>>>> mode.
>>>>
>>>> What would you suggest? :-)
>>>
>>> What I did was a normal BIOS install, backup the grub.cfg, switch laptop
>>> to UEFI (only) and boot a Debian live CD. From there "apt-get install
>>> grub-efi; grub-install /dev/sda" and afterwards copy grub.cfg in place.
>>>
>>> You may want to add "insmod efi_gop" and "insmod efi_uga" to grub.cfg,
>>> otherwise you won't get a framebuffer until the proper video driver is
>>> loaded (which may require unlocking root partition etc).
>>
>> Wait, all I need is /sys/firmware/efi in the install image. Is it
>> impossible?
>
> Perhaps you can trick Linux into creating it without booting UEFI mode.
> Not sure if grub/efibootmgr actually need to read or write there.
‘efivar’ (used by ‘efibootmgr’) uses it, and otherwise bails out with
the error message shown above.
Thanks,
Ludo’.
- Re: [PATCH 6/6] gnu: Add grub-efi., (continued)
- Re: [PATCH 6/6] gnu: Add grub-efi., Ludovic Courtès, 2016/12/18
- Re: [PATCH 6/6] gnu: Add grub-efi., Marius Bakke, 2016/12/18
- Re: [PATCH 6/6] gnu: Add grub-efi., Ludovic Courtès, 2016/12/19
- Re: [PATCH 6/6] gnu: Add grub-efi., Marius Bakke, 2016/12/19
- Re: [PATCH 6/6] gnu: Add grub-efi., Ludovic Courtès, 2016/12/19
- Re: [PATCH 6/6] gnu: Add grub-efi., Marius Bakke, 2016/12/19
- Re: [PATCH 6/6] gnu: Add grub-efi., Ludovic Courtès, 2016/12/20
- Re: [PATCH 6/6] gnu: Add grub-efi., Marius Bakke, 2016/12/20
- Re: [PATCH 6/6] gnu: Add grub-efi., Ludovic Courtès, 2016/12/20
- Re: [PATCH 6/6] gnu: Add grub-efi., Marius Bakke, 2016/12/20
- Re: [PATCH 6/6] gnu: Add grub-efi.,
Ludovic Courtès <=
- Re: [PATCH 6/6] gnu: Add grub-efi., Danny Milosavljevic, 2016/12/21
Re: [PATCH 6/6] gnu: Add grub-efi., Marius Bakke, 2016/12/17