I have researched this, and none of the answers (so far) on here, nor googling seem to match my problem.
Here is the situation:
I am running Xubuntu 12.04 as a base install, and am trying to set up a debootstrap chroot install of BackBox 3.01 (also a 12.04). BOTH are amd64 bit architectures and I have verified that fact backwards and forwards.
I have followed the instructions at both:
RTFM and fat-fingering issues aside, I have now run into an issue during the debootstrap installation where I am getting to a point and getting:
W: Failure trying to run: chroot /home/user/test/chroot mount -t proc proc /proc
The installation that lays down is not enough to schroot to, as I have tried, nor if I redo with the --foreign option does it do any better.
The research I have done seems to indicate this issue is related to:
trying to put a 64 bit install in a 32 bit OS (which I am clearly NOT doing)
possible issues with procfs in certain kernels, but the bug reports are unclear, and clearly this looks old
a lot of virtualization related issues (which I am not doing any)
I am thinking since this is a very simple installation of a file:/// based (another) ubuntu based distro into my chroot environment (64 -> 64) that there must be something real simple in the set up steps I have left out or forgotten. Should I do something like pre-mount the
/srv/chroot/backbox3_01/var/proc to something like:
sudo mount -o bind /proc /srv/chroot/backbox3_01
Any help would be appreciated.
****** UPDATE ******* So I have dug around a bit more, and I at least know what part of the issue is. The failure is coming from the fact that "mount" is an unknown "file or directory" which means that at the context point that chroot is running from there is no "mount" executable that can be called. I am guessing that:
a. Some executable context did not get brought over and "pre" set up properly during the phase before this step?
b. Some environment properties need to be exported prior to running this script maybe?
Any help is appreciated...
*********** Further Update *************** Apparently the Backbox installation is not getting inflated into the chroot directory anywhere near properly. Backbox 3 is a precise (Ubuntu 12.04) based distro and I just ran debootstrap on precise. I get a full installation.
When I do the same for Backbox, I only get /dev, /etc, and /var set up. Nothing else, which means "mount" doesn't exist in the chroot'ed structure. I have tried installing this from the CD and from a local copy of the CD (on my file system). I have checked the "Release" doc on the installation CD and it seems complete, but I don't see why it stops before installing the rest of the components.
So I am guessing there is something in the Backbox Distro that is not set up to allow debootstrap to properly re-inflate it - at least from the CD distro. Does anyone know of an online archive (equivalent to http://archive.ubuntu.com/ubuntu/) for Backbox? Or if not, I guess my options are going to be:
Hacking the Backbox Distro to make it work, any suggestions where to start?
Pulling down an Xubuntu distro and then applying the Backbox ppa... Is there a Xubuntu script available for debootstrap and does anyone have a link to an automated installer for all the BB ppa tools to get them installed quickly?