manually write partition table for deleted partition
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
manually write partition table for deleted partition
i was installing ubuntu jaunty few days on my new laptop hp-dv6(320gb hdd)
and had backed up my data in my 160 gb external portable hdd
i accidently deleted my partition of external hdd and went ahead and started installing ubuntu
then i suddenly realised my mistake and immediately pluged out the ext hdd knowing that data is still there and only partition entry has been deleted
i thought that recovery would be easy
googled and found tools like testdisk, active partition recovery.
tried them but unfortunately none worked(dont know why)
after finishing scanning the hdd for lost partitions and correctly detecting that one big 160gb partition has been deleted active partition recovery gave error msg that disc MBR damaged and it cannot continue so i selected option to rewrite fresh mbr on the hdd
this was the only change i made to my hdd
then i tried testdisk
to my horror it didnt show ny partition
so i kept ext hdd away for 2-3 days and played with my lappy on ubuntu(as its 320 gb hdd had no data so i could safely do nything)
and now i have a perfectly working ubuntu jaunty on my laptop
since i didnt write to my ext hdd all the data should be there
i as hoping that if i could manually rewrite the partition table so that windows would feel asif no change has been made to partition
how can i do this plz tell
ny help is welcome
but plz dont suggest ny softwares for searching for lost partitions guide me how to write the partition table fore the lost ntfs 160 gb partiton which filled the entire 160gb ext portable hdd
In my experience recovering a deleted partition that I hadn't reformatted or deleted any data, I knew ahead of time the beginning and ending cylinder/head/sector boundary information for the partition. Using fdisk, I would then manually enter that boundary information, save it, fingers crossed, and the data was all there.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.