Hi vitex,
...you can use a single command line that will try direct mapping first and fall back to emulation in case of failure:
Thanks for this suggestion. I was aware of it but tend to reserve its use to testing the suitability of new ISOs. In view of the OP having some difficulty in understanding the advice offered, it seemed prudent to indicate how the existing menu.lst might be amended using the most simple changes.
Do you know what change was made to TC to support direct mapping?
The short answer is, no. In the last paragraph of reply #10 in:
http://forum.tinycorelinux.net/index.php/topic,10430.msg57531.html#msg57531The problem was outlined to the Core team and shortly afterwards direct mapping became usable. If the reason was announced I must have missed it.
I am also unaware of any method to force an ISO to be stored in contiguous blocks on an ext2-based file system.
Again referring to reply #10 of the previous topic, note [6] alludes to the original developer indicating that ext2 may not be a good choice when using GRUB4DOS to boot an ISO directly. This was a primary driver behind my use of two partitions on the flash drive.
The first partition uses FAT, the second ext2.
A FAT partition allows the ISO(s) to be made contiguous. Additionally, when used in this way the matter of maintaining permissions does not arise as the TC file system is entirely in RAM (equivalent to booting from CD). In such circumstances the ISO(s) can be made contiguous by moving everything in the FAT partition to an alternative drive then moving them back again. This may not be the most elegant of solutions but is practical and reliable.
An ext2 partition is used to store TC data such as /home /opt /tce. Again this avoids problems with permissions and enables TC to be used in the usual manner. It is similar to a frugal install on a hard disk.
This combination of partitions overcomes many of the problems arising when a single partition used for both the ISO and data storage.
Once the above had been achieved, the framework for a bootable USB drive capable of directly booting multiple ISOs had been obtained. In turn this led to the posting of reply #10 in the previous topic.