• Check it out - we have a chatbot! Go ask TuxBot a question in the Ask Tuxbot section!

chroot

Z

ZZs

Guest
So I chroot to / instead of /bin/bash or /bin/sh today on a new install. I was wondering if I should change this or not?
 


OP
G

grim76

Guest
Your description of your issue is not really clear. Can you provide us with more details?
 
OP
Z

ZZs

Guest
Sorry is was late. The question probably should read:

When you/I chroot into a newly installed system I left out the /bin/bash in the line command line (chroot /mnt , not chroot /mnt /bin/bash).

I wanted to know the impact this could lead to.
 
OP
R

ryanvade

Guest
you may or may not be using bash when not including the specific shell.
 
OP
Z

ZZs

Guest
The install docs said by omitting the /bin/bash It would default to the sh shell. What would be the default if I installed a plug in play OS like Ubuntu? Should it be /bin/bash?
OS is Arch Linux latest.
 
OP
Z

ZZs

Guest
The operating system is installed to the point of running xwindows. I just wanted to know if I should change that before moving forward.
 
OP
R

ryanvade

Guest
Are you using chroot or arch-chroot during the Arch install?

when logged into your user account, type the following into a terminal to find the Shell you are using:
Code:
echo $SHELL
 
OP
Z

ZZs

Guest
Yes I arch-chroot and the output of "echo $SHELL" = /bin/bash.
I guess that's the norm??
 
OP
R

ryanvade

Guest
It is yes. /bin/bash is the default for almost all distributions.
 
MALIBAL Linux Laptops

Linux Laptops Custom Built for You
MALIBAL is an innovative computer manufacturer that produces high-performance, custom laptops for Linux.

For more info, visit: https://www.malibal.com

Staff online


Top