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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-29-2006, 02:43 PM
|
#1
|
LQ Newbie
Registered: Dec 2005
Posts: 1
Rep:
|
Help! Deleted an ext3 partition.
I need your help.
Yesterday I tried to install Windows XP on my hard drive, and it complained and wouldn't do it. When I booted back in to Windows I found that my 62GB logical ext3 partition with all my important files on had gone. I'd had a similar problem with a friend's computer before and I managed to fix it using all the useful information available on the internet, so I opened up GParted (should have used the command line ...) and created a partition approximately where the other would have been, but forgot that by default, GParted automatically formats the partition. So the partition has a ext2 filesystem written over it. Is the data still recoverable? No files were saved to the new partition, and it is unmounted. When a partition is formatted, is data just written at the beginning of the partition or al the way through? I know ext3 is just ext2 with journalling. Can anyone help me please?
I've Googled and searched the forums, but haven't been able to find any info on my specific situation.
This is on a laptop with partition layout as follows:
1 ext3 10GB Debian
2 swap 1GB
3 hfs+ 6GB Mac OSX x86
4 extended 83GB
Unformatted 19GB
5 ext3 62GB files (DELETED)
6 Unformatted 2GB (reserved for suspend to disk)
|
|
|
04-29-2006, 03:40 PM
|
#2
|
Senior Member
Registered: Aug 2005
Posts: 1,755
Rep:
|
maybe you can look at this program
|
|
|
04-29-2006, 03:41 PM
|
#3
|
Senior Member
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705
Rep:
|
Quote:
Originally Posted by hergadawn
I need your help.
Yesterday I tried to install Windows XP on my hard drive, and it complained and wouldn't do it. When I booted back in to Windows I found that my 62GB logical ext3 partition with all my important files on had gone.
|
You said it wouldn't install, so how did you "boot back in to Windows?"
Quote:
Originally Posted by hergadawn
I'd had a similar problem with a friend's computer before and I managed to fix it using all the useful information available on the internet, so I opened up GParted (should have used the command line ...) and created a partition approximately where the other would have been, but forgot that by default, GParted automatically formats the partition.
|
I can't say you're wrong but I find it difficult to believe that gparted formats partitions by default. That sounds like it would make a lot of very unhappy people.
Quote:
Originally Posted by hergadawn
So the partition has a ext2 filesystem written over it. Is the data still recoverable?
|
Probably not, if it was really reformatted. Try mounting it r/o from your Debian system or a linux live CD like Kanotix, Slax, or other and see if you can read it.
Quote:
Originally Posted by hergadawn
This is on a laptop with partition layout as follows:
1 ext3 10GB Debian
2 swap 1GB
3 hfs+ 6GB Mac OSX x86
4 extended 83GB
Unformatted 19GB
5 ext3 62GB files (DELETED)
6 Unformatted 2GB (reserved for suspend to disk)
|
Where is Windows on this list? You say you rebooted into Windows, but it's not on this list.
What would be better is the output from fdisk -l instead of what you have here, because stuff like (DELETED) doesn't tell us anything.
Last edited by Randux; 04-29-2006 at 03:45 PM.
|
|
|
04-29-2006, 04:05 PM
|
#4
|
Senior Member
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537
Rep:
|
i dident know they made laptops with 183gb hard drives.
if the parttion was just removed and not formatted persay then you could just recreate the parttion with the same begining byte count and end byte count.
then mount it to recover data.
I do this alot when resizeing parttions with no data loss.
This of course if you remeber where the parttion started at
|
|
|
04-29-2006, 05:05 PM
|
#5
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,251
|
Don't like your chances for a simple recovery - the mke2fs will probably have used the same set of superblocks (BTW, I'm quite prepared to believe gparted would do this - expect it to in fact. That's why the GUIs are invented - to save people having to know what to do {next}).
Testdisk is designed for recovery after partition deletion - different issue.
Best bet might be to try some forensic software - I've seen good reports about foremost (on sourceforge), although I haven't tried it myself.
(exvor do the maths again - you've "double counted" the extended/logicals)
|
|
|
All times are GMT -5. The time now is 01:58 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|