qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] boot order=d bug?


From: Thomas Huth
Subject: Re: [Qemu-devel] boot order=d bug?
Date: Mon, 8 May 2017 09:57:13 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

On 08.05.2017 06:22, Carl Karsten wrote:
> neat.  missed that.
> 
> except it doesn't work.
> 
> address@hidden:~/temp$ qemu-system-x86_64 -drive
> file=boot.img,format=raw,bootindex=1
> qemu-system-x86_64: -drive file=boot.img,format=raw,bootindex=1: Block
> format 'raw' does not support the option 'bootindex'

bootindex is a property of the "-device" parameter, not of "-drive", so
you've got to specify both parameters here (with "if=none" for -drive).
See bootindex.txt for details.

 Thomas

> On Sun, May 7, 2017 at 9:02 PM, Thomas Huth <address@hidden> wrote:
> 
>> On 07.05.2017 07:42, Carl Karsten wrote:
>>> In the real world I will have a machine with a sata hd and boot the
>>> installer from a usb stick. I want to test this with 2 disk image files.
>>>
>>> The usb stick will be built like so:
>>> https://github.com/CarlFK/video-stack-deploy/blob/
>> usbstick/scripts/mk_usb_installer.sh
>>>
>>> but this will demo the problem I have run into with qemu:  how do I boot
>>> from boot.img without using boot=menu?
>>
>> Have you already tried to use the bootindex property? See:
>>
>> http://git.qemu.org/?p=qemu.git;a=blob;f=docs/bootindex.txt
>>
>>  Thomas
>>
>>
> 
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]