From: Carl Karsten <carl@personnelware.com>
To: Thomas Huth <huth@tuxfamily.org>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] boot order=d bug?
Date: Sun, 7 May 2017 23:22:09 -0500 [thread overview]
Message-ID: <CADmzSSibDhGEExf2JSC9r1Nh7MZpCP34buM+Nv5DWmAg1NHMZQ@mail.gmail.com> (raw)
In-Reply-To: <83bb9749-ae49-3b26-dca8-3e600cf041d6@tuxfamily.org>
neat. missed that.
except it doesn't work.
juser@gator:~/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'
juser@gator:~/temp$ qemu-system-x86_64 -drive
file=boot.img,bootindex=1WARNING: Image format was not specified for
'boot.img' and probing guessed raw.
Automatically detecting the format is dangerous for raw images,
write operations on block 0 will be restricted.
Specify the 'raw' format explicitly to remove the restrictions.
qemu-system-x86_64: -drive file=boot.img,bootindex=1: Block format 'raw'
does not support the option 'bootindex'
Is there a "yes you do --force" option ?
On Sun, May 7, 2017 at 9:02 PM, Thomas Huth <huth@tuxfamily.org> 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
>
>
--
Carl K
next prev parent reply other threads:[~2017-05-08 4:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-07 5:42 [Qemu-devel] boot order=d bug? Carl Karsten
2017-05-08 2:02 ` Thomas Huth
2017-05-08 4:22 ` Carl Karsten [this message]
2017-05-08 7:57 ` Thomas Huth
2017-05-08 15:01 ` Carl Karsten
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CADmzSSibDhGEExf2JSC9r1Nh7MZpCP34buM+Nv5DWmAg1NHMZQ@mail.gmail.com \
--to=carl@personnelware.com \
--cc=huth@tuxfamily.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).