You are not logged in.

#1 2018-01-17 16:08:24

fettouhi
Member
Registered: 2007-05-07
Posts: 785

[SOLVED] Can't boot Arch Linux after BIOS upgrade

I have an EVGA Z170 motherboard in my Arch Linux machine and I just updated the BIOS on the motherboard and the BIOS can't see my drives anymore. Arch is installed via UEFI mode. The BIOS can see my drives legacy BIOS mode for some reason but not in UEFI. Do I need to do something in my Arch install in order to get it boot again, e.g. rescue disc etc.?

Last edited by fettouhi (2018-01-17 17:35:14)

Offline

#2 2018-01-17 16:16:58

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Can't boot Arch Linux after BIOS upgrade

It's possible that the firmware upgrade (UEFI motherboards don't have a BIOS) deleted all of your nvram entries.

Try booting from the Arch installation media, chrooting into your system, and reinstalling your bootloader.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2018-01-17 16:19:09

fettouhi
Member
Registered: 2007-05-07
Posts: 785

Re: [SOLVED] Can't boot Arch Linux after BIOS upgrade

slithery wrote:

It's possible that the firmware upgrade (UEFI motherboards don't have a BIOS) deleted all of your nvram entries.

Try booting from the Arch installation media, chrooting into your system, and reinstalling your bootloader.

You mean reinstall the uefi partition I originally made and reinstall grub?

Offline

#4 2018-01-17 16:20:37

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] Can't boot Arch Linux after BIOS upgrade

How do you reinstall a partition? Question is nonsense, slithery's advice is very specific.

Offline

#5 2018-01-17 16:59:09

fettouhi
Member
Registered: 2007-05-07
Posts: 785

Re: [SOLVED] Can't boot Arch Linux after BIOS upgrade

OK I made a LiveUSB with and booted into it. I am trying to chroot into installs root with arch-chroot but I get an error about proc not exisiting. Didn't there used be an article in the wiki about chrooting from and rescue enviroment?

Offline

#6 2018-01-17 17:06:59

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] Can't boot Arch Linux after BIOS upgrade

Sounds like you mounted the wrong partition

Offline

#7 2018-01-17 17:17:39

fettouhi
Member
Registered: 2007-05-07
Posts: 785

Re: [SOLVED] Can't boot Arch Linux after BIOS upgrade

Scimmia wrote:

Sounds like you mounted the wrong partition

Yeah, I made a mistake there. I have chrooted into my machines root and I am trying to reinstall grub like I did originally with

grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=grub

but I get this error

grub-install: error: /boot doesn't look like an EFI partition.

Last edited by fettouhi (2018-01-17 17:18:06)

Offline

#8 2018-01-17 17:19:55

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Can't boot Arch Linux after BIOS upgrade

You have to mount all of the relevant partitions before you chroot, not just the root partition.

You probably didn't mount your EFI partition.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#9 2018-01-17 17:22:10

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,721
Website

Re: [SOLVED] Can't boot Arch Linux after BIOS upgrade

Mod note: moving to NC


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#10 2018-01-17 17:37:34

fettouhi
Member
Registered: 2007-05-07
Posts: 785

Re: [SOLVED] Can't boot Arch Linux after BIOS upgrade

slithery wrote:

You have to mount all of the relevant partitions before you chroot, not just the root partition.

You probably didn't mount your EFI partition.

Exactly my mistake from before. I had mount the boot partition in the wrong place. After mounting it correctly I could run grub-install and grub-mkconfig and my machine was to boot again into Arch Linux. Many thanks.

Offline

Board footer

Powered by FluxBB