[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE
From: |
Kevin O'Connor |
Subject: |
Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE |
Date: |
Wed, 4 Jan 2012 22:03:53 -0500 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Wed, Jan 04, 2012 at 07:02:34PM +0100, Gerhard Wiesinger wrote:
> 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?
There is a "bootindex" option that can be passed to the "-device"
parameter of QEMU. This option give more fine grained control of boot
order.
However, the default should have been to boot from a harddrive first,
so I'm not sure why you see the cdrom first. You could add the
following to the QEMU command line to see the seabios debugging info:
-chardev stdio,id=seabios -device isa-debugcon,iobase=0x402,chardev=seabios
-Kevin
Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, Gleb Natapov, 2012/01/05
Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, Gerd Hoffmann, 2012/01/05