Talk:Change root

From ArchWiki
Revision as of 11:35, 10 July 2013 by Doru001 (Talk | contribs) (Example)

Jump to: navigation, search

Example

I posted an example of a chroot in a home directory. If you can complete it or correct it, please do. If you can't, please don't remove it.

The example has been modified from /usr/bin/bash to /bin/bash, even though:

$ which bash
/usr/bin/bash

How is it on your system, /bin/bash or /usr/bin/bash?

Very well, this is quite amazing:

$ ls -l /bin/bash /usr/bin/bash
-rwxr-xr-x 1 root root 713872 Jun  1 03:26 /bin/bash
-rwxr-xr-x 1 root root 713872 Jun  1 03:26 /usr/bin/bash
$ cmp /bin/bash /usr/bin/bash
$ echo $?
0

--Doru001 (talk) 11:09, 10 July 2013 (UTC)

Questions

  • Is it possible to have multiple Chroots on the same target device? --unknown
  • Is the "Run graphical chrooted applications" section really necessary? I have chrooted from an x86_64 distribution (Parted Magic) into my current i686 Arch system and running graphical applications worked just fine. All I had to do was to start them from the chroot terminal. Seems like an unnecessary piece of information to me. --DSpider (talk) 10:02, 19 August 2012 (UTC)

Comments