#1  
Old 14th December 2005, 09: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, 10:11
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 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, 13: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, 13:44
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 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, 14: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, 14:19
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 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
  #7  
Old 14th December 2005, 14:26
butterfly butterfly is offline
Junior Member
 
Join Date: Dec 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Xen

Yes, I use debian sarge as the base OS (dom0) and installed Xen 3.0 instead of xen-2.0.7. I used another mirror that is close to me (ftp.no.debian.org) than ftp2.de.debian.org/debian to debootstrap the guest OS (xenU) .


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

I haven't tried Xen 3 yet, so that might be the reason...
__________________
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
  #9  
Old 14th December 2005, 15:17
butterfly butterfly is offline
Junior Member
 
Join Date: Dec 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default Xen

Ok Falko, I will try 2.0.7 and see how it goes.

Thanks alot for the help. I will let you now about it if I encounter any difficulties.


ThanX
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 20th November 2005 23:50
Installation failed... after Checking for MTA sushestvo Installation/Configuration 4 12th October 2005 00:53
Problems getting through the installation klausagnoletti Installation/Configuration 4 26th September 2005 12:23
mysql password during installation Hellbound Installation/Configuration 4 21st September 2005 18:52
Trouble with Installation. cjkeeme Installation/Configuration 3 3rd August 2005 18:46


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


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