Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 12-15-2010, 05:17 PM   #1
LQ Newbie
Registered: May 2008
Posts: 12

Rep: Reputation: 0
installing old ubuntu version into a chroot

I've been looking at setting up the iPhone-Dev toolchain on my ubuntu box. Its only known to be compatible with feisty and gutsy. So I found this guide about setting up a chrooted install. Since gutsy is no longer hosted on the regular mirrors I had to settle for an old cd image. I mounted the iso, copied the files over into a working directory and used 'ftp:///path/to/files' instead of 'http://mirror.url'

Not sure if using the cd files instead of an actual mirror might be part of my problem.

when I run
PHP Code:
sudo debootstrap --variant=buildd --arch i386 gutsy /var/chroot file:///home/me/ubuntu/ 
I get this:
PHP Code:
IRetrieving Release
Validating Packages
Resolving dependencies of required packages...
IResolving dependencies of base packages...
IChecking component main on file:///home/me/ubuntu...
IValidating libatm1
Chosen extractor for .deb packagesdpkg-deb
Failure trying to runchroot /var/chroot mount -t proc proc /proc 
if I just run 'sudo chroot /var/chroot' i get
PHP Code:
chrootfailed to run command `/bin/bash': No such file or directory 
SO the root of the problem is that bash (and maybe some other important files that I don't even know about) is not being placed in the chroot file structure before debootstrap tries to chroot in.

For compatibility (with the iPhone-dev toolchain) I am trying to install the i386 version so I can't just copy over the binaries from my current install which is x86-64. Is it possible to get a compatible i386 bash binary and copy it in or is there maybe another, more fundamental problem in the way I'm setting up the chroot environment?


Apparently using the extracted CD was my issue. I tried the same procedure with hardy from the Ubuntu mirrors and it worked like a charm.

Last edited by Tamaros; 12-15-2010 at 11:02 PM.


chroot, ubuntu

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't find Teamviewer after installing the Linux version on Ubuntu vic_cdn Linux - Desktop 2 05-03-2010 09:47 PM
I need help installing K3b version 1.91.0 in Ubuntu 9.10 Koala Jim Engle Linux - Software 3 04-11-2010 08:32 PM
chroot problem in linux from scratch (version 6.4) chapter 6.4, the transition... jason87x Linux - Software 1 07-05-2009 10:22 PM
Installing old wine version with apt-get/synaptic on Ubuntu 8.04 ErV Ubuntu 2 10-09-2008 02:15 PM
chroot & java -version not working adilturbo *BSD 28 09-09-2008 01:44 AM > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 03:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration