@
Victor,
I'm not sure where exactly the "pmodules" folder "is expected".
The "position" in the folder tree could be related to the parent folder "\pmagic\" alone, or it could be also related to the root of the ISO:
Code:
xxx.ISO -> \PMAGIC\PMODULES\
ORit could be related to the other "\pmagic\" folder, where "bzImage" and "initramfs" are located (or anything else).
I'll put it this way (sorry for all the capital letters and the "\", which are not the "Linux" style, but I though in this case it would be better):
Code:
PMAGIC-M.N.ISO
[BOOT]
\BOOT\
\PMAGIC\BZIMAGE
\PMAGIC\INITRAMFS
\PMAGIC\PMODULES\PMAGIC-M.N.SQFS
\PMAGIC\PMODULES\SCRIPTS\
UBCD.ISO -> \PMAGIC\
\BOOT\
\PMAGIC\BZIMAGE
\PMAGIC\INITRAMFS
\PMODULES\PMAGIC-M.N.SQFS
\PMODULES\SCRIPTS
Which means that in UBCD.ISO, there is indeed a "\pmagic\pmodules\" as in PMAGIC-M.N.ISO;
BUT it also means that the "relative level" (in the folder tree) of "bzImage", "initramfs" and "\pmodules\" are NOT the same.
In PMAGIC-M.N.ISO, all 3 are at the same "relative level", while in UBCD.ISO, the "\pmodules\" folder is 1 level up (relative to the 2 files "bzImage" and "initramfs").
So, when
ryran moved the "\pmodules\" folder one level "down", the result was:
Code:
PMAGIC-M.N.ISO
[BOOT]
\BOOT\
\PMAGIC\BZIMAGE
\PMAGIC\INITRAMFS
\PMAGIC\PMODULES\PMAGIC-M.N.SQFS
\PMAGIC\PMODULES\SCRIPTS\
UBCD.ISO -> \PMAGIC\
\BOOT\
\PMAGIC\BZIMAGE
\PMAGIC\INITRAMFS
\PMAGIC\PMODULES\PMAGIC-M.N.SQFS
\PMAGIC\PMODULES\SCRIPTS
and then the 2 files and the "\pmodules\" folder were "at the same relative level in the tree".
Changing the tree might also need to change some "cfg" file or changing some argument in it so to boot PartedMagic from UBCD, but the folder tree "might" need this type of improvement.
I hope I was clear. Of course, Icecube should know more about the conditions of the folder tree and the config files

.
I'm still not sure about ISO9660 being able to support that "long" path (using 2 "\pmagic\" consecutive folders), specially for the "*.sqfs" file (more than 31 characters long for the complete path). This might not be a problem in a USB drive (since it doesn't use ISO9660 ), but it might be in an optical media.
So,
Victor, would it be "problematic" to get rid of 1 of the "\pmagic\" folder, and use the same relative tree as pmagic*.iso?
I am thinking about the current 2 separate "\boot\" folders, the several cgf files, and all the scripts (ubcd2usb, ubcd2iso, antivirus updates and so on). There might be also other considerations which I don't currently remeber.