(hd0) == HDD-1 == INT 0x13 drive 0x80. (hd0,0) == HDD-1, first partition. So:
Which changes should I make to menu.lst to start XP-2.img on HDD-1 second primairy partition ?
title Boot XP Image - XP-2.img - WinVBlock FILEDISK # Use HDD-1, second partition. This is the only change. root (hd0,1) # Sector-mapped disk map /XP-2.img (hd0) # Dummy WinVBlock parameter disk map --rd-size=2048 map --mem (rd)+4 (0x55) # Commit mapped drives map --hook # Tell WinVBlock the filename to switch from sector-mapped to file-backed write (0x55) #GRUB4DOS\x00v=1\x00XP-2.img\x00\x80\x00 # Boot the Windows in the image file root (hd0,0) chainloader /ntldr
There is limited support for this with WinVBlock. WinVBlock will take the first physical disk that meets (or exceeds) the size requirements for the sector-mapped disk, and will assume that such disk is the backing disk. If HDD-1 is bigger than the image file (of course it is), then it will be chosen as the backing disk. This is because there isn't currently any way to tell WinVBlock which physical disk to use as the backing disk.
And which changes should I make to menu.lst when I wish to start XP-2.img on HDD-2 with one primairy partition