Results 1 to 4 of 4

Thread: How to recover partitions deleted by mistake?

  1. #1
    Join Date
    Jul 2013
    Posts
    18

    Default How to recover partitions deleted by mistake?

    Hi all,

    I have delete a whole disk that contained a linux installation using "clean" command on Windows using diskpart. After doing that I realized I had delete the wrong disk.

    How could I recover it? I have write nothing nor create any partition on the disk after doing this.

    The disk is a SSD.

    Many thanks in advance

  2. #2
    Join Date
    Jul 2008
    Location
    Berlin, Germany
    Posts
    822

    Default

    A program to recover deleted partitions is testdisk.
    It is present on many live CDs such as SystemRescueCd or GRML. For a full list, see http://www.cgsecurity.org/wiki/TestDisk_Livecd

  3. #3
    Join Date
    Apr 2008
    Location
    Saskatchewan, Canada
    Posts
    460

    Default

    Just recreating the partition table with the same settings should work. So long as you know what those settings were.

    Certainly I've done that on a hard drive, I presume the SSD wouldn't have done some TRIM magic and deleted the contents of the partition as well as the partition table. If you have enough space free, you might want to use dd to dump the entire contents of the SSD to a backup file before you mess with it.

  4. #4
    Join Date
    Jul 2013
    Posts
    18

    Default

    I want to thank the help.

    I finally recovered the disk, the procedure were:

    -Use testdisk to recover main partition
    -Installing fresh kubuntu 14.2 onto a new SSD
    -Resize recovered partition to exactly match in size with new one on the new installation (using gparted)
    -Clone partition to partition with clonezilla
    -Restore grub using "boot repair disk"
    -Boot on recovered disk
    -Modify grub to avoid 10 secons wait screen on every boot.

    Regards

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •