Ventoy icon indicating copy to clipboard operation
Ventoy copied to clipboard

Weird Issue with Ventoy

Open Ironfist69 opened this issue 2 years ago • 10 comments

Official FAQ

  • [X] I have checked the official FAQ.

Ventoy Version

1.0.73

What about latest release

Yes. I have tried the latest release, but the bug still exist.

BIOS Mode

UEFI Mode

Partition Style

GPT

Disk Capacity

32GB

Disk Manufacturer

Sandisk

Image file checksum (if applicable)

Yes.

Image file download link (if applicable)

https://ubuntudde.com/download/

What happened?

A bug happened! When I try to create Ventoy flash drive from Windows. It perfectly works. I can copy, paste, delete ISO files flawlessly. Now when I format that USB stick & re-install Ventoy (GUI, Web both method) from Linux and copy paste ISO files something weird happens. When I select any ISO from that list it shows errors. If I create Ventoy from MIcrosoft Windows no error shows up. If i do same thing from Linux. It thows these errors

error: invalid magic number error: you need to load kernel first

OR sometimes like this

(initramfs) mount: mounting dev/loop0 on //filesystem.squashfs failed: Input/Output error Can not mount /dev/loop0 (/cdrom/casper/filesystem.squashfs) on //filesystem.squashf

**I don't have Secure Boot enabled **Mobo: Micro-Star International H310M PRO VDH plus

Ironfist69 avatar Apr 21 '22 06:04 Ironfist69

You need to calculate the ISO file checksum as follows in Ventoy menu before boot it. https://www.ventoy.net/en/doc_checksum.html

In linux, after you copy an iso file to the USB, you'd better run sync command in the terminal to flush the data to the USB hardware. If you reboot or plug-out the USB immediately after you copy the file, the file will have high chance to be corrupted.

ventoy avatar Apr 21 '22 09:04 ventoy

You need to calculate the ISO file checksum as follows in Ventoy menu before boot it. https://www.ventoy.net/en/doc_checksum.html

In linux, after you copy an iso file to the USB, you'd better run sync command in the terminal to flush the data to the USB hardware. If you reboot or plug-out the USB immediately after you copy the file, the file will have high chance to be corrupted.

Yeah I have checked md5sum 00f30e60277810d5efa5c20ebdddd2d4

Ironfist69 avatar Apr 21 '22 09:04 Ironfist69

That md5 is for UBUNTUDDE REMIX 21.10 (IMPISH INDRI) OFFICIAL RELEASE and so is correct - did you press m on a ventoy drive made with Linux?

The other difference may be that Ventoy made with Windows will make an exFAT drive. Did Linux make an exFAT drive too?

steve6375 avatar Apr 21 '22 10:04 steve6375

Yesterday I faced what could have been the same issue. I copied the official Ubuntu 22.04 LTS ISO file - https://releases.ubuntu.com/22.04/ubuntu-22.04-desktop-amd64.iso - to Ventoy flash-drive as usual, but wasn't able to install or even boot this ISO. When I selected it, the Linux kernel message "Out of memory" and some other kernel stuff showed up immediately and the PC froze completely. I tried re-download ISO, checked SHA256SUM, downloaded from different sources - it's all the same.

Then I made a bootable flash-drive using standard Ubuntu tool and it worked without any issues.

sviperz avatar Apr 22 '22 05:04 sviperz

It may be that there was not enough RAM reported as 'free' by the BIOS. This can happen if you do not do a cold boot from the system each time you test. You should turn off the power - wait 10 seconds - turn on the power - boot to Ventoy. The error can also happen if the system does not have enough physical RAM (less than 2GB may cause problems with some ISOs).

steve6375 avatar Apr 22 '22 07:04 steve6375

@steve6375 thanks for your suggestions. I tried turn the laptop off completely and then turn it on again. I also tried AC and battery power. I have 16 GB of RAM on board. As a side note, Ubuntu 21.10 ISO sitting there behind the others boots up flawlessly.

sviperz avatar Apr 22 '22 08:04 sviperz

You should also try pressing ctrl-r before selecting the ISO (for grub mode).

steve6375 avatar Apr 22 '22 08:04 steve6375

To check MD5/SHA256, you must boot to Ventoy and select ISO and press m. Is that how you checked the SHA256? i.e. the file on the USB drive must be checked after a power off or unplug + replug or on boot to Ventoy. Your ISO boots OK in legacy mode and UEFI64 on Virtual Box 5 on my win10 system.

steve6375 avatar Apr 22 '22 08:04 steve6375

To check MD5/SHA256, you must boot to Ventoy and select ISO and press m. Is that how you checked the SHA256? i.e. the file on the USB drive must be checked after a power off or unplug + replug or on boot to Ventoy.

Have just checked it this way and yes the SHA256 is correct.

You should also try pressing ctrl-r before selecting the ISO (for grub mode).

Yes, this did the trick, the ISO booted up finally. Thanks!

sviperz avatar Apr 22 '22 08:04 sviperz

I found the problem with this error. I am using Linux Mint 21.2. Access Control panel - Disks and format in FAT format(32-bit version). It seems that Ventoy creates the partition in exFAT (version 1.0) where the ISO images are added. I hope the information is useful. Merry Christmas!

masac avatar Dec 24 '23 20:12 masac