You are not logged in.

#1 2024-01-23 09:16:50

kaisa
Member
Registered: 2023-05-11
Posts: 24

[SOLVED] New Arch install booting straight to BIOS

Hi everyone, thanks in advance for helping a noob.

I just did a vanilla arch install and as the title suggests, after rebooting, I now go straight to BIOS screen. Im unable to try and boot from a usb now (or anything at all), as every time I try and restart my computer, doesn't matter what function keys I press, it proceeds straight to the BIOS settings.

I followed the wiki and referenced this video [https://www.youtube.com/watch?v=68z11VAYMS8]

I think I know where I went wrong. When mounting my boot partition, I ran:

mount --mkdir /dev/nvme0n1p1 /mnt/boot 

And then in one of the last steps, when trying to run

grub-install /dev/nvme0n1p1

I get an error message:

grub-install: error: cannot find EFI directory

Now the video I referenced explicitly made the /mnt/boot/efi directory and then mounted there. Instead I just ran the command in the wiki.

When I received that error, I panicked and shut down my system like an idiot hoping I could restart the process. (ik im so dumb for this)

Now I imagine grub doesnt know what to do.

As a result, I am so scared I bricked my system.

Im not sure if it's relevant, I just purchased this laptop yesterday:
MSI Stealth 16 Studio 16"
i9-13900H
RTX4060

Any assistance would be sooo appreciated!

Edit: this is UEFI
Edit2: Secure Boot is disabled

Last edited by kaisa (2024-01-23 21:05:29)

Offline

#2 2024-01-23 09:30:16

d.ALT
Member
Registered: 2019-05-10
Posts: 959

Re: [SOLVED] New Arch install booting straight to BIOS

kaisa wrote:

As a result, I am so scared I bricked my system.

From ArchLinux Live post here:

# efibootmgr -uv

Also, please share here a photo of BOOT SETTINGS (or whichever its called) within the UEFI's Firmware SetUp Menu.


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#3 2024-01-23 09:36:50

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,232

Re: [SOLVED] New Arch install booting straight to BIOS

That GRUB install command is incomplete and incorrect on an UEFI system. Use https://wiki.archlinux.org/title/GRUB#UEFI_systems

Nothing about this should prevent you from booting the live disk again. It's absolutely normal that it won't boot your system since you didn't actually install your bootloader.

Offline

#4 2024-01-23 16:00:41

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,642

Re: [SOLVED] New Arch install booting straight to BIOS

A few things. 

Technically, although often mangled due to old habits refusing to die, your system is either BIOS or uEFI.  Some modern uEFI systems can emulate the ancient BIOS system for backwards compatibility.  BIOS systems cannot deal with uEFI.

Do you have a uEFI system? Did you boot the Arch Linux system in legacy BIOS mode?  I ask because

grub-install: error: cannot find EFI directory

Boot to the install media and verify that you are in EFI mode.  The output of efivar -l should not be empty.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#5 2024-01-23 17:59:29

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [SOLVED] New Arch install booting straight to BIOS

^ The error message would be different if evifarfs wasn't mounted.

I think V1del is right — the posted grub-install command would only work if the ESP was mounted under /boot/efi/. The block device at the end would be ignored though.

Last edited by Head_on_a_Stick (2024-01-23 17:59:39)


Jin, Jîyan, Azadî

Offline

#6 2024-01-23 18:27:15

kaisa
Member
Registered: 2023-05-11
Posts: 24

Re: [SOLVED] New Arch install booting straight to BIOS

Hi everyone, sorry for the delay. Thx so much for the guidance.

Below I've attached an image of my bios

In addition, I wish I could boot my arch so I could try these commands. But I really have no clue how to do that now. I can't seem to boot anything other than the BIOS sad

Offline

#7 2024-01-23 18:34:12

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [SOLVED] New Arch install booting straight to BIOS

If you can get to the firmware ("BIOS") menus then the machine isn't bricked at all.

Do you have any other ISO images? It could be that the USB stick with the Arch ISO has just died.


Jin, Jîyan, Azadî

Offline

#8 2024-01-23 18:43:57

kaisa
Member
Registered: 2023-05-11
Posts: 24

Re: [SOLVED] New Arch install booting straight to BIOS

Head_on_a_Stick wrote:

If you can get to the firmware ("BIOS") menus then the machine isn't bricked at all.

Do you have any other ISO images? It could be that the USB stick with the Arch ISO has just died.

Thank you for that reassurance. I just got this laptop for school and I start classes in 2 days hence my desperation.

I will try that and report back with my results.

Could be relevant to my issue trying to boot from the usb again—when partioning the disks in 1.9 of install wiki. I actually partitioned the usb (sda right?), and then realized my error and then partitioned the actual nvme0n1 with a boot, swap, and root partitions.

EDIT: OMG that worked, and I can boot from the new usb now!!!! TYSM, going to proceed with the installation again!

EDIT2: Thank you everyone for the help. Got Arch installed with hyprland and nvidia no problem smile

Last edited by kaisa (2024-01-23 21:06:21)

Offline

Board footer

Powered by FluxBB