• Chewy@discuss.tchncs.de
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    1 year ago

    The I/O size is a reason why it’s better to use cp than dd to copy an ISO to a USB stick. cp automatically selects an I/O size which should yield good performance, while dd’s default is extremely small and it’s necessary to specify a sane value manually (e.g. bs=1M).

    With “everything” being a file on Linux, dd isn’t really special for simply cloning a disk. The habit of using dd is still quite strong for me.

    • MonkderZweite@feddit.ch
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Like i use to say; dd nowadays is best used as a scalpell (to cut bit sizes) not a shovel (to move chunks of data).

      • PlexSheep@feddit.de
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        1 year ago

        Recently, I learned that booting from a dd’d image is actually a major hack. I don’t get it together on my own, but has something to do with no actual boot entry and partition table being created. Because of this, it’s better to use an actual media creation tool such as Rufus or balena etcher.

        Found the superuser thread: https://superuser.com/a/1527373 Someone had linked it on lemmy