You are not logged in.

#1 2019-07-05 22:02:13

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,306

[SOLVED] Killed my boot with memtest86-efi

Dunno how to fix this, and google-fu is not working.

I had (or probably have) an issue, separate thing, which suggested a memtest. I'm pleased to say, no problems. However, I installed memtest86-efi, and now that's all that will boot. No grub menu to change it, and nothing in grub.cfg that I can see to override. I don't think it's even getting there.

I went through the installation and installed as an EFI program, which is what I probably did wrong (lesson learned) - but how do I get back to my usual boot. Removing memtest86-efi doesn't work. Do I really need to reinstall my bootloader from scratch?

Fortunately, I have Arch installed as a portable install on a USB drive (which is how I'm posting), and can chroot into the installation, so just need a quick and easy answer.

Thanks in advance.

Last edited by Roken (2019-07-06 00:09:40)


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

/ is the root of all problems.

Offline

#2 2019-07-05 22:21:01

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,368

Re: [SOLVED] Killed my boot with memtest86-efi

sounds like you changed the efi bootvars, try efi boot manager


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2019-07-05 23:06:54

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,306

Re: [SOLVED] Killed my boot with memtest86-efi

It looks like it should be the answer, except:

EFI variables are not supported on this system.

This may be problem because the portable install is booting from any system, and not just from UEFI systems. I'm limited on options with this, since I don;t want to change the portable system (I need it to boot from anything that supports USB boot, whether it's EFI or not).

The error is produced from a chroot into what is very much EFI.


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

/ is the root of all problems.

Offline

#4 2019-07-05 23:54:48

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,334
Website

Re: [SOLVED] Killed my boot with memtest86-efi

Roken wrote:

The error is produced from a chroot into what is very much EFI.

No, you chroot into the other root, not another firmware/bootloader.

Boot an iso image in uefi mode.  Or, if all you really did was install the memtest as advised in the wiki by copying it to your efi partition, just mount the efi partition again and remove it.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2019-07-06 00:05:33

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,306

Re: [SOLVED] Killed my boot with memtest86-efi

Trilby wrote:

Or, if all you really did was install the memtest as advised in the wiki by copying it to your efi partition, just mount the efi partition again and remove it.

I want to swear out loud so much right now. So simple. Thank you. Chroot, mount /boot, and delete. Job done.

Thank you so much.


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

/ is the root of all problems.

Offline

Board footer

Powered by FluxBB