#Can't boot into Arch linux after installation
45 messages · Page 1 of 1 (latest)
In the grub rescue shell, can you run
ls
ok
this is what i get
ls (hd0,gpt1)/
and also
ls (hd0,gpt2)/
ls (hd0,gpt3)/
set boot=(hd0,gpt3)
set prefix=(hd0,gpt1)/boot/grub
insmod normal
normal
alright i've done that
So you don't have a grub.cfg.
don't close this prompt
Please run the following command
linux (hd0,gpt1)/vmlinuz-linux
initrd (hd0,gpt1)/initramfs-linux.img
i get this error when i do that
ls (hd0,gpt1)/grub
this predicament
set root=(hd0,gpt1)
set prefix=(hd0,gpt1)/grub
echo $root
afterwards
linux /vmlinuz-linux
initrd /initramfs-linux.img
Please run
linux /vmlinuz-linux
initrd /initramfs-linux.img
boot
You will be greeted by a rescue shell.
it's taking a little whiel
This is abnormal, are you in the rescue shell now?
no
look im going to be honest
i have no proble
problem*
with restarting my install
i just want to know what i can do to make sure this doesn't happen again
Run this whenever you change your configuration
grub-mkconfig -o /boot/grub/grub.cfg
This command is required for grub to work
If you don't like boot loaders, the UEFI system can boot EFIstubs
e.g.
# mkinitcpio preset file for the 'linux' package
# vi: ft=bash
# shellcheck disable=SC2034
### OPTIONS
_kernel=linux
_esp="/boot/efi"
###
_efi_dir="$_esp/efi/boot"
[[ ! -d "$_efi_dir" ]] && mkdir -p "$_efi_dir"
PRESETS=("default")
ALL_kver="/boot/vmlinuz-$_kernel"
ALL_microcode=(/boot/*-ucode.img)
default_image="/boot/initramfs-${_kernel}.img"
default_uki="$_esp/efi/boot/bootx64.efi"
default_options="--splash /usr/share/systemd/bootctl/splash-arch.bmp"
thank you
... solved