On Tue, Dec 13, 2011 at 10:16:31PM +0200, Evaggelos Balaskas wrote:
[root@mylaptop ~]# time libguestfs-test-tool
[...]
[01990ms] /usr/bin/qemu-kvm \
-drive file=/tmp/libguestfs-test-tool-sda-CDyryJ,format=raw,if=virtio \
-nodefconfig \
-machine accel=kvm:tcg \
-nodefaults \
-nographic \
-m 500 \
-no-reboot \
-no-hpet \
-device virtio-serial \
-serial stdio \
-chardev socket,path=/tmp/libguestfsMRArh2/guestfsd.sock,id=channel0 \
-device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
-kernel /var/tmp/.guestfs-0/kernel.19350 \
-initrd /var/tmp/.guestfs-0/initrd.19350 \
-append 'panic=1 console=ttyS0 udevtimeout=300 no_timer_check acpi=off
printk.time=1 cgroup_disable=memory selinux=0 guestfs_verbose=1 TERM=xterm ' \
-drive
file=/var/tmp/.guestfs-0/root.19350,snapshot=on,if=virtio,cache=unsafefebootstrap:
mounting /proc
febootstrap: uptime: 0.95 0.25
febootstrap: ext2 mini initrd starting up: 3.12 zlib
Is there not any kernel output before the febootstrap line? That's
what I'd expect to see there, but maybe your kernel disables printk
boot messages or something like that.
Can you boot any other kernel instead? In the latest febootstrap you
should be able to pick a kernel by setting the $FEBOOTSTRAP_KERNEL and
possibly $FEBOOTSTRAP_MODULES environment variables (see
febootstrap-supermin-helper(8) manual page). You could try
downloading a standard Fedora or Debian kernel >= 2.6.36 to just see
if one of those kernels works instead. (Or compile a kernel from
upstream sources).
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages.
http://libguestfs.org