
You will be offered a list of disks, select the same disk as was selected in the GParted GUI interface, then pick the option ‘Analyze’ and then ‘Quick Search’ your partition take should be found then choose the ‘Write’ option. Launch a terminal from the GParted desktop and run the command ‘testdisk’. You will see that the partition is missing.

Select the correct physical hard disk in the top right-hand corner e.g. You can download the latest GParted ISO from here: īoot your server using the GParted iso via the IPMI (raise a support ticket for IPMI access if you do not have it). Luckily there is a well-established tool available built right into the GParted suite, which will scan your entire physical disk for lost/deleted partitions and recover them in place and put them right back where they were when used together with the test disk. Many people do not know this and will struggle to understand many of the terms used when using the command line alone to make a recovery. Assume you know your GPT from your BIOS mode and your MBR from your disk geometry. While many guides use old and trusty tools like test disk, these are very manual. The likelihood of success in recovering the partition is directly linked to reducing the amount of data written to the disk where the partition was. Well, the very first thing you should do is take down as much information as you can about the partitions very quickly as a reference and shut the server down immediately. Oops, you just accidentally deleted a whole partition on your Linux or Windows server! What do you do?
