aodhsishaj, (edited )

Wouldn’t you want to use

dd if=/dev/sda3 of=/dev/sdc1 status=progress && sync

Where /dev/sda3 is the damaged partition and /dev/sdc1 is the freshly formatted external drive

You’ll find your attached devices with lsblk

You’re going to want to make sure /dev/sda3(broken partition) is unmounted so as not to write any more data to it.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #