I tried to create a bootable Ubuntu iso disk on a partition (sdc-2) of a usb stick, which had originally three partitions (sdc-1/2/3, of type ext3/fat32/ntfs). Following this thread, I ran:
sudo umount /dev/sdc2
sudo dd if=input.iso of=/dev/sdc
Now, I am not able to access the 3 partitions anymore. So first question, did I make a mistake? My feeling is that I should have used of=/dev/sdc2 instead, right?
Second question, how do I fix the problems:
The partitions are not shown. Running testdisk, I see one "iso" partition, but then, the "quick search" option shows the three underlying partition. How can I get the three partitions system back?
Previous partition sdc1 seems damaged. Testdisk detects it, but cannot list files. Did the dd operation irremediably damage it? Any change I could recover without using tools like photorecovery?
Thanks so much!!