#It boots to BIOS after rebooting

105 messages · Page 1 of 1 (latest)

soft iron
#

After I reboot inside arch iso, it boots back to the BIOS instead of arch.

topaz zodiac
#

Are you sure you set up your boot partition and the bootloader correctly?

#

If so, and if using grub, you might be needing the --removable flag in grub-install.
Some machines' BIOS has difficulty finding grub, this solves that.

eager relic
#

Maybe they just have to change the boot order from the bios

#

But yeah some boards can only boot from the fallback boot path so just like Gozenka said

soft iron
#

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

#

I ran this command

#

Cuz I’m on Uefi

#

But idk where is the problem tho

topaz zodiac
#

is your boot partition actually mounted at /boot/efi?
and why /boot/efi and not /boot ?

#

what is the output when you run the grub-install command?

soft iron
topaz zodiac
#

but what is the output with that setup? (mounting as you did, and running the command as you did.)

#

and if /boot, why --efi-directory=/boot/efi ?
I mean is there a specific reason? Because that doesn't seem right.

soft iron
#

Soo should I use —efi-directory=/boot

#

?

topaz zodiac
#

yep.

topaz zodiac
#

I mean, it's a first step to the solution, just doing everything in the proper way

soft iron
#

Oki

topaz zodiac
#

afterwards, making sure /boot is fine, if still not working, try grub-install by adding --removable to end of your command.

soft iron
#

Hmm

topaz zodiac
#

lsblk -f

#

oh did you mount root and boot and then arch-chroot?

#

gotta do them first

soft iron
#

Oh didn’t chroot

#

Oops

topaz zodiac
#

mount root first to /mnt

#

then boot to /mnt/boot

soft iron
#

Mounted

topaz zodiac
#

then arch-chroot /mnt

#

then grub-install command

#

then ls -alt /boot to check how it looks like

soft iron
topaz zodiac
#

looks fine

soft iron
#

Mhm I follow the guide to install

topaz zodiac
#

try a reboot

#

also try the boot menu of your BIOS (e.g. f12) to pick the disk

soft iron
#

It ends up like this every time

topaz zodiac
#

ok seems grub is still not there

#

get into the usb again, mount and chroot, let's try the other thing

soft iron
#

Alright

topaz zodiac
#

do you have efibootmgr installed?

soft iron
#

Yes

topaz zodiac
#

ok. then the only difference will be to use this command instead:
grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-directory=/boot --removable --recheck

#

then do grub-mkconfig -o /boot/grub/grub.cfg again just to make sure

soft iron
#

Done

#

No error reported

topaz zodiac
#

that's all i have.
make sure in BIOS settings secure boot is disabled

soft iron
#

Alright

topaz zodiac
#

you can always try systemd-boot instead, which is nicer than grub anyway.

soft iron
#

Reboot now?

soft iron
#

Wow

#

It worked

topaz zodiac
#

🎉

soft iron
soft iron
#

Omg it actually works

topaz zodiac
#

so, some crappy BIOS implementations can only detect the bootloader executables named BOOT64 or something.
grub's executable has its own different name.
the --removable flag adds a default executable named BOOT64, to make it more compatible with various devices, and this often works to solve this issue.

soft iron
#

Oh I see

#

Wow

#

Thanks for the help!!!!!

topaz zodiac
#

--recheck just checks something i forgot.

soft iron
#

This is my first time installing on bare metal

#

I tried installing on qemu kvm single gpu pass through tho

#

Installation is so much easier in vm XD

topaz zodiac
#

just take the leap of faith :)
in Arch everything is solvable, except for some specific issues you might have on some piece of weird hardware you have, or some niche software you need to use.
and if it works on another Linux distro, it can work on Arch. might only need some reading and more manual intervention.

soft iron
#

Ya I wish I have the ability to solve problem myself like you!

#

Thanks for the help!

topaz zodiac
#

np!

soft iron
#

Btw how do u know these solutions?

topaz zodiac
#

archwiki and google :D

soft iron
#

You learn these by gaining experiences or read more about specific topic and know about that more

soft iron
topaz zodiac
#

Some of the help I have given, I have experienced myself and spent a bit of time solving. Thankfully I personally never had issues that were unsolvable or needed a lot of research.
Some of it, I just have an idea from experience and know what to search for, finding potential solutions that make sense.
Some issues I have seen here, I have no idea at all :D

soft iron
#

I see!

#

Learning in arch is indeed helping me understand more about Linux

#

Btw how do I unmute in arch?
Idk how cuz I gave up in vm lol

topaz zodiac
#

unmute? the mic?

soft iron
#

Like I can hear things

#

From hdmi or usb headphones

topaz zodiac
#

oh your audio is not working?

soft iron
#

Idk

#

I heard I need to install pulseaudio

topaz zodiac
#

you need to install pulseaudio or pipewire.
pipewire is the recommended and more recent one.

soft iron
#

I see

#

Any recommendations on post-installation? :D

topaz zodiac
#

you just do:
pacman -S pipewire wireplumber pipewire-pulse pipewire-alsa

topaz zodiac
soft iron
#

I’m still worried if I can install nvidia driver properly

topaz zodiac
#

check the post-install recommendations page in archwiki though.
things like setting up a user, setting Internet, setting up sudo are essential of course

soft iron
#

I always screw this up in vm

topaz zodiac
#

is it a desktop pc, or a laptop with an iGPU?

soft iron
#

Desktop pc

#

With a nvidia gpu

topaz zodiac
#

ok, just follow the Nvidia page in archwiki and use the nvidia driver.
you will probably have no issues in X11, and might be fine on Wayland too.

soft iron
#

Archwiki is very useful XD

topaz zodiac
#

a tip: do not skim over the small note boxes in the wiki. they often include info that is gold.