Live data from Hacker News

Ventoy: Create bootable USB drive for ISO/WIM/IMG/VHD(x)/EFI Files

github.com

111–120 of 124 posts

Re: Ventoy: Create bootable USB drive for ISO/WIM/IMG/VHD(x)/EFI Files

#111

Earlier quoted context omitted.

Last week I tried to make a bootable usb with windows 11. I tried using dd on macos, and that seemed to work, but the windows installer errored about "not finding drivers for the hdd". This threw me off because I thought something was wrong with the nvme. Turns out you can't just dd a windows iso onto a usb drive. You have to format it to fat32, then manually copy all the files. However there is one big installer fil…

Don't know why you're being voted down, this was exactly my experience, and from all reports, correct. But instead of the process you describe (which some tools will do for you) I used Rufus to copy the install files onto a USB formatted as a NTFS partition, working around the 4GB limitation.

Downvote-a-bots are not capable of actual thinking.

What you sometimes need is a USB stick having a native "geometry" in terms of HDD emulation ability, that will be recognized properly by the particular series of chipset on the target mainboard.

Then the data bits written to a fully-zeroed drive must conform to what is expected of a bootable device on the target mainboard, for one thing the partition(s) often needs to be well-aligned with the underlying storage hardware to a more particular degree than merely when it is a "perfectly" readable & writeable drive.

Many new USB sticks fail at this fundamental point because the factory partitioning & formatting was accomplished using an image not exactly appropriate after the vendors of the silicon storage or controller chips make hardware revisions.

Analogously, also why writing an IMG or dd from a not-very-identical stick, or with dissimilar partitioning and/or formatting is quite hit or miss.

Sometimes freshly reformatting is enough for problem sticks, other times they can not be made to boot without repartitioning. Either way a fresh reformat or repartition may simply overwrite using (proven nonoptimal) disk structures still remaining in place unless the device is zeroed beforehand. Sometimes a reboot is needed for an OS to forget the structure that was recognized during most recent insertion.

I like Ventoy (and Rufus) but for best results I start with a proven bootable stick which I prepare manually from a zeroed stick and verify bootability beforehand. Similar preparation when getting ready to manually write reliable plain Windows Setup USBs from the mounted ISO.

Re: Ventoy: Create bootable USB drive for ISO/WIM/IMG/VHD(x)/EFI Files

#112
post #102

Earlier quoted context omitted.

Have you done this? How do you know this is true? Are there reports of trusted 3rd parties who have verified this?

As someone who isn’t afraid of reproducible binary blobs but would absolutely pay attention to a failure-to-reproduce report from an advocate otherwise, I’m disappointed to see you failing to do so here. If you’re afraid and not willing to prove or disprove your fears yourself , then that negates your arguments to reject binary blobs categorically , rather than conditionally as I and others in this thread are accepti…

I wonder how far a clanker would go if you toss if at a pile of Ventoy / "build instructions" and Nix. This is a pretty ideal place for Nix to shine.

Re: Ventoy: Create bootable USB drive for ISO/WIM/IMG/VHD(x)/EFI Files

#113

Ventoy is great, but what I really miss is DriveDroid from the good old days. It still exists, but it's not quite as reliable on modern Android as it was on rooted Cyanogenmod back in the day and the distro download links have rotten away. For those not familiar with it, it turns your Android phone into a USB DVD drive, meaning not only can you just download and host any distro with a few taps, you also don't need an…

As far as I can tell, a great many Android phones have always been able for their SD cards to serve as read/write external storage/bootable drives for PC's when connected by USB cable.

You have to format the SD card in a PC first, perhaps also repartition beforehand.

Even the old Sony smartphones before there were iPhones could do it with their MemorySticks. I really do miss the non-Android non-iOS smartphones.

Re: Ventoy: Create bootable USB drive for ISO/WIM/IMG/VHD(x)/EFI Files

#114

Ventoy is cool and I've used it to boot many different operating systems. The one OS that I've had issues with is FreeDOS. Ventoy will boot it, but I've been unable to access any media on the target system. I'd like to be able to access a separate USB drive, or a hard disk. Maybe there's some trick to doing this that I'm unaware of...

Booting to DOS you have to plug in other target drives before you power up so the BIOS will recognize them first before DOS boots.

Also DOS will not recognize files on anything but well-tempered FAT32 volumes usually, and the drive device needs to be MBR layout, not GPT. Plus the motherboard needs to support legacy CSM and have it enabled unless it's an old native-BIOS-only non-UEFI PC.

