Best yet, back to the universal linux 'dd'

Story: Etcher – Easy way to Create a bootable USB drive & SD card from an ISO imageTotal Replies: 5
Author Content
flufferbeer

May 31, 2016
11:42 AM EDT
Seems to me that once the checksums of the downloaded isos are verified through their highest available SHA's, the commandline 'dd' works just as well for isohybrid iso images as Amazon Web Svcs' resin-production-downloads.s3.amazonaws.com/etcher/1.0.0-beta.6/Etcher-linux-x64.AppImage

Instead of etcher [path/to/image.iso], best to do 'dd if=path/to/image.iso of=/dev/sdX bs=4M (maybe oflag=direct?) && sync'

SIMPLE and right to the point!

2c
AwesomeTux

May 31, 2016
12:39 PM EDT
dd is from GNU coreutils, not Linux.

But yeah, I normally use dd as well. If I need a realtime progress estimate than I use GNOME Disks and "restore" the ISO image to the drive.
penguinist

May 31, 2016
2:25 PM EDT
Actually, since version 8.24 the dd command now supports progress reports directly.

Example:

dd if=my.iso of=/dev/sdX bs=1M status=progress
That gives you an updating progress report that looks like this:

538690048 bytes (539 MB) copied, 33.388881 s, 16.1 MB/s
AwesomeTux

May 31, 2016
2:52 PM EDT
Nice.
vainrveenr

May 31, 2016
11:24 PM EDT
Quoting:Actually, since version 8.24 the dd command now supports progress reports directly.

Example:

dd if=my.iso of=/dev/sdX bs=1M status=progress
That gives you an updating progress report that looks like this:

538690048 bytes (539 MB) copied, 33.388881 s, 16.1 MB/s


Also described at the bottom of the GNU Coreutils: dd invocation.

Another method of monitoring 'dd' is by using 'pv', see https://askubuntu.com/questions/215505/how-do-you-monitor-the-progress-of-dd.

Further methods of monitoring 'dd' are described at the Unix & Linux Stack Exchange thread 'How do I know if dd is still working?', found at http://unix.stackexchange.com/questions/11262/how-do-i-know-if-dd-is-still-working



vainrveenr

Jun 03, 2016
12:32 PM EDT
Quoting:dd is from GNU coreutils, not Linux.


Related to 'dd' at least in name, there is also the GNU 'ddrescue' data recovery tool, see the 'Ddrescue' page found at http://www.gnu.org/software/ddrescue/ddrescue.html.

Further ddrescue-related tools are :

DDRescue-GUI - A simple GUI (Graphical User Interface) for ddrescue.

Ddrescueview - A graphical viewer for GNU ddrescue log files.

Ddrutility - A set of tools designed to work with ddrescue to aid with data recovery.



Posting in this forum is limited to members of the group: [ForumMods, SITEADMINS, MEMBERS.]

Becoming a member of LXer is easy and free. Join Us!