You are not logged in.

#1 2021-01-16 10:35

globetrotterdk
Member
Registered: 2020-12-23
Posts: 32

ISO files to USB stick.

There are probably almost a dozen suggestions as to how to copy an ISO file to a USB stick or pen drive. All of the things I have tried (including dd) have at some point all done something to the USB stick and I have had to bin them - all except the following:

$ sudo apt install flatpak
$ sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
$ flatpak install flathub org.fedoraproject.MediaWriter

I copy ISO files to USB sticks quite frequently. Usually to try out a new Linux distribution, or to figure out something specific, like how to use a different package manager. I have never experienced any problems with the Fedora MediaWriter, and while it puts Fedora products front and center, it is able to both restore USB sticks to original size, as well as burn what it calls "custom image files". In my opinion, a quick and painless way to copy ISO files to a USB stick, without having to bin them from time to time when something goes wrong.

Last edited by globetrotterdk (2021-01-16 10:35)


I’ve had a perfectly wonderful evening, but this wasn’t it. - Groucho Marx

Offline

#2 2021-01-16 15:26

bin
Member
From: U.K.
Registered: 2016-01-28
Posts: 928

Re: ISO files to USB stick.

I have been using the same USB key since 2012 for countless hundreds of ISOs.

I've used dd almost exclusively or gnome-disk-utility.

Every once in a while you get a glitch but a quick trip down gparted lane sorts it out.

Offline

#3 2021-01-16 15:38

globetrotterdk
Member
Registered: 2020-12-23
Posts: 32

Re: ISO files to USB stick.

bin wrote:

I have been using the same USB key since 2012 for countless hundreds of ISOs.

I've used dd almost exclusively or gnome-disk-utility.

Every once in a while you get a glitch but a quick trip down gparted lane sorts it out.

I think this is one of those instances where the phrase "your mileage may vary" applies smile


I’ve had a perfectly wonderful evening, but this wasn’t it. - Groucho Marx

Offline

#4 2021-01-16 18:30

crosscourt
Member
Registered: 2017-05-07
Posts: 1,713
Website

Re: ISO files to USB stick.

Ive got dozens of images I also share with clients and friends and it isnt practical to use USB sticks so Im really old school. I still use Live DVDS as it suits my needs far more and is far cheaper.
I also use Fedora Media Writer for my USB sticks and it works very well.
My preference though is for Etcher where feasible.

Last edited by crosscourt (2021-01-16 18:31)


Q4OS 4.2 Gemini KDE   Dell Latitude E6420 i5 2.5ghz, 8gb ddr3, 128gb Lite-On SSD

Offline

#5 2021-01-17 08:16

bin
Member
From: U.K.
Registered: 2016-01-28
Posts: 928

Re: ISO files to USB stick.

globetrotterdk wrote:
bin wrote:

I have been using the same USB key since 2012 for countless hundreds of ISOs.

I've used dd almost exclusively or gnome-disk-utility.

Every once in a while you get a glitch but a quick trip down gparted lane sorts it out.

I think this is one of those instances where the phrase "your mileage may vary" applies smile

Granted - but there has to be something fundamental going on if you're feeling you've got to discard sticks.

I think the worst case scenario I can remember was one where I had to resort to using Windows 7 to clean and reformat the stick. I recall it was something to do with recursive partition tables - it was a while back....

These days I find it much easier to do what you suggest - and I enjoy doing - by using virtual machines. QEMU/KVM works very well once you've got the hang of it.

Offline

#6 2021-01-17 19:58

crosscourt
Member
Registered: 2017-05-07
Posts: 1,713
Website

Re: ISO files to USB stick.

I actually cant remember a USB stick ever going bad that it couldnt be used, its been that long. I reuse sticks all the time but I also end up working  a lot with much older hardware where DVDs can sometimes be a real help. Virtual machines I use on occasion but part of looking at distros is testing the live media and install to see if things work as intended directly.


Q4OS 4.2 Gemini KDE   Dell Latitude E6420 i5 2.5ghz, 8gb ddr3, 128gb Lite-On SSD

Offline

#7 2021-01-18 15:00

Midas
Member
Registered: 2017-12-15
Posts: 77

Re: ISO files to USB stick.

While it may not be everyone's taste, the simplest way I have found to date for running ISOs off of an USB drive is with multi-platform Ventoy (https://www.ventoy.net/).

No extracting/writing needed, just copy ISOs to USB after setting up Ventoy.

It's so simple and powerful, I have now set it up as one of my desktop's boot manager. Plenty of use cases in its documentation and forums, too.

Offline

#8 2021-01-18 15:58

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 2,992
Website

Re: ISO files to USB stick.