Re: Ventoy: Create bootable USB drive for ISO/WIM/IMG/VHD(x)/EFI Files

#115
post #27

In perfect world, Microsoft would help to create this tool. Nope, they don't have time for this. Too much work om security through obscurity, making crap SW which eats RAM like hamburgers and disabling local accounts...

>eats RAM like hamburgers and disabling local accounts...

Those are the kind of hamburgers that make people say "Where's the beef?"

Re: Ventoy: Create bootable USB drive for ISO/WIM/IMG/VHD(x)/EFI Files

#116

How does this differ from Rufus [0] or Balena Etcher [1]? [0] https://rufus.ie/en/ [1] https://etcher.balena.io/

Rufus and BalenaEtcher are both programs for flashing an image to a disk. Ventoy is flashed onto the disk itself (into a small EFI partition), then the rest of the disk is just a regular file system, where you drag and drop a group of ISOs, then pick between them on boot.

Rufus does more than just flash an image, it's actually quite sophisticated and completely different in ways that copying images with Balena is not.

And Rufus is the product of continuous improvement, maintained brilliantly.

Re: Ventoy: Create bootable USB drive for ISO/WIM/IMG/VHD(x)/EFI Files

#117
Long time ventoy user, here. I absolutely love this software, there's always a usb stick with ventoy and a bunch of useful isos in my pocket.

The really intriguing feature is the ability to run vDisk files (as long as there's a linux distro within it) thanks to the VtoyBoot plugin[1]. I'm actually trying to build my own customized arch version with all my software (and potentially keys) installed so I can get rid of having to bring around any hardware. The only problem I'm facing is that it seems that ventoy boot does not work very well with luks containers.

[1] VtoyBoot plugin: https://www.ventoy.net/en/plugin_vtoyboot.html

Re: Ventoy: Create bootable USB drive for ISO/WIM/IMG/VHD(x)/EFI Files

#118
post #77

The nice thing about Ventoy—and I didn’t fully appreciate this until I used it—is how simple it makes bootable USBs. You just drag and drop ISO images onto the drive, and it can hold as many as will fit. When you boot from the Ventoy USB, you just pick the image you want to install or run—no re-flashing, no fuss. It’s honestly wild how convenient it is. Ventoy was the only method that worked for me when I needed to i…

I would love it if it worked well, but it's been really flaky for me. Maybe half the ISOs work, the rest get various errors on boot and fail. These are Linux ISOS, too, which I would have expected to work. Am I doing something wrong?

I used it but I had various amount of success. I bought an HDD enclosure that would mount the ISO/VHD/FDD image at the hardware level (IODD is the brand), and that worked mostly consistently.

A bit expensive, but when you rely on it for work it's worth investing a bit of money.

Re: Ventoy: Create bootable USB drive for ISO/WIM/IMG/VHD(x)/EFI Files

#119

I'm curious why a GRUB based replacement for ventoy isn't popular? SSDs are ubiquitous/inexpensive. SSD+USB+GRUB with either a single GRUB partition and multiple ISO files stored in subdirectories, OR one parition per ISO/OS. Adding new ISOs would require some manual editing of the grub config but wouldn't this be a decent substitute?? Like many people I'm hesitant to use an OS installation tool that has not been tho…

I'm curious about this too.

Alternatively, does anyone know if you can install Ventoy to a partition on an internal disk? The documentation says it supports booting images stored on local disks, but doesnt say if Ventoy itself can be installed on a partition as opposed to an entire disk.

Re: Ventoy: Create bootable USB drive for ISO/WIM/IMG/VHD(x)/EFI Files

#120

Ventoy is great, but what I really miss is DriveDroid from the good old days. It still exists, but it's not quite as reliable on modern Android as it was on rooted Cyanogenmod back in the day and the distro download links have rotten away. For those not familiar with it, it turns your Android phone into a USB DVD drive, meaning not only can you just download and host any distro with a few taps, you also don't need an…

I wrote https://github.com/chenxiaolong/MSD for exactly that. It's a small wrapper around the Linux kernel's mass storage emulation support (CONFIG_USB_CONFIGFS_MASS_STORAGE). It can emulate a read-only optical drive, a readable disk, or a writable disk.

It is compatible with both older devices that configure USB via init scripts and newer devices that use Android's USB gadget HAL, but it does require Android 11+.

Post reply on HN