[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: Qemu-KVM with 3x IDE HDD + CDROM not working
From: |
Kevin O'Connor |
Subject: |
[Qemu-devel] Re: Qemu-KVM with 3x IDE HDD + CDROM not working |
Date: |
Sat, 15 May 2010 20:43:36 -0400 |
User-agent: |
Mutt/1.5.20 (2009-08-17) |
On Wed, May 12, 2010 at 03:19:26PM +0200, Peter Lieven wrote:
> Hi Qemu/KVM Devel Team,
>
> if I create a VM with more than 2 harddisks and a CDROM Image and
> want to boot from CDROM this is not working.
> From my understanding at least 3 IDE Drives + 1 IDE CDROM should work.
>
> cmdline:
> /usr/bin/qemu-kvm-0.12.4 -net none -drive
> file=/dev/sdb,if=ide,boot=on,cache=none,aio=native -drive
> file=/dev/sdc,if=ide,boot=off,cache=none,aio=native -drive
> file=/dev/sdd,if=ide,boot=off,cache=none,aio=native -m 256 -cpu
> qemu64,model_id='Intel(R) Xeon(R) CPU E5430 @ 2.66GHz'
> -monitor tcp:0:4001,server,nowait -vnc :1 -name 'ide-test' -boot
> order=dc,menu=on -cdrom
> /home/kvm/cdrom/root/KNOPPIX_V6.2.1CD-2010-01-31-DE.iso -k de
> -pidfile /var/run/qemu/vm-153.pid -mem-path /hugepages
> -mem-prealloc -rtc base=utc,clock=vm -no-kvm-irqchip -usb
> -usbdevice tablet
>
> SEABIOS shows error: Could not read from CDROM (code 0001)
Your third drive conflicts with the cdrom. Try adding ",index=3" to
the definition of sdd.
Qemu should probably handle this better, but the above works for me.
-Kevin