Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Sir yesterday while I was operating suse12.2 power failure occurred at that time I was accessing another internal harddisk finally I opened gparted and found no partitions. In gparted I have selected the option create partition table and also I ran the tool testdisk but no use.After that I ran the command gpart /dev/sda and found four partitions. Can you please describe how to recover partition table using gpart.
Actually I am having two harddisks one 500GB on which I have installed suse and another harddisk of size 160GB on which I have installed Windows7.
Sir yesterday I have ran testdisk three to four times on opensuse12.2 and each and every time it is showing errors like cylinders are not in correct position etc., so can I trust that tool and also I think it has destroyed my disk completely. At present I have gparted live disk.If you don't mind can you please describe the procedure of recovering mbr using testdisk.
I think it is telling you that the partition is not ending on cylinder boundaries which often happens when you partition disks with windows.
the manual says:
How to find the correct number of heads?
If the HD geometry mismatches the geometry used when creating the partition table, warning messages such as: Bad sector count, Bad relative sector or Bad ending head are displayed when Analyse is selected from the main menu. If you see such errors, you may need to use the Geometry menu to change the logical number of heads. Try 255, 16, 32, 64, 128 and 240 heads until TestDisk finds all your partitions. 255 and 240 are the most common head values. If you installed Linux as the only OS on your hard drive, it tends to default to only 16 heads.
Everything else you need to know is described here: