I was playing around in another virtual machine (FreeBSD) which utilizes ZFS. That when I did something dumb of creating new zpool using the virtual disk that Fedora was installed on. After unmounting that disk, I tried starting up Fedora, however VirtualBox complained that there was no bootable medium found.
I then booted the Live Fedora, and saw on Gparted that it displayed the entire disk as a ZFS.
I tried looking around the internet, and found out about TestDisk and I tried it.
It is able to detect that Fedora is still on the disk, but there is no partition table. Furthermore, it is still in ZFS format. My question is, how do I remove the ZFS label, then use TestDisk or something similar to get the partition label back?
When it was mounted as a ZFS on FreeBSD, I did not do any add or write operations, thus I could think that it only changed the beginning portion (boot sector) and the label.