- Recoverying from lost Partion tables
- Posted by Ken Tew on November 26th, 2003
I have an ide disk that somehow lost the partition information when I was
trying to add additional external scsi disks to the system.
The disk only contained a single linux parition for the whole drive (100G)
and had a reiserfs filesystem. Does anyone know of any utiltiies that might
be able to restore the partition table or otherwise recover the data from
this disk?
any help would be appreciated.
Note, please post responses, since e-mail to this account will bounce.
If for some reason you need to send e-mail there should be enough
information in this message for real person to figure out how to do so.
thank you.
----------
\//////
[ O o ]
Ken Tew - Licensed to Program \_=_/
http://www.pitt.edu/~ktew _| |_
/ \_/ \
________________________________________oOOO___OOO o__
- Posted by Davide Bianchi on November 26th, 2003
Ken Tew <ken@ksads.wpic.pitt.edu> wrote:
If you're positive about the number, type and position of the partition(s),
just use fdisk to rebuil the table.
Davide
- Posted by David on November 26th, 2003
Ken Tew wrote:
If all you did was install additional drives then are the new
drives strapped properly? If you didn't make any changes to the
original disk does it work if you disconnect the new drives you
added?
--
Confucius: He who play in root, eventually kill tree.
Registered with The Linux Counter. http://counter.li.org/
Slackware 9.1.0 Kernel 2.4.22 SMP i686 (GCC) 3.3.2
Uptime: 2 days, 16:36, 2 users, load average: 0.55, 1.09, 0.80
- Posted by Leon. on November 28th, 2003
"Ken Tew" <ken@ksads.wpic.pitt.edu> wrote in message
news:bq2hc3$9jt$1@usenet01.srv.cis.pitt.edu...
You can just make the new partition.
fdisk /dev/hdc
n for new , p for primary, starts at '1' ends at the maximum...
t for type, 1, 83
wq for write quit
That should do it.
IF you had a second partition, you would have made this partition like this,
mount the partition read only (mount -o ro /dev/hdc1 /mnt/floppy )
determined what size the filesystem is, calculated its size in cylinders,
and then unmounted it, created the new hdc1 partition to the correct size,
then created the 2nd partition starting just after the first.
then verified the 2nd partition was correct ( cat /dev/hdc2 | od -h | less
... and observe the signature(s) in the first sector ...which the 0xaa55 at
the end of the sector ..... if its not the first sector, tried to guess how
far wrong it might be )
mounted it read only to test, if not happy adjust the cylinders one forward
or backward.
- Posted by Shmuel (Seymour J.) Metz on November 28th, 2003
In <bq2hc3$9jt$1@usenet01.srv.cis.pitt.edu>, on 11/26/2003
at 03:37 PM, ken@ksads.wpic.pitt.edu (Ken Tew) said:
Did you configure the new disk with a SCSI id lower than that of the
old disk?
--
Shmuel (Seymour J.) Metz, SysProg and JOAT
Unsolicited bulk E-mail will be subject to legal action. I reserve
the right to publicly post or ridicule any abusive E-mail.
Reply to domain Patriot dot net user shmuel+news to contact me. Do
not reply to spamtrap@library.lspace.org
- Posted by Tauno Voipio on December 1st, 2003
"Ken Tew" <ken@ksads.wpic.pitt.edu> wrote in message
news:bq2hc3$9jt$1@usenet01.srv.cis.pitt.edu...
Google for 'gpart'. It may be able to reconstruct the partition table (if
the rest of the disk is not too badly messed up).
Tauno Voipio
tauno voipio @ iki fi