From the syslinux menu, fdubcd.iso (listed as FDUBCD in the initial boot menu of UBCD) can be booted (using MEMDISK), and all the DOS-based programs can be accessed as expected.
But, when FDUBCD is booted from grub4dos, the content of fdubcd.iso can't be accessed once in DOS, so most of the DOS programs can't be executed.
For those that already know UBCD 5.1.1, the difference is that when booting fdubcd.iso with isolinux -> MEMDISK, then drive "T:" in fdubcd is the content of fdubcd.iso (as expected), but when booting fdubcd.iso with (isolinux ->) grub4dos, then drive "T:" in fdubcd is the content of the full UBCD, so the content of fdubcd.iso can't be accessed.
When booting fdubcd.iso from the syslinux/islonux menu, the entry (which works correctly) is:
LABEL FDUBCD LINUX /boot/syslinux/memdisk INITRD /ubcd/images/fdubcd.iso.gz APPEND iso raw
When booting fdubcd.iso from the grub4dos menu, the entry (which boots fdubcd.iso correctly but doesn't allow the expected access to its content once in DOS) is:
title FDUBCD\n map --mem /ubcd/images/fdubcd.iso.gz (hd32) map --hook root (hd32) chainloader (hd32)
If I customize UBCD by expanding the content of fdubcd.iso (and the content of fdubcd.img inside it), thus having the images and their expanded contents in UBCD, then grub4dos can use the DOS programs because it finds them (expanded already) in UBCD.
I would like to avoid this "extra" expansion in my customized UBCD, and still have access to the content of fdubcd.iso once in DOS. I am hoping that some improvements to the grub4dos entry could achieve the goal, but if this would be not enough, then any other advice is welcome. If there is a specific grub4dos version that could solve this issue, I'd be happy to know about it.
I don't know much about grub4dos commands / parameters, so the menu posted above is just the one that comes in UBCD 5.1.1.
I would appreciate any advice on the potential modifications to the above grub4dos menu so to achieve the goal.
If I wasn't clear enough, or some additional info is required, I'll be happy to provide it; just ask.