#It boots to BIOS after rebooting
105 messages · Page 1 of 1 (latest)
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.
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
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
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?
I ran mount /dev/sda1 /mnt/boot
It said no error
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.
yep.
Ok let me try
I mean, it's a first step to the solution, just doing everything in the proper way
Oki
afterwards, making sure /boot is fine, if still not working, try grub-install by adding --removable to end of your command.
lsblk -f
oh did you mount root and boot and then arch-chroot?
gotta do them first
Mounted
then arch-chroot /mnt
then grub-install command
then ls -alt /boot to check how it looks like
looks fine
Mhm I follow the guide to install
ok seems grub is still not there
get into the usb again, mount and chroot, let's try the other thing
Alright
do you have efibootmgr installed?
Yes
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
that's all i have.
make sure in BIOS settings secure boot is disabled
Alright
you can always try systemd-boot instead, which is nicer than grub anyway.
Reboot now?
I’ll try this if grub still failed
Wow
It worked
🎉
May I know what does this do ?
Omg it actually works
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.
--recheck just checks something i forgot.
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
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.
np!
Btw how do u know these solutions?
archwiki and google :D
You learn these by gaining experiences or read more about specific topic and know about that more
Oh I see ;D
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
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
unmute? the mic?
oh your audio is not working?
you need to install pulseaudio or pipewire.
pipewire is the recommended and more recent one.
you just do:
pacman -S pipewire wireplumber pipewire-pulse pipewire-alsa
just go step by step, installing things and adjusting things as you need or want them.
I’m still worried if I can install nvidia driver properly
check the post-install recommendations page in archwiki though.
things like setting up a user, setting Internet, setting up sudo are essential of course
I always screw this up in vm
Oh ya I’ll go for it!
is it a desktop pc, or a laptop with an iGPU?
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.
Archwiki is very useful XD
a tip: do not skim over the small note boxes in the wiki. they often include info that is gold.