Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This 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.


  Search this Thread
Old 07-29-2009, 11:27 AM   #1
LQ Newbie
Registered: Jul 2009
Posts: 2

Rep: Reputation: 0
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
Old 07-30-2009, 12:26 PM   #2
Senior Member
Registered: May 2006
Distribution: BeOS, BSD, Caldera, CTOS, Debian, LFS, Mac, Mandrake, Red Hat, Slackware, Solaris, SuSE
Posts: 1,761

Rep: Reputation: 80
I found this info which may help you. NOTE: No guarantees that it will work or any data still on drive will be intact.

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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
i have deleted my partition table theoldnyx Linux - Newbie 1 12-15-2007 04:54 PM
Partition deleted from table, can I get it back? serafean Linux - General 3 11-11-2006 12:25 PM
Partition table Deleted bcf2 Linux - Software 6 03-17-2006 09:23 AM
Manually create partition table? FogSwimmer Linux - Software 7 12-29-2005 06:28 PM
Uh-Oh... Manually Edit a Partition Table? davidbalt Linux - Software 11 03-02-2004 01:16 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:09 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration