Thank you, not sure I will have room on my 500GB hard drive if I try out all those, many of the names I recogniose. I will put on order a 1000GB drive just in case I get around to play more than I expected.
I have been a bit unlucky and actually lost the partition table on my /dev/sdb, perhaps should have waited until I got a new drive. The data loss here is not huge but a challenge, the partition table I think was over written in the boot sector. Since it was NTFS formats I know there is a MBR backup but I am not sure I have tracked such down before. I have dealt with similar FAT16 and FAT32. Bit of sidealley entertaining.
You can use fdisk to recreate the partition table. Start with the o command
to create a new DOS partition table. Use the n command
to create a new p
(primary) partition, using the same start
cylinders as you posted above, for the first partition. Do the same
for the next two partitions. Then create the extended
partition to hold the remainder of the drive space, as mentioned before. Use the t command
to change the ID
for each of the first three partitions to 7
At any time you can use the p command
to see what the partition table looks like, at that point, and check for errors. If you spot any, use the d command
to delete the errant partition, and any that follow
it, and then the n command
again to create corrected
partitions. All this takes place in memory
only, so you can do
to your hearts content. When everything is finally correct, use the w command
to actually write the partition table to the hard drive.
All your data should be intact, and your Windows installation should boot if you didn't remove the Windows boot code from the MBR as well. If you did, the fixmbr
app from a Windows CD will restore that. If you have an old Win98
boot floppy and a floppy drive, you can run fdisk /mbr
to also replace the Win boot data. Many of the various rescue CDs available from the net will also contain apps to restore the Windows boot code.