qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Fabrice Bellard <fabrice@bellard.org>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] using partition images
Date: Mon, 08 May 2006 12:20:28 +0200	[thread overview]
Message-ID: <445F1B6C.70205@bellard.org> (raw)
In-Reply-To: <20060508044926.GA21951@jbrown.mylinuxbox.org>

A few ideas:

- Use an external file 'bootsect.bin' as it is done for linux_boot.bin.
- Provide the source code of the boot sector.
- Instead of copying the raw block driver, use the block driver recursively.

Fabrice.

Jim C. Brown wrote:
> On Sun, May 07, 2006 at 11:53:46PM -0400, Jim C. Brown wrote:
> 
>>Known Issues:
>>
>>booting is not supported - this will require passing a separate bootsector.
> 
> 
> I stand corrected. New patch that adds support for booting partition images.
> Apply this on top of the first one.
> 
> Also attached is the required bootsector.h (this contains the actual code of
> the bootsector).
> 
> Bootsector code for the MBR was taken from http://www.cpqlinux.com/mbr.html.
> 
> Also attached is a tarball of the sources I used to create bootsector.h

  reply	other threads:[~2006-05-08 10:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-08  3:53 [Qemu-devel] using partition images Jim C. Brown
2006-05-08  4:49 ` Jim C. Brown
2006-05-08 10:20   ` Fabrice Bellard [this message]
2006-05-08 12:26     ` Jim C. Brown
2006-05-08 12:32       ` Johannes Schindelin
2006-05-08 13:11       ` Paul Brook
2006-05-08 14:19         ` Jim C. Brown
2006-05-08 14:28           ` Paul Brook
2006-05-08 14:59             ` Jim C. Brown
2006-05-08 15:09               ` Paul Brook
2006-05-08 14:49       ` Jim C. Brown

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=445F1B6C.70205@bellard.org \
    --to=fabrice@bellard.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).