Hello,
I'm having the following boot order problem using an SCSI option ROM:
Command line:
/root/download/qemu/git/qemu-kvm/x86_64-softmmu/qemu-system-x86_64
-drive file=1.img,media=disk,if=scsi,bus=0,unit=0
-drive file=2.img,media=disk,if=scsi,bus=0,unit=1
-drive file=3.img,media=disk,if=scsi,bus=0,unit=2
-drive file=4.img,media=disk,if=scsi,bus=0,unit=3
-cdrom KNOPPIX_V6.2CD-2009-11-18-DE.iso
-boot order=c -m 256 -k de -vga vmware -vnc :0
-bios /root/download/seabios/git/seabios/out/bios.bin
-option-rom BIOS/8xx_64.rom
-net nic,model=rtl8139,macaddr=1a:46:0b:ca:bc:7c
-net tap,ifname=tap0,script=no,downscript=no
Still boots the cdrom instead of harddisk. So it is impossible to have a
bootable CDROM in the VM without booting from it.
Going into boot menu (-boot order=c,menu=on)and selecting HD works well.
Any ideas to fix it?
I also want to disable iPXE/gPXE on boot. I found several "workarounds"
specifying rom files on different command lines:
1.) -net nic,model=rtl8139,macaddr=1a:46:0b:ca:bc:7c,rom=/dev/null
(https://lists.gnu.org/archive/html/qemu-devel/2010-03/msg00546.html)
2.) -device rtl8139,romfile=/dev/null
3.) remove ROM files.
I think best way would be:
-net nic,model=rtl8139,macaddr=1a:46:0b:ca:bc:7c,rom=/dev/null
or by SEABIOS boot option.
Removing rom files isn't an option because I want it by command line
switch and need them for other VMs.
Any thoughts?
Thnx.
Ciao,
Gerhard
--
http://www.wiesinger.com/