The most easy and reliable way is just to copy the iso image into the target device:
$ sudo cp theimage.iso /dev/sdX
see https://www.q4os.org/dqa011.html#install.1

Offline

#9 2021-01-18 17:30

crosscourt
Member
Registered: 2017-05-07
Posts: 1,713
Website

Re: ISO files to USB stick.

Tried Ventoy awhile back and like it but had quite a few issues and distro compatibility was limited. Will give it another look.


Q4OS 4.2 Gemini KDE   Dell Latitude E6420 i5 2.5ghz, 8gb ddr3, 128gb Lite-On SSD

Offline

#10 2021-01-20 15:19

Midas
Member
Registered: 2017-12-15
Posts: 77

Re: ISO files to USB stick.

Ventoy still has some issues, but its flexibility is outstanding -- I'm able to run ISOs and Windows installed to VHDs.

Linux installed to virtual drives is what I want to get working next, but haven't had enough time to test...

Offline

#11 2021-01-23 16:29

Rademes
Member
From: Latvia
Registered: 2015-12-13
Posts: 487

Re: ISO files to USB stick.

In my opinion, the best way to write ISO files to USB stick is described here: https://linuxize.com/post/create-bootab … -on-linux/

Offline

#12 2021-01-23 19:36

crosscourt
Member
Registered: 2017-05-07
Posts: 1,713
Website

Re: ISO files to USB stick.

Nothing wrong with that method but most mainstream users want to put isos on USB sticks using a GUI and an app. I prefer that as well and it really helps to promote Linux to newbies and crossover users from Windows.


Q4OS 4.2 Gemini KDE   Dell Latitude E6420 i5 2.5ghz, 8gb ddr3, 128gb Lite-On SSD

Offline

#13 2021-01-25 14:19

Midas
Member
Registered: 2017-12-15
Posts: 77

Re: ISO files to USB stick.

Quick note to add that Lunuxize.com method only allows for a single ISO per USB pendrive -- while using Ventoy (or the tried and tested YUMI, for instance: www.pendrivelinux.com/yumi-multiboot-usb-creator/), the only limit is storage available.

Offline

#14 2021-01-26 02:52

crosscourt
Member
Registered: 2017-05-07
Posts: 1,713
Website

Re: ISO files to USB stick.

Well said, as this is the reason I was first interested in Ventoy, not to mention its overall design.


Q4OS 4.2 Gemini KDE   Dell Latitude E6420 i5 2.5ghz, 8gb ddr3, 128gb Lite-On SSD

Offline

#15 2021-02-20 18:55

Tolkem
Member
Registered: 2019-10-06
Posts: 173

Re: ISO files to USB stick.

I use this https://mxlinux.org/blog/live-usb-maker … -appimage/ just create a .desktop file and add this:

[Desktop Entry]
Comment=
Exec=pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY KDE_SESSION_VERSION=5 KDE_FULL_SESSION=true /path/to/live-usb-maker-qt-19.11.02.x86_64.AppImage
GenericName=Crear Live USB
Icon=usb-creator-kde
Name=Live USB Maker
NoDisplay=false
Path[$e]=
StartupNotify=true
Terminal=0
TerminalOptions=
Type=Application
X-KDE-SubstituteUID=false
X-KDE-Username=

I use KDE, so I guess it must be adapted to Trinity. Since it is an Appimage, you need to make it executable, either open konsole and type

chmod +x  live-usb-maker-qt-19.11.02.x86_64.Appimage

or right-click on it and tick the box where it reads make this file executable or some similar wording. Then you'll get a passwd dialog

hn0nb0O.png

just type in your password to launch it

TA5vMzr.png

I've been using that for some time and it's never failed. Ventoy's fine too.

Offline

#16 2021-02-21 18:34

crosscourt
Member
Registered: 2017-05-07
Posts: 1,713
Website

Re: ISO files to USB stick.

Definitely prefer Ventoy.


Q4OS 4.2 Gemini KDE   Dell Latitude E6420 i5 2.5ghz, 8gb ddr3, 128gb Lite-On SSD

Offline

#17 2021-02-22 13:18

Tolkem
Member
Registered: 2019-10-06
Posts: 173

Re: ISO files to USB stick.

crosscourt wrote:

Definitely prefer Ventoy.

Yeah, Ventoy's fine, however, last time I tried to use it got an error, can't remember what it was all about but think it had something to do with permissions, although I had used it before with no errors, it was a previous version not the latest(1.0.35) which I just downloaded and going to give it a try, like I said, MX tool has never, ever failed for me. By the way, did you see this Here is a suggestion for a Ventoy GUI for Linux ... https://forums.ventoy.net/showthread.php?tid=1439 looks fine even though it uses Ventoy 1.0.29, will try that one too. smile

Offline

Board footer

Powered by FluxBB