qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] using partition images


From: Fabrice Bellard
Subject: Re: [Qemu-devel] using partition images
Date: Mon, 08 May 2006 12:20:28 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913

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 via email to

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