You are not logged in.

#1 2016-10-08 21:05:40

Storm
Member
From: Hungary
Registered: 2014-09-12
Posts: 147

[SOLVED] System fails to boot after bios reset

Sorry I'm from my phone, typing is hard.

While trying to convert to dual boot I changed in my EFI/BIOS setup the "PCI ROM priority" from "Legacy ROM" to "UEFI". This resulted in my PC failing to boot or even load setup... Turned it on and nothing, just black screen.

To fix this I unplugged the PC and took out the motherboard battery for a few minutes. Sure enough setup was back to default and worked. I'm sure it was mostly default before too.

BUT... Ever since my previously working Arch fails to load the bootloader. All I get is "insert boot media and restart".


Any idea WTF might be the problem? I don't have an Arch USB stick until tomorrow so can't do anything now... I'm screwed.

Last edited by Storm (2016-10-09 12:51:00)


"Sic itur ad astra per aspera."

Offline

#2 2016-10-08 21:10:16

Storm
Member
From: Hungary
Registered: 2014-09-12
Posts: 147

Re: [SOLVED] System fails to boot after bios reset

A screenshot of my setup boot tab: https://goo.gl/photos/Em1Nk7EPfHdp7C98A


"Sic itur ad astra per aspera."

Offline

#3 2016-10-08 21:14:49

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] System fails to boot after bios reset

I would guess that removing the battery wiped the NVRAM entry. You can readd it from the live medium.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2016-10-09 08:38:30

Storm
Member
From: Hungary
Registered: 2014-09-12
Posts: 147

Re: [SOLVED] System fails to boot after bios reset

jasonwryan wrote:

I would guess that removing the battery wiped the NVRAM entry. You can readd it from the live medium.

NVRAM entry? I'm afraid I'm missing out on this information and Google didn't help much. Do you mean some UEFI boot info was stored on the motherboard instead of the UEFI boot partition I created on my SSD drive?

And how do I re-add it? Will repeating the UEFI boot related section of the install guide do it?

I'm on my way to get a new pendrive and burn the install ISO from my roomie's windows machine.


"Sic itur ad astra per aspera."

Offline

#5 2016-10-09 08:47:29

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: [SOLVED] System fails to boot after bios reset

Boot the install imageand run bootctl install/grub-install/whatever again.
Edit: or boot using the uefi shell and then do it.

Last edited by Mr.Elendig (2016-10-09 08:47:57)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#6 2016-10-09 12:18:11

Storm
Member
From: Hungary
Registered: 2014-09-12
Posts: 147

Re: [SOLVED] System fails to boot after bios reset

OK my new install media pendrive works so I reinstalled the boot manager (systemd-boot) and it now starts, but then fails with "Unable to find root device".

My original EFI config was intact, and there root was specified as dev/sda2. I tried changing that to PARTUUID but it still can't find it.

In the recovery shell I navigated to /dev/ and neither sda, sda1 and sad2, nor disk/ (where /by-partuuid/ should be) does exist.


"Sic itur ad astra per aspera."

Offline

#7 2016-10-09 12:50:40

Storm
Member
From: Hungary
Registered: 2014-09-12
Posts: 147

Re: [SOLVED] System fails to boot after bios reset

Never mind I figured!

Searching for the problem led me to a thread where someone mentioned it was caused by a faulty setting in his mkinitcpio.conf - this gave me the idea of re-running "mkinitcpio -p linux" which I didn't do after reinstalling the boot manager, and that fixed it!

The beauty of Linux:
Fixing the problem: 5 minutes.
Finding out what the hell the problem is: 5 hours.

XD


"Sic itur ad astra per aspera."

Offline

Board footer

Powered by FluxBB