Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't get a Console to VMs

I've followed this otherwise excellent tutorial on getting Xen working with Ubuntu but am not able to get a console into my virtual machine (domU). I've got the extra = '2 console=xvc0' line in my /etc/xen/hostname_here.cfg file like they say, but am not able to get a console on it.

If I statically assign an IP to the VM I can SSH to it, but for now I need to be able to use DHCP to give it an address (and since that's what I'm trying to debug, there's the problem). I know I've got a free DHCP address (although I'm getting more at the moment), so I don't think that's the problem. I've looked on Google and the Xen forums to no avail as well.

Any ideas?

like image 633
Chris Bunch Avatar asked Aug 05 '08 20:08

Chris Bunch


People also ask

How do I get to the console in VMware?

From the vSphere Web Client, on the Summary tab, click Launch Console. From the VMware Host Client, click Console and select an option from the drop-down menu.

Can not connect to virtual machine?

Shut down the virtual machine, then restart your Host Machine. After your Host machine reboots, reopen Workstation. Download and reinstall VMware Workstation. This ensures that you have the most recent version, and that any missing or corrupted virtual network settings are replaced/repaired.

How do I connect Hyper-V console?

To connect to a Hyper-V host from Hyper-V Manager, right-click Hyper-V Manager in the left pane, and then click Connect to Server.


1 Answers

I had followed a different tutorial on setting up my xen on ubuntu before 8.04 but now upgraded to 8.04. I used the extra line in my cfg as folows:

extra = ' TERM=xterm xencons=tty console=tty1'

It allows me to "xm console hostname" from dom0. I think this was from a problem with the xen setup in the version prior to 8.04 (I'm not sure which version that was). I'm not sure if the same change is necessary in 8.04 as I'm an upgrade and didn't change any of my domU configs after the upgrade.

like image 137
Stephen Pellicer Avatar answered Oct 03 '22 03:10

Stephen Pellicer