But in the readme it says it allows you to map a logical partition as a primary partition as in map --in-situ (hd0,4)+1 (hd0), haven't got the command working yet. TinyBit told me it could work with with windows 3.1 if it's just the partition image without the MBR track, its at post #4. I could never figure out how to just have the partition image without the MBR.
No, it doesn't work with Windows 3.11, I tested it.
But it did work (I tested it a long time ago) with Windows 98.
When you do:
map --in-situ (hd0,4)+1 (hd0)
you are mapping (--in-situ) an extent that is already a volume
With an image off a whole hard disk that would be the same extent you use for partnew (i.e. the blocklist with 63 sectors added at the beginning and 63 sectors removed at the length).
Mind you it is possible that with Windows 9x it worked as a logical volume inside extended while - for whatever reasons - mapping the modified blocklist extent doesn't.
I believe that - again for *whatever* reasons Windows 3.11 does a direct disk access of some kind and since the MBR partition table is "emulated" it doesnt like it, whilst with partnew since the "real" MBR partition table is modified, it works.
If you want to experiment with a "real" image without the first 63 sectors you simply do a dd copy of the RAW image skipping over the first few sectors.
If you are OK with dd it would be:
dd if=original.raw skip=63 bs=512 of=volume.raw
Or you can use partcopy:
http://www.virtualob...gs/partcopy.htm
or any similar tool, you want everything but the first 63 sectors or 63*512=32256 bytes., I am particularly keen to use (in windows) the dsfok dsfo tool:
http://members.ozema...ware/index.html
because it is minimal and just works.
dsfo original.raw 32256 0 volume.raw
Wonko