News for hackers. Stuff that matters.
Re:Ventoy: A new bootable USB solution by rgovostes on Saturday August 22, 2020 @10:36AM (#24244418)
I have a sacred USB thumb drive with the Windows 10 installer on it. It is sacred because it took me hours to figure out how to make it bootable. If I recall, Microsoft's own tool for _expressly this purpose_ did not work (after having to set up a virtual machine to use it, etc. etc.), and was apparently a known problem.

I think it was WoeUSB that finally worked for me, not plain dd or Rufus or Apple's Boot Camp utility. Ventoy looks impressive, but unfortunately too many tools don't work.

Re:Ventoy: A new bootable USB solution by radium3d on Saturday August 22, 2020 @11:38AM (#24244814)
Weird I've never had a problem using Rufus to setup a bootable windows installer USB from the official ISO download. Have never tried from a VM though.
Re:Ventoy: A new bootable USB solution by the_pwner224 on Saturday August 22, 2020 @01:17PM (#24245593)
Rufus consistently for me for making a win10 USB using a Windows VM on a Linux host, after hours of trying with dd and other methods inside Linux. It's a ~2.5 mb executable which just works. And since you already have the win10 ISO to be flashed, making the VM isn't too hard.
Re:Ventoy: A new bootable USB solution by atoav on Sunday August 23, 2020 @03:47AM (#24250317)
Weird, I never had any problem with this part. And over the years I must have created bootable Windows 10 thumb drives at least 10 times
Re:Ventoy: A new bootable USB solution by pdimitar on Sunday August 23, 2020 @12:11PM (#24252860)
Ventoy installs special software on the removable media and from then on you can freely add or remove .iso files to its root directory whenever you please. It worked without hassle on 3 separate old laptops for me, including with the official Win10 ISO image.
Re:Ventoy: A new bootable USB solution by Renaud on Saturday August 22, 2020 @10:50AM (#24244494)
It seems that the trick to make Win10 installer work is to move the executable of the tool to the USB drive you will use, then run it from there.

Like you it used to drive me crazy and would often doesn't work but I never had issues after doing this.

Re:Ventoy: A new bootable USB solution by rgovostes on Saturday August 22, 2020 @12:59PM (#24245458)
If the drive needs to be reformatted or the partition map changed, that doesn't seem like it would work.
Re:Ventoy: A new bootable USB solution by Renaud on Friday August 28, 2020 @08:51AM (#24304226)
I know it goes contrary to common sense, as we could expect a lock on the exe, but it does work.

I mean it's easy enough to try for yourself if you do not believe my own experience.

Re:Ventoy: A new bootable USB solution by jhardy54 on Saturday August 22, 2020 @03:36PM (#24246674)
Why not? Once a process is started I'd be very surprised if you couldn't delete the executable from the disk.
Re:Ventoy: A new bootable USB solution by bitwize on Sunday August 23, 2020 @12:00AM (#24249413)
Windows file systems work very differently from Linux. If a file is open, Windows will put a lock on it that prevents moving or deleting the file -- and the executable image of a process is open for as long as the process runs.

This is different from the Linux situation, in which a file's name and directory location are separate from its inode, or the data structure holding actual information about the file including where the data lives on disk: once the inode associated with a file name is looked up and the file opened, anything may be done with the file name, including changing or unlinking it. Inodes with no links will also only be freed once every open file descriptor on the unlinked inode is closed. So a process will keep on chugging even if its executable file on disk is deleted, as though nothing happened -- because the file itself is only deleted once its inode is closed and unlinked.

Re:Ventoy: A new bootable USB solution by tinus_hn on Sunday August 23, 2020 @09:39AM (#24251860)
This sounds like the VM hypervisor was not correctly setup to provide the required access to your USB stick to the virtualized OS. That’s hard to fix from inside the VM.
Re:Ventoy: A new bootable USB solution by asutekku on Saturday August 22, 2020 @12:18PM (#24245113)
The easiest way to make USB portable is to just copy the contents of the .iso to the stick. That’s basically all that needs to be done.
Re:Ventoy: A new bootable USB solution by GranPC on Saturday August 22, 2020 @01:33PM (#24245693)
That only works if the system you're trying to boot the drive from has NTFS UEFI drivers, or if you format your drive as FAT32. Recent versions of Windows 10 cannot be copied and pasted to FAT32 drives because the system image is bigger than 4 GB.
Re:Ventoy: A new bootable USB solution by Matthias247 on Saturday August 22, 2020 @02:39PM (#24246203)
Right - things got a lot more tricky due to this.

When I built my new PC I also spent a couple of hours on it, because most of the old documented and simple solutions did not work.

When I had a big partition that could hold the image the system wouldn't want to boot from it. On the small Fat32 partition the image didn't fit.

I think in the end I had to create 2 paritions, a Fat32 and an ExFat one. Then I had most of the boot files on both, but the big windows image only on the ExFat one.

That actually works - when the installer can't find the big image on the original partition you can point it to the other one and the installation will continue.

Re:Ventoy: A new bootable USB solution by rblatz on Saturday August 22, 2020 @01:14PM (#24245567)
Not sure why the downvotes for you. I just did this last week and expected to have to jump through a bunch of hoops and download some software that would burn a bootable image to a usb. Nope just format it as NTFS and copy paste the files from the iso.

Although now this is even easier if you commonly are installing a new OS. But for the typical enthusiast that installs a new OS every couple years this solution is overkill.

Re:Ventoy: A new bootable USB solution by Hello71 on Saturday August 22, 2020 @01:34PM (#24245700)
only works if you are already using windows and therefore can use diskpart/"mark as active", or you are booting from an extended uefi firmware with the appropriate drivers (e.g. dell).
Re:Ventoy: A new bootable USB solution by asutekku on Saturday August 22, 2020 @02:53PM (#24246304)
I formatted the stick on ubuntu as NTFS and installed it on a new sdd. No windows used during the process. Don’t know if the MSI MoBo had appropriate drivers.
Re:Ventoy: A new bootable USB solution by quarantine on Saturday August 22, 2020 @02:22PM (#24246076)
Or use something like rEFInd as intermediary firmware.
Re:Ventoy: A new bootable USB solution by ciupicri on Sunday August 23, 2020 @02:27PM (#24254061)
By the way, Rufus uses UEFI:NTFS [1]

> UEFI:NTFS is a generic bootloader, that is designed to allow boot from NTFS or exFAT partitions, in pure UEFI mode, even if your system does not natively support it. This is primarily intended for use with Rufus, but can also be used independently.

[1]: https://github.com/pbatard/uefi-ntfs

Re:Ventoy: A new bootable USB solution by the_pwner224 on Saturday August 22, 2020 @01:18PM (#24245604)
This didn't work for me for Windows 10 - I tried for a few hours using all the methods I could find online, with fat32 and NTFS partitions, as well as the 'traditional' dd/cat method, and in the end only Rufus worked.
Re:Ventoy: A new bootable USB solution by ncmncm on Saturday August 22, 2020 @12:37PM (#24245259)
That is what users are trying to avoid -- they want to keep all their boot images on one, and not have to carry so many around.

AND.... anyway it very often doesn't even work. Many UEFI BIOS are very opinionated about what they consider bootable.

Re:Ventoy: A new bootable USB solution by rblatz on Saturday August 22, 2020 @01:17PM (#24245598)
While I think this is really cool, and would have come in handy earlier in my life. Where I’m at now I don’t commonly install new OSes, and if I want to play with a new OS I’m more likely to do it in a VM. So the only time I really do a fresh install is every 5-8 years when I do a full new build.

This is a slick solution, but I think the average person it would be easier to just copy paste the files from the iso onto a usb and call it a day.