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?

    nicolai@babka.socialN This user is from outside of this forum
    nicolai@babka.socialN This user is from outside of this forum
    nicolai@babka.social
    wrote sidst redigeret af
    #10

    @mcc testdisk and photorec. And make a copy with GNU ddrescue before

    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?

      joriki@infosec.exchangeJ This user is from outside of this forum
      joriki@infosec.exchangeJ This user is from outside of this forum
      joriki@infosec.exchange
      wrote sidst redigeret af
      #11

      @mcc

      maybe possibly: bootrepair

      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?

        lynndotpy@mastodon.socialL This user is from outside of this forum
        lynndotpy@mastodon.socialL This user is from outside of this forum
        lynndotpy@mastodon.social
        wrote sidst redigeret af
        #12

        @mcc Other advice to make a copy and then use testdisk / photorec are good. But if you haven't checked with a known good card already, maybe the reader / adapter could be an issue too?

        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?

          mhoye@cosocial.caM This user is from outside of this forum
          mhoye@cosocial.caM This user is from outside of this forum
          mhoye@cosocial.ca
          wrote sidst redigeret af
          #13

          @mcc I see that other people have already mentioned them, but the right answer is testdisk/photorec and I've seen them save the day more than a few times.

          https://www.cgsecurity.org/wiki/PhotoRec

          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?

            realcainmosni@mastodon.me.ukR This user is from outside of this forum
            realcainmosni@mastodon.me.ukR This user is from outside of this forum
            realcainmosni@mastodon.me.uk
            wrote sidst redigeret af
            #14

            @mcc Best you can do is image the device - if it is readable at all - and work with that. Do NOT try to work with the device directly if you can avoid it. Corruption lies in that direction. From now on treat it as read only (which also means not attempting to mount it, again).

            realcainmosni@mastodon.me.ukR 1 Reply Last reply
            0
            • realcainmosni@mastodon.me.ukR realcainmosni@mastodon.me.uk

              @mcc Best you can do is image the device - if it is readable at all - and work with that. Do NOT try to work with the device directly if you can avoid it. Corruption lies in that direction. From now on treat it as read only (which also means not attempting to mount it, again).

              realcainmosni@mastodon.me.ukR This user is from outside of this forum
              realcainmosni@mastodon.me.ukR This user is from outside of this forum
              realcainmosni@mastodon.me.uk
              wrote sidst redigeret af
              #15

              @mcc There are forensic tools which will help make sense of the image if you can get one at all. Binwalk on the image, for starters. A bit overblown for your use case, but there's also Sleuthkit and Autopsy (proper forensic tools, which are great for data recovery, if you have the time and dedication).

              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?

                simon@gotosocial.grnwds.ukS This user is from outside of this forum
                simon@gotosocial.grnwds.ukS This user is from outside of this forum
                simon@gotosocial.grnwds.uk
                wrote sidst redigeret af
                #16

                @mcc
                TestDisk might work but haven't tried it with exfat. It's very good for Linux filesystems. https://www.cgsecurity.org/wiki/TestDisk_Download

                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?

                  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
                                          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