the creation of a usb-stick :: which command does the trick!?

Message
Author
p1e
Posts: 126
Joined: Fri Apr 01, 2022 6:01 pm

the creation of a usb-stick :: which command does the trick!?

#1 Post by p1e »

good evening dear friends,

some questions regarding the cration of a iso file on STICK:

.... well does this work - and lead to a successful iso file on stick!?

Code: Select all

sudo dd bs=4M if=/home/user/Downloads/Linuxfile.iso of=/dev/sdb status=progress oflag=sync
does this!?

Code: Select all

$ sudo dd bs=4M if=/path/to/file.iso of=/dev/sdX status=progress oflag=sync
some guys write a so called "tilde"

Code: Select all

ubuntu@T420s:~$ sudo dd bs=4M if=~/Downloads/mmylinux_file.iso of=/dev/sdb status=progress && sync
p1e: interests: Linux & SBC All About Circuits - Electrical Engineering & Electronics:
https://www.allaboutcircuits.com :: new Knowledge-Base: AFFiNE: There can be more than Notion and Miro. on affine.pro :: WordPress: make.wordpress.org/core/

User avatar
CharlesV
Administrator
Posts: 8111
Joined: Sun Jul 07, 2019 5:11 pm

Re: the creation of a usb-stick :: which command does the trick!?

#2 Post by CharlesV »

In my opinion, unless you *really* understand the dd command... you should not be using it and should be using LiveUSB maker instead!!! And if your asking is those commands are correct... then your headed down the wrong road..

Like any serious tool, dd should be used after reading the directions and understanding - and even then with safety precautions. The dd command is great and can do many very useful things... but if you get the params wrong or dont realize what your doing, it can take out your hard drive in a second.

And I strongly suggest that you work a while in a VM or on a machine that does not matter if you kill it, before using dd on your real machine. (And even then - I would suggest NOT using that command without a GUI or a VERY good understanding of how it works.)
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
mxer
Posts: 257
Joined: Fri Sep 21, 2018 9:09 am

Re: the creation of a usb-stick :: which command does the trick!?

#3 Post by mxer »

.... well does this work - and lead to a successful iso file on stick!?
Yes, they all work, you just need to understand what they are saying....

However, as you are using MX, it's easiest to use the MX Live USB Maker, found under MX Tools. ;)
(FOSS, Linux, & BSD since 1999)

p1e
Posts: 126
Joined: Fri Apr 01, 2022 6:01 pm

Re: the creation of a usb-stick :: which command does the trick!?

#4 Post by p1e »

hi there - many thanks for the quick answer. GREAT to hear from you.

BTW: its so great to see this forums are able to cover a wide range of topics - this is an incredible experience. AWESOME!!

have a great day
p1e: interests: Linux & SBC All About Circuits - Electrical Engineering & Electronics:
https://www.allaboutcircuits.com :: new Knowledge-Base: AFFiNE: There can be more than Notion and Miro. on affine.pro :: WordPress: make.wordpress.org/core/

Post Reply

Return to “General”