LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware on xen (https://www.linuxquestions.org/questions/slackware-14/slackware-on-xen-689096/)

Tux-Slack 12-08-2008 08:02 AM

Slackware on xen
 
Hello,

I've got a little problem with slackware running on xen.
I followed the how-to on the xen web site, did exactly as writen there, and created my config file, here it is:
Code:

kernel = "/boot/vmlinuz-2.6.18-92.1.18.el5xen"
memory = 128
name = "slackware"
ip = "10.0.0.53"
disk = ['file:/admin/root_fs,sda1,w']
vif = [ 'mac=00:16:3E:a2:5f:21' ]
root = "/dev/sda1 ro

And when starting it says domain started, but after I want to xm console into it I get this:
Code:

[root@firegate bck]# xm console slackware
xenconsole: Could not read tty from store: No such file or directory

And if I try to ping it, I just get destination host unreachable reply.
Now, 10.0.0.1 is an IP on an actual device, eth1, could this be the problem that I can't ping it?
I don't need to console it, it would be enough to just ssh into it.
Thanks for your time and help.

Regards

Woodsman 12-08-2008 12:09 PM

I don't use xen and I can't help you directly. I can say that I use VirtualBox and I have Slackware and Zenwalk installed as virtual machines. No major problems although the bidirectional clipboard does not work (PITA). Networking is fine there too. There are VirtualBox build scripts at slackbuilds.org and slacky.eu.

A side note, by design the ping command does not work in VirtualBox when using the NAT mode for networking. Ping works when using the host networking mode in VirtualBox. Doesn't help you with xen, but if you are not locked into xen then perhaps try VirtualBox.

Tux-Slack 12-09-2008 02:00 AM

Well I would have gone for VBox, but this machine doesn't have X installed. Does VBox run on a non-X11 machine?

Woodsman 12-09-2008 05:39 PM

To my understanding, VirtualBox allows running virtual machines without X or graphical support in the host machine, but verify to be sure. I believe this is performed through "headless" mode.

I do not find the VBoxHeadless command on my box. Likely then the headless support is available only in the PUEL version and not the OSE.

I don't know whether you can compile VirtualBox without the QT libraries, but the PUEL version is a precompiled binary anyway.

Once you install the package you can do almost everything through the command line and manually editing XML configuration files. You do not have to use the graphical interface to create or manage disks or systems.


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