Skip to content
  • Hjem
  • Seneste
  • Etiketter
  • Populære
  • Verden
  • Bruger
  • Grupper
Temaer
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Kollaps
FARVEL BIG TECH
  1. Forside
  2. Ikke-kategoriseret
  3. I'm on Linux.

I'm on Linux.

Planlagt Fastgjort Låst Flyttet Ikke-kategoriseret
31 Indlæg 23 Posters 0 Visninger
  • Ældste til nyeste
  • Nyeste til ældste
  • Most Votes
Svar
  • Svar som emne
Login for at svare
Denne tråd er blevet slettet. Kun brugere med emne behandlings privilegier kan se den.
  • mcc@mastodon.socialM mcc@mastodon.social

    I'm on Linux. I have an SD card which has been giving me a number of strange problems for a while now. It now appears to have wiped itself completely. Looking in GNOME disks the main partition, which I expect to be exfat, is of type "unknown". If I run fsck.exfat, It claims it's not a valid exfat image.

    Windows refuses to even look at it.

    Before I destructively image the disk, do you think there is ANYTHING else I can/should try to see if the data is still easily recoverable?

    davep@infosec.exchangeD This user is from outside of this forum
    davep@infosec.exchangeD This user is from outside of this forum
    davep@infosec.exchange
    wrote sidst redigeret af
    #17

    @mcc This sort of thing but without the live Linux USB?

    https://www.thelinuxvault.net/linux-backup-recovery/step-by-step-linux-data-recovery-tutorial/

    davep@infosec.exchangeD 1 Reply Last reply
    0
    • davep@infosec.exchangeD davep@infosec.exchange

      @mcc This sort of thing but without the live Linux USB?

      https://www.thelinuxvault.net/linux-backup-recovery/step-by-step-linux-data-recovery-tutorial/

      davep@infosec.exchangeD This user is from outside of this forum
      davep@infosec.exchangeD This user is from outside of this forum
      davep@infosec.exchange
      wrote sidst redigeret af
      #18

      @mcc I'd go down straight to the "make an image" bit first.

      1 Reply Last reply
      0
      • mcc@mastodon.socialM mcc@mastodon.social

        I'm on Linux. I have an SD card which has been giving me a number of strange problems for a while now. It now appears to have wiped itself completely. Looking in GNOME disks the main partition, which I expect to be exfat, is of type "unknown". If I run fsck.exfat, It claims it's not a valid exfat image.

        Windows refuses to even look at it.

        Before I destructively image the disk, do you think there is ANYTHING else I can/should try to see if the data is still easily recoverable?

        S This user is from outside of this forum
        S This user is from outside of this forum
        spacelifeform@infosec.exchange
        wrote sidst redigeret af
        #19

        @mcc

        Probably tosst. What does fdisk -l /dev/sda report?

        mcc@mastodon.socialM 1 Reply Last reply
        0
        • mcc@mastodon.socialM mcc@mastodon.social

          I'm on Linux. I have an SD card which has been giving me a number of strange problems for a while now. It now appears to have wiped itself completely. Looking in GNOME disks the main partition, which I expect to be exfat, is of type "unknown". If I run fsck.exfat, It claims it's not a valid exfat image.

          Windows refuses to even look at it.

          Before I destructively image the disk, do you think there is ANYTHING else I can/should try to see if the data is still easily recoverable?

          evan@cosocial.caE This user is from outside of this forum
          evan@cosocial.caE This user is from outside of this forum
          evan@cosocial.ca
          wrote sidst redigeret af
          #20

          @mcc I've had good results with ddrescue and external drives.

          https://www.gnu.org/software/ddrescue/

          jamesd@mastodon.socialJ 1 Reply Last reply
          0
          • evan@cosocial.caE evan@cosocial.ca

            @mcc I've had good results with ddrescue and external drives.

            https://www.gnu.org/software/ddrescue/

            jamesd@mastodon.socialJ This user is from outside of this forum
            jamesd@mastodon.socialJ This user is from outside of this forum
            jamesd@mastodon.social
            wrote sidst redigeret af
            #21

            @evan @mcc Also had good results with ddrescue on very old 720MB floppies that had problems.

            1 Reply Last reply
            0
            • mcc@mastodon.socialM mcc@mastodon.social

              I'm on Linux. I have an SD card which has been giving me a number of strange problems for a while now. It now appears to have wiped itself completely. Looking in GNOME disks the main partition, which I expect to be exfat, is of type "unknown". If I run fsck.exfat, It claims it's not a valid exfat image.

              Windows refuses to even look at it.

              Before I destructively image the disk, do you think there is ANYTHING else I can/should try to see if the data is still easily recoverable?

              thatdnaguy@genomic.socialT This user is from outside of this forum
              thatdnaguy@genomic.socialT This user is from outside of this forum
              thatdnaguy@genomic.social
              wrote sidst redigeret af
              #22

              @mcc second photorec. I've recovered files from borked SD cards using it on Ubuntu

              1 Reply Last reply
              0
              • S spacelifeform@infosec.exchange

                @mcc

                Probably tosst. What does fdisk -l /dev/sda report?

                mcc@mastodon.socialM This user is from outside of this forum
                mcc@mastodon.socialM This user is from outside of this forum
                mcc@mastodon.social
                wrote sidst redigeret af
                #23

                @SpaceLifeForm without trying, I'd guess it reports that my internal drive (not exfat) is not exfat?

                S 2 Replies Last reply
                0
                • mcc@mastodon.socialM mcc@mastodon.social

                  @SpaceLifeForm without trying, I'd guess it reports that my internal drive (not exfat) is not exfat?

                  S This user is from outside of this forum
                  S This user is from outside of this forum
                  spacelifeform@infosec.exchange
                  wrote sidst redigeret af
                  #24

                  @mcc

                  Yes. What does fdisk -l /dev/sdb report?

                  Compare.

                  mcc@mastodon.socialM 1 Reply Last reply
                  0
                  • mcc@mastodon.socialM mcc@mastodon.social

                    @SpaceLifeForm without trying, I'd guess it reports that my internal drive (not exfat) is not exfat?

                    S This user is from outside of this forum
                    S This user is from outside of this forum
                    spacelifeform@infosec.exchange
                    wrote sidst redigeret af
                    #25

                    @mcc

                    Do you have a second computer to try the drive in?

                    Don't give up too soon.

                    mcc@mastodon.socialM 1 Reply Last reply
                    0
                    • S spacelifeform@infosec.exchange

                      @mcc

                      Yes. What does fdisk -l /dev/sdb report?

                      Compare.

                      mcc@mastodon.socialM This user is from outside of this forum
                      mcc@mastodon.socialM This user is from outside of this forum
                      mcc@mastodon.social
                      wrote sidst redigeret af
                      #26

                      @SpaceLifeForm It's in the screenshot above

                      muddle@infosec.exchangeM 1 Reply Last reply
                      0
                      • S spacelifeform@infosec.exchange

                        @mcc

                        Do you have a second computer to try the drive in?

                        Don't give up too soon.

                        mcc@mastodon.socialM This user is from outside of this forum
                        mcc@mastodon.socialM This user is from outside of this forum
                        mcc@mastodon.social
                        wrote sidst redigeret af
                        #27

                        @SpaceLifeForm im watching anime

                        1 Reply Last reply
                        0
                        • mcc@mastodon.socialM mcc@mastodon.social

                          @SpaceLifeForm It's in the screenshot above

                          muddle@infosec.exchangeM This user is from outside of this forum
                          muddle@infosec.exchangeM This user is from outside of this forum
                          muddle@infosec.exchange
                          wrote sidst redigeret af
                          #28

                          @mcc @SpaceLifeForm It doesn't. Your screenshot shows running fsck not fdisk.

                          The latter will read the partition table and print it out for you, including telling you what kind of partitions it has and whether there are overlapping ones.

                          One thing to try (besides just copying the disk, which you should do) is to see if the file utility has any idea about what's stored in that partition. Something like

                          sudo dd if=/dev/sdb1 bs=512 count=4 | file -

                          I've seen plenty of USB disks that appear not to have a proper partition table or boot sector, but they still work fine as a boot disk. I'm not sure if you remember writing the image (I always promptly forget which disk has what on it) but that might be the case here?

                          Anyway, copy the disk, save the image and you can work from that later. Just make sure that the tool you use detects and records any read errors.

                          (under Linux, you can use loopback mounts to mount from an image at a given offset instead of using a physical disk)

                          mcc@mastodon.socialM 1 Reply Last reply
                          0
                          • muddle@infosec.exchangeM muddle@infosec.exchange

                            @mcc @SpaceLifeForm It doesn't. Your screenshot shows running fsck not fdisk.

                            The latter will read the partition table and print it out for you, including telling you what kind of partitions it has and whether there are overlapping ones.

                            One thing to try (besides just copying the disk, which you should do) is to see if the file utility has any idea about what's stored in that partition. Something like

                            sudo dd if=/dev/sdb1 bs=512 count=4 | file -

                            I've seen plenty of USB disks that appear not to have a proper partition table or boot sector, but they still work fine as a boot disk. I'm not sure if you remember writing the image (I always promptly forget which disk has what on it) but that might be the case here?

                            Anyway, copy the disk, save the image and you can work from that later. Just make sure that the tool you use detects and records any read errors.

                            (under Linux, you can use loopback mounts to mount from an image at a given offset instead of using a physical disk)

                            mcc@mastodon.socialM This user is from outside of this forum
                            mcc@mastodon.socialM This user is from outside of this forum
                            mcc@mastodon.social
                            wrote sidst redigeret af
                            #29

                            @muddle @SpaceLifeForm Oh. Thanks. I misread.

                            I'll try that one tomorrow, along with the other suggestions. Thanks.

                            1 Reply Last reply
                            0
                            • mcc@mastodon.socialM mcc@mastodon.social

                              I'm on Linux. I have an SD card which has been giving me a number of strange problems for a while now. It now appears to have wiped itself completely. Looking in GNOME disks the main partition, which I expect to be exfat, is of type "unknown". If I run fsck.exfat, It claims it's not a valid exfat image.

                              Windows refuses to even look at it.

                              Before I destructively image the disk, do you think there is ANYTHING else I can/should try to see if the data is still easily recoverable?

                              octade@soc.octade.netO This user is from outside of this forum
                              octade@soc.octade.netO This user is from outside of this forum
                              octade@soc.octade.net
                              wrote sidst redigeret af
                              #30
                              @mcc@mastodon.social

                              The suggestion at the end of this might be a viable option.

                              Use application, 'testdisk' to analyze without writing any changes. If it can detect the lost exfat tables then it can be recovered. I have done this with multiple failed media and drives. Be sure to read the documentation carefully before running it.

                              Exfat writes a backup boot region. Testdisk should be able to check for this.

                              If that doesn't work there is ddrescue and photorec for finding and recovering individual files.

                              You might also use 'dd' to raw copy the damaged volume to an image file and write that image file to other external media then try running 'testdisk' and other tools on the copy. You can keep the image file as a backup as you try to recover the data from a copy first, to avoid the risk of further damage to the card.

                              1 Reply Last reply
                              0
                              • lluad@mastodon.ieL lluad@mastodon.ie

                                @mcc Image the whole SD to a file, then take a copy of the file and work solely with the copy.

                                ddrescue may be a good way to make that image, depending on how the SD card has failed.

                                Then something like TestDisk might help recover files.

                                pelle@veganism.socialP This user is from outside of this forum
                                pelle@veganism.socialP This user is from outside of this forum
                                pelle@veganism.social
                                wrote sidst redigeret af
                                #31

                                @lluad @mcc yes, testdisk and photorec are the best!

                                1 Reply Last reply
                                0
                                Svar
                                • Svar som emne
                                Login for at svare
                                • Ældste til nyeste
                                • Nyeste til ældste
                                • Most Votes


                                • Log ind

                                • Har du ikke en konto? Tilmeld

                                • Login or register to search.
                                Powered by NodeBB Contributors
                                Graciously hosted by data.coop
                                • First post
                                  Last post
                                0
                                • Hjem
                                • Seneste
                                • Etiketter
                                • Populære
                                • Verden
                                • Bruger
                                • Grupper