You are not logged in.

#1 2022-11-01 13:33:22

tomsk
Member
Registered: 2016-12-17
Posts: 224

[SOLVED] Cannot boot into Arch

Hello,

today I was updating packages and grub parameters, then I run

grub-mkconfig -o /etc/default/grub

and after that I cannot boot into my system anymore. I cannot even see GRUB, when I start PC I have options to press Del to get into BIOS/UEFI and then my PC just restarts and boots right into BIOS/UEFI, so I cannot even see GRUB.

So I flashed USB sticks with arch linux installation and followed these steps:

created entry point for mounting my system

mkdir /mnt/system

checked block storages

lsblk

its like this:

sda1 --> /efi
sda2 --> /boot
sda3 --> swap
sda4 --> /root
sda5 --> /
sda6 --> encrypted volume

started to mounting these partitions

mount /dev/sda5 /mnt/system
mount /dev/sda1 /mnt/system/efi
mount /dev/sda2 /mnt/system/boot

then I mounted system partitions from arch linux installation

mount --bind /dev /mnt/system/dev
mount --bind /sys /mnt/system/sys
mount -t proc /proc /mnt/system/proc

then I tried to chroot like:

arch-chroot /mnt/system

and I got this error:

mount: /mnt/system/sys: sys already mounted on /sys.
dmesg(1) may have more information after failed...
==> ERROR: failed to setup chroot /mnt/system

All I want is to reset grub somehow to be able to boot into my system again.

Last edited by tomsk (2022-11-01 14:04:41)


I use several linux distros like: Archlinux, Ubuntu, Fedora, Linux Mint

Offline

#2 2022-11-01 13:36:04

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] Cannot boot into Arch

So you probably ran into https://archlinux.org/news/grub-bootloa … ibilities/

You either bind mount the pseudo-filesystems OR you use arch-chroot to do it for you. You don't do both.

Offline

#3 2022-11-01 13:45:26

tomsk
Member
Registered: 2016-12-17
Posts: 224

Re: [SOLVED] Cannot boot into Arch

Please what do you mean by mounting pseudo-filesystem? Can you correct my steps?


I use several linux distros like: Archlinux, Ubuntu, Fedora, Linux Mint

Offline

#4 2022-11-01 13:46:57

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] Cannot boot into Arch

See those things you bind mounted? Those.

Offline

#5 2022-11-01 13:48:25

tomsk
Member
Registered: 2016-12-17
Posts: 224

Re: [SOLVED] Cannot boot into Arch

So I will use only these:

mount /dev/sda5 /mnt/system
mount /dev/sda1 /mnt/system/efi
mount /dev/sda2 /mnt/system/boot

and then run:

grub-install ...
grub-mkconfig -o /boot/grub/grub.cfg

? smile


I use several linux distros like: Archlinux, Ubuntu, Fedora, Linux Mint

Offline

#6 2022-11-01 13:50:28

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] Cannot boot into Arch

Offline

#7 2022-11-01 14:04:19

tomsk
Member
Registered: 2016-12-17
Posts: 224

Re: [SOLVED] Cannot boot into Arch


I use several linux distros like: Archlinux, Ubuntu, Fedora, Linux Mint

Offline

Board footer

Powered by FluxBB