Bug#553171: [Pkg-libvirt-maintainers] Bug#553171: cannot boot debian netinst on guest

2009-11-03 Thread Harald Dunkel
Guido Günther wrote:
 On Mon, Nov 02, 2009 at 02:23:02PM +0100, Harald Dunkel wrote:
 I got the same problem with kvm 88+dfsg-1 (which is still in
 experimental). AFAICS virtio is not supported for booting iso
 images.
 Virtio is only supported for disks not for CDROMs.
  -- Guido
 

I didn't tell virt-install to use virtio for booting the CD. Does
this mean that virt-install generates a broken command line to
run kvm?


Regards

Harri




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#553171: cannot boot debian netinst on guest

2009-11-02 Thread Harald Dunkel
I got the same problem with kvm 88+dfsg-1 (which is still in
experimental). AFAICS virtio is not supported for booting iso
images.


Please mail

Harri



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#553171: [Pkg-libvirt-maintainers] Bug#553171: cannot boot debian netinst on guest

2009-11-02 Thread Guido Günther
On Mon, Nov 02, 2009 at 02:23:02PM +0100, Harald Dunkel wrote:
 I got the same problem with kvm 88+dfsg-1 (which is still in
 experimental). AFAICS virtio is not supported for booting iso
 images.
Virtio is only supported for disks not for CDROMs.
 -- Guido



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#553171: cannot boot debian netinst on guest

2009-10-30 Thread Harald Dunkel
It says

LC_ALL=C \
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin \
HOME=/root USER=root LOGNAME=root \
/usr/bin/kvm -S -M pc -m 1024 -smp 1 -name Test \
-monitor unix:/var/lib/libvirt/qemu/Test.monitor,server,nowait \
-no-reboot -boot d \
-drive file=/export/storage/Test/hda.qcow2,if=virtio,index=0 \
-drive 
file=/export/isos/debian-testing-amd64-netinst.iso,if=virtio,media=cdrom,index=1
 \
-net nic,macaddr=52:54:00:6a:20:1e,vlan=0,model=virtio \
-net tap,fd=17,vlan=0 -serial pty -parallel none \
-usb -usbdevice tablet -vnc 127.0.0.1:0 -k en-us
char device redirected to /dev/pts/3

I tested it on the command line. If I omit the if=virtio for
the iso file, then it boots. It also boots for -cdrom /filename.iso.

Kernel on the host is the one included in Testing:
2.6.30-2-amd64.


Hope this helps. Please mail.


Regards

Harri



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#553171: cannot boot debian netinst on guest

2009-10-29 Thread Harald Dunkel
Package: libvirt0
Version: 0.7.1-2

If I try to install a virtual machine, then the *.iso file
(debian-testing-amd64-netinst.iso) fails to boot. On the
guest console is a message:

CDROM boot failure code : 0003
Boot from CD-Rom failed: could not read the boot disk
FATAL: No bootable device.

This is fatal.

Here is the procedure I used

export VIRSH_DEFAULT_CONNECT_URI=qemu:///system
name=Test
kvmdir=/export/storage
mkdir -p $kvmdir/$name
qemu-img create -f qcow2 $kvmdir/$name/hda.qcow2 32G

virt-install --connect ${VIRSH_DEFAULT_CONNECT_URI} \
-n $name -r 1024 -vcpus=1 -f $kvmdir/$name/hda.qcow2 \
--network=bridge:br0 --vnc --accelerate -v \
-c /export/isos/debian-testing-amd64-netinst.iso \
--os-type=linux --os-variant=debianSqueeze

I got the same problem for booting the Debian 503 netinst
CD. Virt-manager's wizard cannot do better, either.

It worked fine using Lenny as a host. libvirt can also run
my old virtual machines.


Regards

Harri




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#553171: [Pkg-libvirt-maintainers] Bug#553171: cannot boot debian netinst on guest

2009-10-29 Thread Guido Günther
On Thu, Oct 29, 2009 at 12:37:09PM +0100, Harald Dunkel wrote:
 Package: libvirt0
 Version: 0.7.1-2
 
 If I try to install a virtual machine, then the *.iso file
 (debian-testing-amd64-netinst.iso) fails to boot. On the
 guest console is a message:
 
   CDROM boot failure code : 0003
   Boot from CD-Rom failed: could not read the boot disk
   FATAL: No bootable device.
 
 This is fatal.
/var/log/libvirt/qemu/vmlog says what?
Cheers,
 -- Guido



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org