View Single Post
Old 15th January 2009, 16:40
frippz frippz is offline
Junior Member
Join Date: Jan 2009
Posts: 3
Thanks: 0
Thanked 2 Times in 1 Post

I just created the LV with lvcreate, yes. Then I used qemu-img to convert the image file.

qemu-img convert disk0.qcow2 -O raw /dev/mogwai/milltime
The only thing that shows up in /var/log/libvirt/qemu/milltime.log is:

/usr/bin/kvm -S -M pc -m 1024 -smp 1 -name milltime -monitor pty -boot c -drive file=/dev/mogwai/milltime,if=ide,index=0,boot=on -net nic,macaddr=52:54:00:09:91:db,vlan=0 -net tap,fd=14,script=,vlan=0,ifname=vnet2 -serial none -parallel none -usb -vnc 
char device redirected to /dev/pts/5
info cpus
Doesn't say much, from what I can tell. Are there any other logs I can check?

edit: This wasn't mentioned specifically in the guide, but I did boot the machine from the disk0.qcow2 image first, in order to change the password for the account. I then proceeded to shut it down (from within the VM using sudo shutdown -h now) and changed the config file to point to the LV instead of the image file, redefined the VM in virsh and started it up again, which resultet in the crc error and "System halted"

edit2: Oh yeah, here's the xml-file for the VM

<domain type='kvm'>
    <boot dev='hd'/>
  <clock offset='utc'/>
    <disk type='file' device='disk'>
      <source file='/dev/mogwai/milltime'/>
      <target dev='hda' bus='ide'/>
    <interface type='bridge'>
      <mac address='52:54:00:09:91:db'/>
      <source bridge='br0'/>
    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='-1' listen=''/>

Last edited by frippz; 15th January 2009 at 17:01.
Reply With Quote