You are not logged in.
Pages: 1
Hello,
today I was updating packages and grub parameters, then I run
grub-mkconfig -o /etc/default/gruband 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/systemchecked block storages
lsblkits like this:
sda1 --> /efi
sda2 --> /boot
sda3 --> swap
sda4 --> /root
sda5 --> /
sda6 --> encrypted volumestarted to mounting these partitions
mount /dev/sda5 /mnt/system
mount /dev/sda1 /mnt/system/efi
mount /dev/sda2 /mnt/system/bootthen 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/procthen I tried to chroot like:
arch-chroot /mnt/systemand 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/systemAll 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
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.
Online
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
See those things you bind mounted? Those.
Online
So I will use only these:
mount /dev/sda5 /mnt/system
mount /dev/sda1 /mnt/system/efi
mount /dev/sda2 /mnt/system/bootand then run:
grub-install ...
grub-mkconfig -o /boot/grub/grub.cfg? ![]()
I use several linux distros like: Archlinux, Ubuntu, Fedora, Linux Mint
Offline
No.
Read here: https://wiki.archlinux.org/title/Chroot
Online
Thank you, this: https://archlinux.org/news/grub-bootloa … ibilities/ solved my issue ![]()
I use several linux distros like: Archlinux, Ubuntu, Fedora, Linux Mint
Offline
Pages: 1