Xen installation

Discussion in 'Installation/Configuration' started by butterfly, Dec 14, 2005.

  1. butterfly

    butterfly New Member

    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
     
  2. falko

    falko Super Moderator Howtoforge Staff

    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
     
  3. butterfly

    butterfly New Member

    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
     
  4. falko

    falko Super Moderator Howtoforge Staff

    When you run
    Code:
    chroot /vserver/vm_base
    you should be chrooted to /vserver/vm_base, and then you should try to install bash.
     
  5. butterfly

    butterfly New Member

    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
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Hm... Did you use Debian stable? In the tutorial I use Debian stable.
     
  7. butterfly

    butterfly New Member

    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
     
  8. falko

    falko Super Moderator Howtoforge Staff

    I haven't tried Xen 3 yet, so that might be the reason...
     
  9. butterfly

    butterfly New Member

    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
     

Share This Page