#1  
Old 23rd June 2006, 05:22
stretch stretch is offline
Junior Member
 
Join Date: Jun 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Cool Xen chroot issue...

Hi all

Sorry I am very new to Ubuntu and brand new to Xen etc...

I have followed the guide from
http://www.howtoforge.com/xen_3.0_ubuntu_dapper_drake

and can get as far as the following command...

Code:
mount -o loop /xen-images/guest_base.img /xen-images/mnt
debootstrap --arch i386 dapper /xen-images/mnt http://archive.ubuntu.com/ubuntu/
then it spits me out with an error;

Code:
root@computer:/# debootstrap dapper /xen-images/mnt/ http://archive.ubuntu.com/ubuntu
I: Retrieving Release
I: Retrieving Packages
I: Validating Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
W: Failure trying to run: chroot /xen-images/mnt mount -t proc proc /proc
I hope someone can help me with this as I have been searching high and low almost all day to find the solution ;(

If it is something obvious I will feel like an idiot but all help is much appreciated

Thanks in advance

Stretch
p.s. I am running
Linux computer 2.6.16-xen #1 SMP Thu Apr 13 18:46:07 BST 2006 i686 GNU/Linux
Reply With Quote
Sponsored Links
  #2  
Old 24th June 2006, 13:30
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

Did you run
Code:
debootstrap --arch i386 dapper /xen-images/mnt http://archive.ubuntu.com/ubuntu/
or

Code:
debootstrap dapper /xen-images/mnt/ http://archive.ubuntu.com/ubuntu
? Should be the first one.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 6th July 2008, 21:14
ranamalo ranamalo is offline
Junior Member
 
Join Date: Jul 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default chroot problem

Is the arch that you want available on the mirror you are using?
For example, and you are using i386 so this is very unlikely, but I have experienced a similar error:

code:
I: Retrieving Release
I: Retrieving Packages
I: Retrieving Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
W: Failure trying to run: chroot /tmp/biL36tbPF5 mount -t proc proc /proc

Copying files from new installation to host.
Copying files from /tmp/biL36tbPF5/var/cache/apt/archives -> /var/cache/apt/archives
Done
Done
The installation of the new system appears to have failed.

There is no '/bin/ls' installed in the new installation directory
Done
System installation failed. Aborting

Here I was trying to install an arch amd64 with my local mirror, which (i forgot) only had i386. So obviously it would not work. You either have to install an arch available, in this case i386, or modify the mirror so that amd64 is available.

The --arch i386 option solved the problem.

code:
xen-create-image --arch i386 --hostname test

And then I set my mirror to also download the amd64 architecture adding to /etc/apt/mirror.list:

code:
deb-amd64 http://ftp.us.debian.org/debian/ main contrib non-free

Anyway, hope this helps someone.

Last edited by ranamalo; 6th July 2008 at 21:29.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bind chroot configuration Toffee Installation/Configuration 6 13th March 2009 15:51
ISPConfig & Bind chroot not starting awd.pt Installation/Configuration 2 29th January 2008 10:28
Outlook 2003 issue with courier-pop3 RotHorseKid Installation/Configuration 6 7th December 2005 20:35
FC4 Perfect Setup - chroot Ice HOWTO-Related Questions 4 3rd December 2005 23:38
Chroot FTP users olli Server Operation 3 25th April 2005 11:35


All times are GMT +2. The time now is 20:10.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.