Announcement

Collapse
No announcement yet.

Disk error-unable to recover

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • CharlieDaves
    replied
    Would this do ?
    https://www.simplified.guide/linux/d...artition-table

    EDIT--- It's amazing. Before I started this thread, I Internet searched "kubuntu how to recover partition" and got basically the link above, and stuff form 10+ years ago.
    Just did this search again using Giggle, and got several PREVIOUS Kubuntu Forum Threads....
    https://www.kubuntuforums.net/forum/...er-a-partition
    https://www.kubuntuforums.net/forum/...very-partition
    https://www.kubuntuforums.net/forum/...artitions-data
    https://www.kubuntuforums.net/forum/...drive-recovery

    Why oH why does this occur !!!! I am angry with myself, and appologise to the community....
    Originally posted by oshunluvr View Post
    The program "testdisk" may be able to recover your partition table but if you started moving data, it's likely trashed or at least some of it.
    The program "photorec" can recover files and does a good job of it, but won't have filenames so you'll have many, many hours going through the recovered files.

    You're probably better off restoring from a backup. I would never mess with partitioning without a recent backup.

    So based on your description, IF the Kubuntu 22 partition size change completed successfully prior to the "crash", test disk MAY be able to simply recreate the partition table and you're good to go.
    If not, you may be stuck with many hours of file recovery. You'll need enough free storage on another drive to use photorec.

    It's clear from your screenshot that you are still using MBR partitioning. Had you been using GPT partitioning, you would have a backup partition table. That's one of the advantages of GPT partitioning.
    For future reference: It is fairly simple to make a partition table backup. I think I wrote a How-To about that on here like a decade ago or more.
    One positive thing to note is if the issue is only the partition table - it can be rebuilt without deleting data.

    I wish you luck.

    From the First kubuntu Forum link above.

    HOW Do I Recover, as in where is it, GPT partition? Please and TIA !!!!

    EDIT 2--- Running testdisk.
    So I've followed the instructions since two websites and one of the kubuntu links pointed to it, I've followed it.
    I've selected the drive
    Analyse
    Quick Search
    and I have this. What do I select please. I am on pause and praying for no power outages.
    Click image for larger version

Name:	230823@1414-Testdisk-Analyse-QuickSearch=Results.jpg
Views:	321
Size:	74.0 KB
ID:	673483
    A = Add partition - I don't really need pine64 Two-Boot so Nah
    L = Load backup... Hmm Good idea ?? Yes or No
    T = Change type.. Huh WTHeck
    P = List Files... I cannot access them so listing them seams a little redundant, but might be useful if some Kubuntu Experienced person says too

    TIA Kubuntu Forums People.
    Last edited by CharlieDaves; Aug 22, 2023, 10:20 PM.

    Leave a comment:


  • CharlieDaves
    started a topic Disk error-unable to recover

    Disk error-unable to recover

    Hello all,
    I accidentally wrote two new partitions to my main backup (internal) drive which I cannot backup externally as external drive too small (8gb internal to 2gb external)
    What I wrote (god know how) is pinephone twoboot, using DD
    It's two partitions, one is 12meg, the other is 20meg
    the thing is, this drive is used buy a virtual machine, and I can access some folders via the external machine (qbittorrent) which uses some of this drive.
    I have important files that I am sorting through.
    Now the data is still there, something is going to have been lost but it it shouldn't be that important.
    Via kde partition manager, or Dolphin or (VM PCMan) I can access two folders. Every other folder I cannot. I get "Unable to access folder....... Protocol Error"

    Q-What is the best way to restore access to this data.
    FYI - I do NOT have a spare 8GB HDD lying around so what I can get is getting moved to various other smaller drives. It's all I can do. I thought I had a spare 8GB HDD, but I've recently been forced to move and it's no-where to be found.

    I wouldn't be asking this as Urgent if it wasn't.
    Many thanks to all

Users Viewing This Topic

Collapse

There are 0 users viewing this topic.

Working...
X