Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unable to save reports on Memtest86 Pro
#1
Hello, I have Memtest86 Pro from PassMark Software, https://www.memtest86.com/ 
The problem I have is I am unable to save any reports or benchmark results. I have tried copying over the .img file directly onto my Ventoy drive, and also extracting the contents of the .img file and placing those on the Ventoy drive instead. They are EFI files. It appears Memtest86 Pro saves all reports (.html files) and benchmark results (.png image files) to the EFI/BOOT directory, however it is unable to write. Any idea what I can try to fix this so I can properly save report files? PassMark seems to think this may be due to how Ventoy mounts the image, in a similar fashion to a standard CD/DVD, meaning you won't be able to write anything, just boot only. Any help on this would be appreciated.

Thanks!
Reply
#2
1. Firstly use the following CI release:
https://github.com/ventoy/Ventoy/actions...3616617036
https://www.ventoy.net/en/doc_github_ci.html

2. Boot memtest86-usb.img with the above CI release,  then test and save the html report and finally power off.

Then find the memtest86-usb.img file and open it with 7zip (https://www.7-zip.org/) and you will find the html report at  /MemTest86.img/EFI/BOOT as in the attachment. 
You just need to extract it from the img file.


Attached Files Thumbnail(s)
   
Reply
#3
(12-05-2022, 03:55 AM)longpanda Wrote: 1. Firstly use the following CI release:
https://github.com/ventoy/Ventoy/actions...3616617036
https://www.ventoy.net/en/doc_github_ci.html

2. Boot memtest86-usb.img with the above CI release,  then test and save the html report and finally power off.

Then find the memtest86-usb.img file and open it with 7zip (https://www.7-zip.org/) and you will find the html report at  /MemTest86.img/EFI/BOOT as in the attachment. 
You just need to extract it from the img file.
Hello, thanks for the quick response. I have updated my Ventoy to the CI build you listed. I copied over my memtest86-pro-usb.img file onto my Ventoy drive and am booting directly from the .img rather than the extracted EFI folder. Same setup you are using, however I have the Pro version of Memtest86. When I save the report and benchmark files, they say they are saved successfully, so no error. However, when I extract the .img using 7-zip and go into EFI/BOOT the files are still missing.

Looking at your screenshot, it appears the Pro version is laid out differently.. when you open up the .img file, in the root there is two .img's inside it
1) EFI System Parition
2) DMA Test Partition

I have attached a screenshot to show you the layout of the Memtest86 Pro img file.

I will extract the EFI System Parition using 7-zip over to Ventoy and try booting via the EFI file and see if I can get it to write the files using that method.

[Image: 2022_12_05_123640.png]

[Image: 2022_12_05_123827.png]

[Image: 2022_12_05_123902.png]

Report files and log still missing after it said it "saved successfully".

Please note, to speed up your debugging process, you don't have to wait for a memory test to complete, you can Save System summary to file, run benchmark tests and save the images, and take screenshots using F12, which all write files.

Thanks for all your help on this. Hopefully we can find a solution.

@longpanda I attempted booting via the extracted EFI directory and booting the BOOTX64.efi. Memtest86 boots this method as well, but fails to write.


[Image: 2022_12_05_132627.png]

Memtest86 Pro allows you to change the location of where to save the files. So naturally I attempted this as well, and to get a look at what Memtest86 is seeing.

In EFI file boot mode, it just displays the VTOYEFI partition, RW mode, with a total capacity of 31MB. That appears to be the Ventory EFI system partition for Ventoy itself, which would definitely be incorrect to save the files in.

[Image: 2022_12_05_133134.png]

In .img file boot mode, as you used, it displays two additional partitions without a label that are 255MB in size and mostly used. I'm not sure what these are, I tried writing to partition 1 and it wrote successfully, but I'm looking all over the Ventoy drive for the files and haven't found them.

[Image: 2022_12_05_133444.png]

As you can see, in .img file boot mode it saves successfully, however I'm unable to find the files.

[Image: 2022_12_05_133656.png]


I hope this information helps you find the solution. Please let me know if you need any more information or things for me to test. I will reach out to PassMark again to see if they have any further information that can be helpful.

Thanks again!
Reply
#4
There are 3 files after you open the img file in 7zip.

0) MemTest86.fat  <----------- Try open this

1) EFI System Parition

2) DMA Test Partition
Reply
#5
(12-06-2022, 12:07 PM)longpanda Wrote: There are 3 files after you open the img file in 7zip.

0) MemTest86.fat  <----------- Try open this

1) EFI System Parition

2) DMA Test Partition
Hello, this works. By default without changing the location in settings, it will save inside the .img file in 0.MemTest86.fat/EFI/BOOT. Smile I think 0 indicates the partition number of the .img structure. So this is solved, but I think we can optimize this to be easier.

So question, is there a way we can have this save outside of the .img file? Is there a way Ventoy can present the ISO partition to Memtest86 so it can be a save location?

While I can retrieve the reports from inside the .img file, it is not optimal. How can I delete the reports from inside the img? They will pile up and become cluttered. There is also no easy way to change the configuration file of Memtest86.

What is the best way to extract the img to EFI folder? I've used 7-zip and it works.. is this the best way? If I use this method I would be able to easily modify the configuration file and retrieve the report files, however when I use this method it fails to write. I'd rather have an EFI folder for Memtest86 because it will be easier to retrieve reports without having to use 7-zip and extract them from inside an image, and it will be easy to delete previous reports, and you can modify the configuration files.

Can you please do testing by extracting the EFI folder and booting BOOTX64.efi and try to fix the writing error?
Reply
#6
In UEFI environment, only FAT32 file system is supported by default.
The ISO partition of Ventoy is not FAT32 (exFAT/NTFS ...), so it can not be accessed within MemTest86.

You can reformat the ISO partition to FAT32 and retry.
Of course FAT32 has its disadvantages, it can not hold files bigger than 4GB, that's why Ventoy choose exFAT by default.
Reply
#7
(12-07-2022, 03:24 AM)longpanda Wrote: In UEFI environment, only FAT32 file system is supported by default.
The ISO partition of Ventoy is not FAT32 (exFAT/NTFS ...), so it can not be accessed within MemTest86.

You can reformat the ISO partition to FAT32 and retry.
Of course FAT32 has its disadvantages, it can not hold files bigger than 4GB, that's why Ventoy choose exFAT by default.
Ah ok, that makes sense why it won't work. So PassMark needs to add support for exFAT filesystem.

So question, is there any way to edit files inside a .img safely? Any way to delete files inside the .img? That is mostly my main concern.
Reply
#8
Can you make a 3rd partition on the USB drive and save the files there?
Reply
#9
@GTAXL
You can use imdisk to mount img file as a virtual drive, see the attachment picture.
https://sourceforge.net/projects/imdisk-toolkit/

As Steve2926 said, you can also make a 3rd partition on the USB drive with the reservced space, format it in FAT32 and extract the memtest86 files to the partition.
https://www.ventoy.net/en/doc_disk_layou...erve_space


Attached Files Thumbnail(s)
   
Reply
#10
I'm trying to use memtest86pro in combination with Ventoy and save the reports. I have the .ISO file of memtest86 in Ventoy and a 3rd partition to place the files at, however it simply fails to save the reports without any more additional errors. I'm not sure where to take a look at?

Is it possible to create a FAT32-backed persistence file maybe?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)