I have recently corrupted a hard disk on my machine by accidentally typing fdisk -I /dev/ads:12 in FreeBSD and overwriting the partition table. Therefore I am using testdisk from http://www.cgsecurity.org. I got this installed on Sabayon by typing emerge testdisk and waiting a couple of minutes. After this, I selected the /dev/sda device and performed …