Create a iso on a usb-stick

good day.

is this command to create a iso correct: dd bs=4M if=~/Videos/eos10.iso of=/dev/sdb status=progress oflag=sync

fully fledged it looks kike so-,

[butch@m-tp ~]$ sudo dd bs=4M if=~/Videos/eos10.iso of=/dev/sdb status=progress oflag=sync

2155872256 Byte (2,2 GB, 2,0 GiB) kopiert, 2 s, 1,1 GB/s
749+1 Datensätze ein
749+1 Datensätze aus
3144155136 Byte (3,1 GB, 2,9 GiB) kopiert, 2,91001 s, 1,1 GB/s
[butch@m-tp ~]$ sudo dd bs=4M if=~/Videos/eos10.iso of=/dev/sdb status=progress oflag=sync

1979711488 Byte (2,0 GB, 1,8 GiB) kopiert, 1 s, 2,0 GB/s
749+1 Datensätze ein
749+1 Datensätze aus
314 4155136 Byte (3,1 GB, 2,9 GiB) kopiert, 1,58593 s, 2,0 GB/s

[butch@m-tp ~]$ lsblk

Look forward to hear from you

greetings

Looks all right to me, though I always have bs= somewhere near the end of the command. And I always do an extra ‘sync’ after the dd has finished, just to be certain.

The basic syntax is

dd if=[input file] of=[output file] [options]

You do have to be very certain about the ‘if’ and the ‘of’. I had them the wrong way round once and destroyed my system that way.

3 Likes

good day dear @SemLraug

many many thanks for the quick reply.

i did it: with the following data:

the iso: eos30.iso
the path: ~/Downloads/

and i checked it: see
the check with $ lsblk

see below the full operation:


[butch@m-tp ]$ sudo dd bs=4M if=~/Downloads/eos30.iso of=/dev/sdb status=progress && sync

2214592512 Byte (2,2 GB, 2,1 GiB) kopiert, 1 s, 2,2 GB/s
881+1 Datensätze ein
881+1 Datensätze aus
3699195904 Byte (3,7 GB, 3,4 GiB) kopiert, 1,53924 s, 2,4 GB/s

[[butch@m-tp ]$ lsblk

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda      8:0    0 465,8G  0 disk
├─sda1   8:1    0     2G  0 part /efi
├─sda2   8:2    0   455G  0 part /
└─sda3   8:3    0   8,8G  0 part [SWAP]
sdb      8:16   1   7,5G  0 disk
└─sdb1   8:17   1   7,5G  0 part /run/media/otrott/9030-EE06
sr0     11:0    1  1024M  0 rom  

[butch@m-tp ]$

well - i guess that all worked fine - and the check with lsblk showed this!?

Sda is your hard disk
Sdb is your usb drive

Guessing is one thing, knowing is a different kettle of fish entirely :wink:, so does the usb device you copied the ISO to contain in fact the data you expect?

If it’s the live ISO of EOS you should be able to boot from the device.

If you find yourself switching between different ISOs often, you should definitely check out Ventoy. Instead of ‘burning’ the image every time, you just install Ventoy to the USB once and then copy-paste the ISO files directly onto it like a regular thumb drive. It’s a total game changer for distro hopping because you can keep multiple bootable ISOs on a single stick.

1 Like