#[SOLVED] need help with boot/grub issue from working normally to not booting at all

1 messages ยท Page 1 of 1 (latest)

tropic magnet
#
  • iso
  • mount your root and boot
  • chroot
  • pacman -S linux
  • grub-mkconfig -o /boot/grub/grub.cfg (or wherever your grub cfg is located)
#

Not posting on the ram is interesting, but shouldn't be related to the boot issue afaik

#

is your /boot mounted?

#

lsblk is the way to easily tell

#

what do you see if you ls -R /boot?

#

Should hopefully be a bunch of grub stuff, and kernels and initramfs

#

Perhaps it wasn't mounted?

#

Seems to me like the boot entry has disappeared from the motherboard, possibly related to the POST shenanigans

#

Motherboards are weird

#

when you run grub-mkconfig it should add an entry to the uefi

#

then you can use efibootmgr on its own to print the uefi and see if it's there

#

Yeah, that is odd. There should be a grub folder for the grub.cfg, along with all the grub modules

#

grub-install is what puts all that stuff there

#

Do you have a separate /efi perhaps? Grub is clever, and can load its config from the root directory if it needs to

#

ls -l / would be the simplest way

#

run with the extra param --efi-directory=/boot

#

Yep, that'll (re) install grub and all its stuff into /boot

#

Not sure what was going on before then, or what might have happened, but reinstalling grub and the kernel into /boot should fix it up anyhow

#

the other one is grub-mkconfig, but we need to install the kernel again first

#

pacman -S linux

#

Should print out a bunch of stuff, then when you ls /boot there should be a vmlinuz and initramfs there

#

Oh wait a tick, you're using UKI?

#

I'm on autopilot lol - your UKI should appear there ๐Ÿ˜„

#

If you've not heard of it I'm talking rubbish

#

can you share a pic?

#

ls -R /boot pretty please

#

A uki is a "unified kernel image", basically a meta-file that combines the linux kernel and initramfs into one EFI executable. The grubx64.efi is an example of that sorta thing

#

Not to be worried about, I confused myself

#

Excellent, so we have grub and a bunch of kernels and initramfs's at the top

#

if you now run grub-mkconfig -o /boot/grub/grub.cfg it should spit out a bunch of lines saying what it has found

#

Could you send a screenshot of that as well when you run it?

#

Winner. See the "adding boot menu entry" line?

#

Now it should appear in your bios for you to pick, and it should boot

tired maple
#

My friend

#

YOU ARE A HERO! โค๏ธ

#

If you are ever in Ireland, hit me up and ill hook you up ๐Ÿ˜

tropic magnet
#

๐ŸŽ‰ winner ๐Ÿ˜„