You are not logged in.

#1 2023-05-12 06:34:51

HailZero
Member
Registered: 2023-05-05
Posts: 12

chroot: failed to run command '/bin/bash': No such file in director

I tried to chroot using "arch-chroot /mnt," and I got the error:

chroot:  failed to run command '/bin/bash':  No such file in directory

I'm guessing that means /bin/boot has been moved somewhere else.

Offline

#2 2023-05-12 09:57:39

NoSavvy
Member
From: Dorchester, Dorset, UK
Registered: 2013-01-23
Posts: 96

Re: chroot: failed to run command '/bin/bash': No such file in director

Have you mounted an OS to /mnt ?      ie. mount /dev/sda2 /mnt

Offline

#3 2023-05-12 10:11:15

HailZero
Member
Registered: 2023-05-05
Posts: 12

Re: chroot: failed to run command '/bin/bash': No such file in director

Yes, I wrote "mount /dev/sda4 /mnt"  Then I did the pacstrap and the genfstab command.

Offline

#4 2023-05-12 11:05:47

schard
Member
From: Hannover
Registered: 2016-05-06
Posts: 1,933
Website

Re: chroot: failed to run command '/bin/bash': No such file in director

HailZero wrote:

Yes, I wrote "mount /dev/sda4 /mnt"  Then I did the pacstrap and the genfstab command.

Don't paraphrase. Post the exact commands you issued and their respective outputs.

Offline

#5 2023-05-13 00:35:48

HailZero
Member
Registered: 2023-05-05
Posts: 12

Re: chroot: failed to run command '/bin/bash': No such file in director

I tried to reinstall it using "pacstrap /mnt base base-devel linux linux-firmware sudo nano vim git neofetch"

And I got a message that said error:  ncurses: key "" is unown.

Offline

#6 2023-05-13 09:24:59

HailZero
Member
Registered: 2023-05-05
Posts: 12

Re: chroot: failed to run command '/bin/bash': No such file in director

Never mind, I figured it out.

Offline

#7 2023-05-13 11:13:29

2ManyDogs
Forum Moderator
Registered: 2012-01-15
Posts: 4,645

Re: chroot: failed to run command '/bin/bash': No such file in director

HailZero wrote:

Never mind, I figured it out.

https://wiki.archlinux.org/title/Genera … way_street

For others who might fight this thread useful, how did you solve this?

After you let us know how you solved your problem, please remember to mark your thread [SOLVED] (edit the title of your first post).


How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.

Offline

#8 2023-05-15 12:57:03

HailZero
Member
Registered: 2023-05-05
Posts: 12

Re: chroot: failed to run command '/bin/bash': No such file in director

I was using a different installer, that wanted me to use archinstall, so it didn't work when I tried to use pacstrap.

Offline

Board footer

Powered by FluxBB