I would like to know if I can build a VHD or ISO image of Win PE under *Free*DOS,because I can't do it under Windows. This image created should be loaded into RAM memory with Grub4DOS using menu.lst
menu.lst
timeout 12
title Windows PE iso from RamDisk
find --set-root /pe.iso
map --mem /pe.iso (hd0)
map --hook
root (hd0,0)
chainloader /bootmgr
I tried to use mkisofs for DOS to build the ISO image,I did something like this :
mkisofs -v -R -J -T -b bootmgr -no-emul-boot -boot-load-size 4 -o c:\pe.iso c:\menu\iso\pe
(inside the c:\menu\iso\pe folder I placed the Windows PE 3.0 files :
Boot
EFI
Sources
bootmgr
but it gives this error :
(hd0,0)
Filesystem type is fat, partition type 0xb
autodetect number-of-heads failed. Use default value 255
autodetect sectors-per-track failed. Use default value 63
Warning : Unrecognized partition table for drive 80. Please rebuild it using a Microsoft-compatible FDISK toll (err=14). Current C/H/S=19/255/63
root (hd0,0)
Error 5 : Partition table invalid or corrupt. Thanks.
