[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [SOLVED] Re: writing iso file to usb stick with dd - garbled files - usb eject error?



* On 2025 03 Aug 05:31 -0500, Jonathan Dowland wrote:
> 
> On Sun Aug 3, 2025 at 6:52 AM BST, tomas wrote:
> > I always recommend to add "oflag=sync" to dd itself: this way it
> > syncs as it goes and you don't have to wait for a (potentially
> > long) time for sync to "come back".
> > 
> > Together with "status=progress" you get a visual feedback on how
> > things are going (without having to kill -USR1 the thing all the
> > time :)
> 
> A bugbear of mine is people recommending `dd` and using it without
> any customisation e.g. `dd if=iso of=/device`, which is harder to
> type than `cp iso /device`, and runs slower.

Curiously, I recall trying "cp" in the past and not having satisfactory
results.

> Your suggested `dd` flags demonstrate why it can be a better choice
> than simple `cp` for this use-case. Thanks!

Meanwhile "dd" has always worked for me.  I'll have to remember Tomas'
recommendation for "oflag=sync" for the next time I write an image,
though that might be a while.

- Nate

-- 
"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."
Web: https://www.n0nb.us
Projects: https://github.com/N0NB
GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819

Attachment: signature.asc
Description: PGP signature


Reply to: