how to write new partition table?
Posted: 05 Apr 2015, 15:19
I have an old hard drive, on which I created one extended partition. In order, it contained a 1.7Gb swap partition, 3 partitions for 3 linux operating systems and another partition for my data. Later I removed the first 2 linux partitions, filling its place with a new linx system. I then tried to burn a 1.7Gb linux iso file to my USB stick. However, it wrote the contents to that old hard drive.
I then used testdisk which found a FAT12 volume at the beginning, presumably the contents of that iso file, followed by the 2 linux operating systems and the data partition. I requsted to replace the FAT12 volume with a swap partition and requested to have the new partition table written. This changed nothing, however. What do I need to do to write it? In one of the main menus is the option 'Write Testdisk MBR code to first sector'. Was I supposed to have used this too?
I don't know if the original swap partition was bigger than the contents of the iso file.
I then used testdisk which found a FAT12 volume at the beginning, presumably the contents of that iso file, followed by the 2 linux operating systems and the data partition. I requsted to replace the FAT12 volume with a swap partition and requested to have the new partition table written. This changed nothing, however. What do I need to do to write it? In one of the main menus is the option 'Write Testdisk MBR code to first sector'. Was I supposed to have used this too?
I don't know if the original swap partition was bigger than the contents of the iso file.