On Mon, Aug 15, 2011 at 08:49:01PM -0700, David Konerding wrote: [..] I forgot to add last night that your problem sounds like missing udev. If you get a process listing (ps ax) is udevd running? On Ubuntu 11.04 in virt-rescue I get: 43 ? S<s 0:00 /sbin/udevd --daemon 367 ? S< 0:00 /sbin/udevd --daemon 368 ? S< 0:00 /sbin/udevd --daemon
OK. I fixed the /sys problem: no /sys directory exists in the base image, so mounting fails. I edited inittab, and added mkdir /sys , this seems to help. Isn't this normally created by febootstrap?
In Ubuntu 11.04 it's created by the initscripts package.
I have no fstab, but this doesn't really cause any problems AFAICT.
This is correct in fact. In the Ubuntu 11.04 appliance there is no /etc/fstab and it doesn't affect anything.
The next one is eth0. The KVM invocation in test-tools is this; I see no -net option to setup a network interface.
eth0 isn't really important. It's only added if you add the --network option to virt-rescue. I think there is something far more fundamental broken in your appliance. Missing udev would be my guess. Is /dev there? What does it contain? For my Ubuntu 11.04 appliance: # ls -l /dev/ | wc -l 175 Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://et.redhat.com/~rjones/virt-df/