Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


Search this Thread
Old 01-12-2009, 06:49 PM   #1
Registered: Nov 2006
Posts: 56

Rep: Reputation: 15
accidentally deleted partitions

I accidentally deleted the partitions on our linux hard drive using (windows) fdisk. I think we were using ext3 file system.

Would appreciate help on getting these back. I haven't repartitioned or formatted the drive.

Old 01-12-2009, 07:05 PM   #2
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
Try running a program called testdisk. I think there's even a Windows version. But it should be able to restore the last good partition table and you'll be back in business.
Old 01-12-2009, 07:15 PM   #3
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,378
Blog Entries: 3

Rep: Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478

'Test-disk' is the program to try an use to recover.

This link and others are available from 'Slackware-Links'. More than just SlackwareŽ links!
Old 01-13-2009, 09:57 AM   #4
Registered: Jan 2007
Distribution: various Linux
Posts: 214
Blog Entries: 1

Rep: Reputation: 45
Another vote for Test-disk which is one of several valuable
tools on the SystemrescueCd.

Last edited by beachboy2; 01-13-2009 at 09:58 AM.


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
Accidentally deleted GRUB oryhara Linux - General 3 06-09-2006 06:23 PM
I accidentally deleted libstdc++ :( piforever Fedora 4 01-01-2006 07:03 PM
Accidentally deleted files rwalkerphl Linux - Newbie 3 06-24-2004 07:11 PM
Accidentally deleted /etc/init.d .. what do i do? :| waste Linux - General 5 03-04-2004 04:39 AM
accidentally deleted /etc/profile tanbetien Fedora 2 11-21-2003 10:42 PM

All times are GMT -5. The time now is 01:02 PM.

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 @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration