Ok I have finally sorted this all out. The following code work on my system: clear set lang='en' set isopath='/ISO/pmagic_2019_09_03.iso' getbootpartition file $isopath loopback loop ($root)$isopath linux (loop)/pmagic/bzImage64 iso_filename=$isopath root=/dev/sda6$isopath directory=boot boot=live edd=on vga=normal initrd (loop)/pmagic/initrd.img (loop)/pmagic/fu.img (loop)/pmagic/m64.img Thanks guys for your help. Julian
Ok I have finnaly sorted this all out. The following code work on my system: clear set lang='en' set isopath='/ISO/pmagic_2019_09_03.iso' getbootpartition file $isopath loopback loop ($root)$isopath linux (loop)/pmagic/bzImage64 iso_filename=$isopath root=/dev/sda6$isopath directory=boot boot=live edd=on vga=normal initrd (loop)/pmagic/initrd.img (loop)/pmagic/fu.img (loop)/pmagic/m64.img Thanks guys for your help. Julian
Once again, when I cut-and paste the above into the Grub2win 'Edit Custom Code' and save, I get an error. Why is your code syntax slightly different from mine? The "" and the } are invalid, so I replaced the "" with ' ' and removed the } and there are now no errors. However, when I boot I receive message 'ISO NOT found.'. I have triple-checked the ISO location and it is valid. If I invert the if statement then booting suceeds but it sill can't find the .SQFS file after the 'Searching for PMAGIC_2018_04_30.SQFS'....
You could have downloaded it about 3 times by now!
You could have downloaded it about 3 times now!
Strange about the different syntax. I will still to mine. I managed to boot the 2018 version ISO, all the .img files all loaded but then it appears to pause saying "Searching for PMAGIC_2018_04_30.SQFS", and about 15 seconds later the rest follows (see attachment). This file is locata inside the ISO pmagic/pmodules folder. I have no idea how to tell the Menu to find this file! Any ideas? Here is what my almost working Menu looks like: clear set isopath='/ISO/pmagic_2018_04_30.iso' getbootpartition...
I found this amongst some files containing the Pmagic files: DEFAULT pmagic32 LABEL pmagic32 LINUX pmagic/bzImage INITRD pmagic/initrd.img,pmagic/fu.img,pmagic/m32.img,pmagic/files.cgz APPEND edd=on vga=normal LABEL pmagic64 LINUX pmagic/bzImage64 INITRD pmagic/initrd.img,pmagic/fu.img,pmagic/m64.img,pmagic/files.cgz APPEND edd=on vga=normal ....so I update my menu to: clear set isopath='/ISO/pmagic_pxe_2019_09_03.iso' set kernelpath='/pmagic/bzImage64' set bootparms='edd=on vga=normal' getbootpartition...
Trial version can be download from here: https://www.fcportables.com/parted-magic/