Hi,
I am getting following 'qemu: could not load kernel' error while trying to create
a new VM using virt-install or virt-manager. The software versions are as follows: CentOS
6.2, Libvirt 0.9.4, qemu-kvm 2:0.12.1.2-2.209.el6_2.1.
The qemu.conf has disabled dynamic_ownership setting. The VM instantiation has worked
fine before when dynamic_ownership was enabled (default). So is this error related to
dynamic ownership being disabled? I appreciate any help on how to debug this error
further.
Also, is there any documentation on why/when dynamic_ownership setting should be used? We
have enabled it to figure this out through some test installs but right now unable to move
further with the install step itself.
{{{
virt-install --connect qemu:///system \
-n $guestname \
-r 512 \
--vcpus=1 \
--os-type=linux \
--os-variant=rhel6 \
--accelerate \
--graphics vnc,keymap=en-us \
-v \
-w bridge:br1 \
--disk path=$datastore/$guestname.img,size=40 \
-l $repo \
-x "ks=$ksurl/$ksfile ksdevice=eth0 ip=$guestip netmask=$netmask
nameserver=$nameserver gateway=$gw"
}}}
{{{
Starting install...
Retrieving file .treeinfo...
| 798 B 00:00 ...
Retrieving file vmlinuz...
| 7.5 MB 00:00 ...
Retrieving file initrd.img...
| 59 MB 00:01 ...
Allocating 'virtinst-vmlinuz.l4mEAd'
| 3.8 MB 00:00
Transferring virtinst-vmlinuz.l4mEAd
| 3.8 MB 00:00
Allocating 'virtinst-initrd.img.IvGhFr'
| 29 MB 00:00
Transferring virtinst-initrd.img.IvGhFr
| 29 MB 00:05
Creating storage file generic-server.img
| 40 GB 00:00
ERROR internal error process exited while connecting to monitor: char device redirected
to /dev/pts/1
qemu: could not load kernel '/var/lib/libvirt/boot/virtinst-vmlinuz.l4mEAd':
Permission denied
Domain installation does not appear to have been successful.
}}}
--
Thanks,
Shantanu