I'd like to report the following issue I am experiencing.
When running the below steps with ImDisk I end up with a non booting disk image whereas when using other mounting softwares (MS virtdisk, Arsenal driver) I do end up with a booting image.
1-Create a raw disk image (here test.img=64 MB)
2-Retrieve file size in sectors (here 131072)
3-Modify partition table : chs end/start=1023/254/63, sectors before=2048, total sectors=129023 (131072-2048-1)
4-Write nt6 mbr
5-Turn into vhd (optional / non relevant)
6-Mount disk image (ImDisk auto detect offset=2048)
7-Format to NTFS
8-Boot (in qemu or virtualbox)
In step 6, if I use ImDisk, image wont boot (in step 8) and I notice that hiddensec=1 in my boot sector.
Whereas, if I use MS Virtual Disk or Arsenal, image will boot and hiddensec=2048 (as it should).
Would this be a bug in ImDisk or is my above scenario flawed in some way?
As if ImDisk driver was wrongly reporting MBR datas to the format function.
Thanks for reading