#1  
Old 14th December 2005, 10:42
butterfly butterfly is offline
Junior Member
 
Join Date: Dec 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Xen installation

Hi, I am trying to install Xen and followed your howTO. when I come to the part where I have to excute:

chroot /vserver/vm_base

I get a the following:

chroot: cannot run command '/bin/bash' : no such file or directory.

Is there a work around this problem?

Thanks
Reply With Quote
Sponsored Links
  #2  
Old 14th December 2005, 11:11
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

It seems as if bash is missing in your vserver image... Never had this before. I suggest that you run
Code:
apt-get install bash
after
Code:
apt-setup
and
Code:
apt-get update
__________________
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 14th December 2005, 14:22
butterfly butterfly is offline
Junior Member
 
Join Date: Dec 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Xen

Hi Falko,
I have bash installed from before and when I did.

apt-get install bash

it said that bash was already the newest version. I think it has to do with the chroot enviroment needing /bin/bash somewhere under /vserver/vm_base

I don't know what to do

Thanks
Reply With Quote
  #4  
Old 14th December 2005, 14:44
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

When you run
Code:
chroot /vserver/vm_base
you should be chrooted to /vserver/vm_base, and then you should try to install bash.
__________________
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
  #5  
Old 14th December 2005, 15:03
butterfly butterfly is offline
Junior Member
 
Join Date: Dec 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Xen

Hi Falko,
It is chroot command I am having difficulty with. When I try the command

chroot /vserver/vm_base

I get the same result which says:

chroot: cannot run command '/bin/bash' : no such file and directory.

I went on regardless of the warning and tried to install bash again and got the same result:

bash is already the newest version.

I experienced this on two different machines I tried to install Xen by following your HowTo and another Howto. The same thing happens all the time interms of chroot command no matter how many times I re-installed the OS.

Thanks
Reply With Quote
  #6  
Old 14th December 2005, 15:19
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Hm... Did you use Debian stable? In the tutorial I use Debian stable.
__________________
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
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
install error on the end of the installation Vegettex Installation/Configuration 2 21st November 2005 00:50
Installation failed... after Checking for MTA sushestvo Installation/Configuration 4 12th October 2005 01:53
Problems getting through the installation klausagnoletti Installation/Configuration 4 26th September 2005 13:23
mysql password during installation Hellbound Installation/Configuration 4 21st September 2005 19:52
Trouble with Installation. cjkeeme Installation/Configuration 3 3rd August 2005 19:46


All times are GMT +2. The time now is 12:41.


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