From: Anthony Liguori <anthony@codemonkey.ws>
To: Laurent Vivier <Laurent.Vivier@bull.net>
Cc: "Daniel P. Berrange" <berrange@redhat.com>, kvm@vger.kernel.org
Subject: Re: Failure to boot CDROM with -drive arg
Date: Tue, 08 Jul 2008 10:14:23 -0500 [thread overview]
Message-ID: <4873844F.7040107@codemonkey.ws> (raw)
In-Reply-To: <1215529409.3805.24.camel@frecb07144>
Laurent Vivier wrote:
> Le mardi 08 juillet 2008 à 09:59 -0500, Anthony Liguori a écrit :
>
>> Laurent Vivier wrote:
>>
>>> So, "boot=on" means in fact "bootable=true"
>>>
>>>
>> I guess. I don't know that the later is more clear. I think the source
>> of the confusion is the entire concept of "first bootable harddisk"
>> which is what -boot c really means.
>>
>> FWIW, the reason media=cdrom,boot=on doesn't work, is that a CDROM's
>> boot record is in el torito format instead of the traditional BIOS boot
>> sector.
>>
>> media=cdrom,boot=on would work if the image was a disk image instead of
>> an ISO.
>>
>> In fact, I'm inclined to think that media=cdrom,boot=on should not be
>> explicitly prohibited because of this fact.
>>
>
> To simplify, I think qemu should ignore "boot=on" when "if=ide".
>
It's necessary to boot from anything other than hda. For instance:
qemu-system-x86_64 -hda foo.img -drive file=boo.img,if=ide,boot=on -boot c
Regards,
Anthony Liguori
> Laurent
>
next prev parent reply other threads:[~2008-07-08 15:14 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-08 8:37 Failure to boot CDROM with -drive arg Daniel P. Berrange
2008-07-08 8:48 ` Laurent Vivier
2008-07-08 8:51 ` Daniel P. Berrange
2008-07-08 8:54 ` Laurent Vivier
2008-07-08 9:17 ` Soren Hansen
2008-07-08 9:21 ` Daniel P. Berrange
2008-07-08 9:29 ` Laurent Vivier
2008-07-08 13:01 ` Anthony Liguori
2008-07-08 13:45 ` Laurent Vivier
2008-07-08 14:59 ` Anthony Liguori
2008-07-08 15:03 ` Laurent Vivier
2008-07-08 15:14 ` Anthony Liguori [this message]
2008-07-08 9:28 ` Laurent Vivier
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=4873844F.7040107@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=Laurent.Vivier@bull.net \
--cc=berrange@redhat.com \
--cc=kvm@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.