I am basically forced to install arch anew because I corrupted my partitions. When I run arch-chroot /mnt I get the following error: failed to run command /bin/bash: No such file or directory. There are a lot of answers online but I didn't understand it that well nor did it work for me? How can I troubleshoot this? sda1: UEFI sda2: Linux Filesystem sda3 SWAP sda4: Linux Filesystem. I mounted sda2/4 in /mnt and UEFI in /mnt/efi. Then I installed the rudimentary linux with: pacstrap -i /mnt linux linux-firmware base vim. I deleted some PGP keys but after that I ran genfstab -U /mnt >> /mnt/etc/fstab. Now I am at the point where the error happens. running arch-chroot /mnt gives me the problem described above. Do you have any ideas what I'm doing wrong. How do I fix this 🙂
#Trouble running chroot
1 messages · Page 1 of 1 (latest)
how did you manage to "corrupt" your partitions?
Well I wanted to dual boot with nixos and on my existing arch installation I resized the linux filesystem partition to be 1.4T instead of 1.8T. So I get 400G for nixos. Then I ran into problems.. I only booted into rootfs afterwards and I probably can't restore any data. So now I want to install it from scratch again
so why do you want to chroot in your system?
I want to install it fresh. That's what you have to do, don't you. I boot with an ISO now..
use archlinux iso from https://archlinux.org/download and install it through archinstall
Ok I will try this. thanks
how does this work though? I always follwed the instructions on the official arch linux installation guide
did you get in the arch iso?
not yet. It failed while downloading. But why should my already installed one not work?
idk I would prefer using the archinstall script because we don't know what command messed up during the installation
Do you only have experience with the script?
yeah sadly
Ah okay. Is that easy?
easier than ubuntu's installation
ok I will try it out.. I'll let you know if I don't get it 🙂
I'm installing it right now but I don't think it's still efficient. Why can I not use the one I already have? It's not that old and I can download new packages then..
you mentioned that you want to reinstall it
So now I want to install it from scratch again