i386-Wine on amd64 chroot /compat/i386 chroot: /usr/local/bin/bash: No such file or directory

Truculent_Freddi

New Member


Messages: 18

I'm trying to install or build wine under amd64 using the instructions on the site - https://wiki.freebsd.org/i386-Wine I got to the point with chroot /compat/i386 and I get the error there is no such directory or file. The shell costs bash
Code:
[root@localhost /compat/i386/dev]# which bash
/usr/local/bin/bash 
chsh "username"
Home directory: /root
Shell: /usr/local/bin/bash
and above the terminal is written bash - Konsole
[root@localhost /compat/i386/dev]# uname -a
FreeBSD localhost 12.1-RELEASE FreeBSD 12.1-RELEASE r354233 GENERIC  amd64
 
Last edited by a moderator:

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 13,918
Messages: 40,667

Don't change root's shell.
 

a6h

Daemon

Reaction score: 1,609
Messages: 1,429

They should remove bash from the Port Collection. Anyway:
1. Install bash
2. Make sure there's a /usr/local/bin/bash entry in /etc/shells
3. # chsh -s /usr/local/bin/bash toor
Now you can log as toor. It's bash-enabled root, without changing root 's default shell.
 
Top