You are not logged in.
Hi.
Usually I try to scour the web for answers whenever I encounter an issue, but this time I couldn’t find anything. Thank you in advance for your help.
chroot: failed to run command /usr/bin/zsh: No such file or directoryPreface: So, firstly I don’t even use zsh on my system, I use bash. Recently I purchased a new SSD to accompany my HDD that my Arch box was running from. I wanted to use both, with
/, swap & /bootrunning from the SDD for a little performance upgrade whilst /home was running from the HDD (videos, pics etc). I managed to get as far as editing
/etc/fstabwhen I realised I wasn’t able to mount / unmount the disks I had partitioned anymore. I had been able to up until I ran
sudo mount -aI then thought it was best to chroot via a live image from a usb, as I could manually unmount / mount while not within the partition itself.
In chroot:
mount | grep /devmkdir /rescuemkdir /rescue/bootmkdir /rescue/procmkdir /rescue/sysmkdir /rescue/devmkdir /rescue/dev/ptscryptsetup open —type luks /dev/sda3 rootmount /dev/mapper/root /rescuemount /dev/sda1 /rescue/boot(efi boot partition)^
mount -t proc proc /rescue/procmount -t sysfs sys /rescue/sysmount -o bind /dev /rescue/devmount -t devpts pts /rescue/dev/ptschroot /rescueAnd that’s when I received the error message (above). I have tried switching to bash whilst in the live boot but still receive the same message. I have scoured the web and 99% of what I came across was to do with
/bin/bash- not zsh. So I’m stuck. Still sat in the live boot as I don’t want to leave just yet to find out the solution is here. Again - thanks in advance for any help/suggestions.
Last edited by 01001010110 (2022-02-22 16:53:57)
Offline
from the chroot man page:
If no command is given, run '"$SHELL" -i'
Since you're in zsh on the ISO, that's what it calls if you don't specify anything.
Offline