LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 04-15-2005, 12:45 AM   #1
cgetty
LQ Newbie
 
Registered: Apr 2005
Posts: 5

Rep: Reputation: 0
partition recovery


Ok I was meaning to change the file system on my 160 Gig usb drive using cfdisk. I tried it earlier in the day but for some reason it didn’t stick.

So in the after noon I booted up my windows pc with a live version of linux to try it again. I ran cfdisk looking at /dev/hda1. I got distracted by a phone call. When I came back I deleted /dev/hda1 thinking I was working on the 160 gig usb drive. As the partition was being written to the disk it dawned on me, what I had just done. CRAP!!!

At that point I shut every thing down and am now considering my options (if there are any).

Is there a way to recover from this???
Thanks
Clark
 
Old 04-15-2005, 12:55 AM   #2
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
So, you want to recover a windows partition? NTFS I guess. EasyRecovery Pro does a good job of this.

http://www.ontrack.com/easyrecoveryprofessional/

You need to install windows on another drive, and put your fubar'd drive on a separate IDE chain. Then install the software and attempt a recovery of your data.

If it's just a partition issue, perhaps partition magic may help reassign the partitions without data loss- but I've never seen that happen. You are probably just SOL with the latter option though.
 
Old 04-15-2005, 01:06 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,125

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
(c)fdisk should probably fix it - it's simply a matter getting the partition size(s) right in the partition table if no data has been over-written.

Better option would be testdisk - do a search for it here on LQ; gets good reports from those that have needed it.
 
Old 04-18-2005, 10:03 PM   #4
cgetty
LQ Newbie
 
Registered: Apr 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks every one for your help.

syg00

Testdisk did the trick!

Its nice when things go the way you want
 
  


Reply



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
Partition recovery ElVirolo Linux - Hardware 6 07-30-2005 03:25 AM
Partition Recovery Salpula Linux - Software 0 09-01-2004 04:35 PM
Partition table recovery SYakush Linux - General 4 08-04-2004 04:55 AM
Partition recovery julien.r Linux - Hardware 2 11-19-2003 08:00 AM
partition recovery cshaigh Linux - Software 9 08-26-2001 07:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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