#[!RESOLVED!] GRUB Rescue mode post Arch Linux install attempt

22 messages · Page 1 of 1 (latest)

sharp sphinx
#

I followed this guide: https://youtu.be/68z11VAYMS8 and after reboot, it enters GRUB Rescue mode post install with the error in the picture. I would like some help, it would be much appreciated.

Install guide: https://wiki.archlinux.org/title/Installation_guide
WiFi guide: https://wiki.archlinux.org/title/iwd#iwctl
Piano cover used: https://www.youtube.com/watch?v=Z6hRV-Nq1Q0

I hope you enjoy this (quite elaborate) comfy Arch Linux install guide.

0:00 Introduction
0:09 This is for UEFI
0:38 Booting into the Archiso
0:48 Check out the ...

▶ Play video
blazing rampart
#

I'd try reinstalling grub and reconfiguring it first

zenith sable
#

You can either chroot from a live iso and reinstall grub, or boot manually from grub recovery and reinstall grub

sharp sphinx
#

nvm think i might have found out how to get in

zenith sable
#

But I can try if you still want me to tell you

sharp sphinx
zenith sable
#

You to type ls

#

You will get a list with the partitions on the disk

#

They will look like (hd0,msdos1) or (hd0,gpt3)

#

Something like that

#

By typing ls (hd0,gpt3) for example you will get Its filesystem type (ext4, likely) and Its size

#

Doing that you are supposed to discover whats your root partition, the one were you have linux installed

#

Then you type set root=(hd0,gpt3) asuming thats your root partition

#

Then you type the following things: ```

insmod normal
normal
``` (do not type the >)

#

The screen will reset and the recovery will reload

#

Now by typing ls / you shoukd be able to see the contents of your root partition

#

Now you want to see the kernel and initramfs you are using in that system by looking at the contents of /boot, you can do It by simply typing ls /boot

#

Once you kniw that, asuming your kernel and initramfs are vmlinuz-6.3 and initramfs-6.3.img as an example you do the following:
linux /boot/vmlinuz-6.3 root=/dev/sda3 ro (Asuming your root partition Its /dev/sda3, notice how /dev/sda3 matches (hd0,gpt3)
initrd /boot/initramfs-6.3.img
And finally:
boot

#

After doing this, your computer should boot normally, if It doesnt you should fallback to your initramfs, and you will need to chroot to your root partition from there, to reintall grub (ping me in that case)

#

Once your system Its up, to recover grub, get into a root shell and type the following for BIOS:
grub-install /dev/sda (without numbers)
If you are using uefi, depends on where your boot partition is mounted, you can check the contents of /etc/fstab by typing cat /etc/fstab to know. Asuming your boot partition is mounted under /boot/efi/, as It should:
grub-install --target=x86_64-efi --efi-directory=/boot/efi --removable

And finally, regardless of if you are using UEFI or BIOS, you want to type:
grub-mkconfig -o /boot/grub/grub.cfg
At this point you should be able to reboot normally.