Hi,

Franco Martelli wrote:
> why do we insist using "dd" (Disk Dump)? It's tricky, and has not a
> comfortable syntax, why don't we suggest end users to use "pv" (Pipe

In this case probably because hlyg, the original poster, wanted to try
whether the alteration sits in the first MB of the ISO image:

hlyg wrote:
> > i have found solution:
> > dd if=debian-live-13.7.0-amd64-lxqt.iso of=/dev/sdd bs=1M count=1
> > it needs ISO file, but it isn't problem as wget allows partial downloading,
> > a few MBs is enough

In a later mail:
> > i have thought of using cp, but cp doesn't allow you to specify how many
> > bytes to be copied


-----------------------------------------------------------------------

As we are at it, here is my opinion about the case of full image
copying.

Franco Martelli wrote:
> # dd if=debian-live-13.7.0-amd64-lxqt.iso of=dev/sdX obs=4M oflag=sync 
> status=progress
> ~# pv -Y debian-live-13.7.0-amd64-lxqt.iso >/dev/sdX

Although the pv command is shorter, it imposes the same main risk as
dd or cp, namely the choice of /dev/sdX when running them under sudo.

For safety reasons i propose:

  xorriso-dd-target -with_sudo -plug_test -DO_WRITE \
                    -image_file debian-live-13.1.0-amd64-standard.iso

See
  https://wiki.debian.org/XorrisoDdTarget
  
https://manpages.debian.org/trixie/xorriso-dd-target/xorriso-dd-target.1.en.html


Have a nice day :)

Thomas

Reply via email to