Centos 6.6 KVM host will not run Jessie VM

General support questions
Post Reply
theNADS
Posts: 69
Joined: 2009/10/20 12:57:10
Location: East Midlands, UK

Centos 6.6 KVM host will not run Jessie VM

Post by theNADS » 2015/07/06 14:17:44

Homies,

I have not been on this forum in a while as centos has ran without issue for some time now. However, I am suffering with my first problem for a few years.

My Centos 6.6 KVM host will not allow me to install debain jessie.

I used the following install commands:

Code: Select all

virt-install \
        --name=vm4 \
        --ram=2048 \
        --vcpus=2 \
        --os-type=linux \
        --os-variant=debianwheezy \
        --disk path=/dev/logvol_guests/volume_4,device=disk,bus=virtio,sparse=true,format=raw \
        -w bridge=br0,model=virtio \
        --nographics \
        -x console=ttyS0,115200n8 \
        --location http://mirror.ox.ac.uk/debian/dists/jessie/main/installer-amd64/
The install goes through fine. When the vm reboots it displays the grub menu fine, then it hangs at the following point:

Code: Select all

Loading Linux 3.16.0-4-amd64 ...
Loading initial ramdisk ...
The log for the vm shows the following:

Code: Select all

2015-07-06 14:09:54.380+0000: starting up
LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin /usr/libexec/qemu-kvm -name vm4 -S -M rhel6.6.0 -enable-kvm -m 2048 -realtime mlock=off -smp 2,sockets=2,cores=1,threads=1 -uuid 57a53f80-cbea-ed5b-f12c-a2113d49288c -nographic -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/vmliquid4.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x4.0x7 -device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x4 -device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x4.0x1 -device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x4.0x2 -drive file=/dev/logvol_guests/volume_liquid4,if=none,id=drive-virtio-disk0,format=raw,cache=none,aio=native -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -netdev tap,fd=22,id=hostnet0,vhost=on,vhostfd=23 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:1f:64:cc,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -device usb-tablet,id=input0 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6 -msg timestamp=on
char device redirected to /dev/pts/0
qemu: terminating on signal 15 from pid 1662
2015-07-06 14:13:10.755+0000: shutting down
I have tried to ssh directly into the server and the connection seems to get rejected.

This is the first time I have tried the get a Jessie vm onto a centos6 host and I am wondering if the two os's are not compatible since jessie now uses systemd?

Any thoughts would be much appreciated.

theNADS
Posts: 69
Joined: 2009/10/20 12:57:10
Location: East Midlands, UK

Re: Centos 6.6 KVM host will not run Jessie VM

Post by theNADS » 2015/07/06 16:04:03

Stack Exchange solved this issue for me:

http://unix.stackexchange.com/questions ... al-ramdisk

Post Reply