One thing I couldn't help but notice is that the disk space required by MemTest86 seems a bit excessive for how much it actually uses, and I managed to prove this to myself by being able to get it to work from a 32MB (not a typo) MMC card.
From there, I was able to dd the image in Linux to then have a small file size that can be easily launched via Ventoy - a situation where a difference of a full gigabyte can be the difference between whether you're able to fit some ISOs or not (in my case, it was Foxclone Edge which is around 800MB).
The trick is to create a ramdisk using something like Romex Primo Ramdisk and configure it as a SCSI disk that does not automatically create the TEMP folder and has a ramdisk size of 513MB (not a typo). From there, use Rufus v3.1.1320 (newer versions seem to fail?), press Ctrl+Alt+F and select the ramdisk as your destination drive, then select the normal memtest86-usb.img file that is provided in the ZIP download.
Now from there, you can use a program like EaseUS Partition Master to clone the ramdisk onto a smaller-capacity flash disk, whether a USB drive, SD/MMC card, etc (make sure the destination flash disk is using GPT - I know that at least EaseUS Partition Master can convert MBR to GPT). Then, after that, connect the disk in Linux and run the following command to create a .img of it that will "just work" in Ventoy:
sudo dd if=/dev/sd* status=progress of=~/Downloads/MemTest86.img
If you want to be more fancy-pants, you can shrink and move the two FAT16 partitions to their smallest sizes (I found 9MB to be the smallest but, at least in EaseUS Partition Master, I actually had to first resize to 32MB and then resize to 9MB; also, I couldn't resize the second FAT16 partition until I first manually assigned a drive letter via diskpart.exe due to it being a hidden partition or something), then trimming off the end of your resulting .img file and then subsequently writing a recreated backup portion of the GPT partition table that's normally located at the end.
From there, I was able to dd the image in Linux to then have a small file size that can be easily launched via Ventoy - a situation where a difference of a full gigabyte can be the difference between whether you're able to fit some ISOs or not (in my case, it was Foxclone Edge which is around 800MB).
The trick is to create a ramdisk using something like Romex Primo Ramdisk and configure it as a SCSI disk that does not automatically create the TEMP folder and has a ramdisk size of 513MB (not a typo). From there, use Rufus v3.1.1320 (newer versions seem to fail?), press Ctrl+Alt+F and select the ramdisk as your destination drive, then select the normal memtest86-usb.img file that is provided in the ZIP download.
Now from there, you can use a program like EaseUS Partition Master to clone the ramdisk onto a smaller-capacity flash disk, whether a USB drive, SD/MMC card, etc (make sure the destination flash disk is using GPT - I know that at least EaseUS Partition Master can convert MBR to GPT). Then, after that, connect the disk in Linux and run the following command to create a .img of it that will "just work" in Ventoy:
sudo dd if=/dev/sd* status=progress of=~/Downloads/MemTest86.img
If you want to be more fancy-pants, you can shrink and move the two FAT16 partitions to their smallest sizes (I found 9MB to be the smallest but, at least in EaseUS Partition Master, I actually had to first resize to 32MB and then resize to 9MB; also, I couldn't resize the second FAT16 partition until I first manually assigned a drive letter via diskpart.exe due to it being a hidden partition or something), then trimming off the end of your resulting .img file and then subsequently writing a recreated backup portion of the GPT partition table that's normally located at the end.
Comment