The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
Success Stories
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 Lost partition table
Author: Radosław Swadźba 
Date:   23-12-03 17:43

I have recenlty lost partition table from my hard disk by playing with fdisk(8). I was really nervous, i thought my 40GB of data was lost! I decided not to give up. I plugged my hdd into my old computer running FreeBSD 4.9-S. After a while of searching, I have found something interesting in /usr/ports:

Port: gpart-0.1h
Path: /usr/ports/sysutils/gpart
Info: Tries to recover lost partition tables and file systems

I installed it as fast as i could. ;)
After a while of reading 'man gpart' i did 'gpart /dev/ad3' and I saw my ntfs, fat32 and ufs partitions. I decided to write my partition table back as fast as possible, so i did as described in manual:
'gpart -W /dev/ad3 /dev/ad3'
Then, I rebooted my computer, mounted recovered partitions and copied the most important data to other hdd, I wanted to have everything clean so I made new partitions and installed new system.
And that was my story ;->
Do everything at your own risk, and read gpart(8)!
Special thanks goes to Michail Brzitwa - an author of gpart.

 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 Lost partition table   new
Radosław Swadźba 23-12-03 17:43 
 Re: Lost partition table   new
Radosław Swadźba 23-12-03 17:47 
 Re: Lost partition table   new
Bharat 16-01-04 06:46 
 Re: Lost partition table   new
Radoslaw Swadzba 19-01-04 14:44 
 Re: Lost partition table   new
krishna bardewa 11-04-04 04:41 
 Re: Lost partition table   new
Dan 11-04-04 11:55 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org