Re: [ilugd] ext3 file format

2006-01-22 Thread [EMAIL PROTECTED]
The Linux For You  december Issue I think has a article on Data Recovery 
from crashed hard Disks. Its probably not for novices but gives a fairly 
good over view of the effort involved and what could be done.

Sorry I don't know if there is a link to it on the net but you could 
check out the magazine or the LFy website.

regards
ram


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/



Re: [ilugd] ext3 file format

2006-01-18 Thread Gora Mohanty
Nitin Gupta <[EMAIL PROTECTED]> wrote:
  > I am working to recover the data, i tried grep and dd method to
 > recover the data, i am able to recover the text of emails. is there
 > any way, such i can recover the complete files???
   
 No. Consider yourself lucky that you are able to recover that much.
   
 >  
 >  like, i am
 > grepping to find a pattern, from that getting the offset and then using
 > dd on it, can i do the same but instead of using pattern, i want to
 > use filename. 
> Say i have a file called nitin.txt, so i want to recover it as a whole, is
 > anything possible with it?? 
 
 It is, in general, not possible to recover a file from the name if the
 file system has been remade. The suggested method of dd is the 
 best you can do, and if your old filesystem was not too fragmented,
 you should be able to get back most of your data in this manner.
 
 Regards,
 Gora


Send instant messages to your online friends http://in.messenger.yahoo.com 
___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/



Re: [ilugd] ext3 file format

2006-01-18 Thread Nitin Gupta
Hello,
 
 
 I am working to recover the data, i tried grep and dd method to recover the 
data, i am able to recover the text of emails. is there any way, such i can 
recover the complete files??? like, i am grepping to find a pattern, from that 
getting the offset and then using dd on it, can i do the same but instead of 
using pattern, i want to use filename. 
 Say i have a file called nitin.txt, so i want to recover it as a whole, is 
anything possible with it?? 
 
 I googled throughout the day, but didnt found any effective method? I did 
tried some softwares and methods, but nothing worked out.

 Hope to hear from you guys. :)
 
 Regards,
 Nitin
Saurabh Nanda <[EMAIL PROTECTED]> wrote: >
> I am ready to shed my pockets for my emails, but i want someone real
> expert who can do it. Is anyone of you know a real linux recovery expert?
> Also, how much will he charge??


If e-mails (text only) is your primary concern I *think* the following
solution might work:

o You have run mke2fs on the corrupted partition
o I am assuming that you have not yet written any fresh data on that
partition
o Which means that your data is still on the disk but is not logically
organized in files and directories anymore
o Run the following command on the partition and sift through *large*
volumes of data to recover your mail

root# cat /dev/hda7|strings|less

Disclaimer: Please don't blame me if this doesn't work. In case it does,
just pass on the 'pocket shedding' this side :-)

HTH
Nandz.
--
http://nandz.blogspot.com
http://foodieforlife.blogspot.com
___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/





-
Yahoo! Photos
 Ring in the New Year with Photo Calendars. Add photos, events, holidays, 
whatever.
___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/



Re: [ilugd] ext3 file format

2006-01-18 Thread Raj Mathur
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Nitin,

Firstly, request you to keep this on the mailing list so that everyone
gets a chance to contribute and benefit.

> "Nitin" == Nitin Gupta <[EMAIL PROTECTED]> writes:

Nitin> Hello, I am sending this email directly to you, coz you are
Nitin> the only one, who can help me out. Please help me :)

Nitin> I used grep and it showed me the data. It means all of it
Nitin> is in HDD and is recoverable. Now i want to copy all of it
Nitin> to another partition such that it is readable. I googled
Nitin> and found this command,

Nitin> # dd if=/dev/hdb of=/dev/hda5 bs=512 conv=noerror,sync I
Nitin> tried it, but to my utter surpise, it didnt copied
Nitin> anything, or if it did, it did all of it in binary again,
Nitin> which is not readable. :(

You only need to copy the specific blocks where your mail folder is.
That's why you use the -b flag to fgrep (to find out the byte offset
where your text was found).  Once you have the byte offset, the
chances are that the rest of the mail file will also be around there
somewhere.

So you convert the byte offset to a block number and use dd with the
options I'd given you to extract the file from the partition.  Blindly
giving commands that you find on the 'net isn't going to do much for
you.

Nitin> How can i get the data readable?? I am mainly looking out
Nitin> for my emails and databases, but it would be gr8, if i can
Nitin> get all of it, as all of it is still there ( i greped it
Nitin> and it showed up) .

You'll have to read, work, think and apply.  There's no silver bullet.

Regards,

- -- Raju
- -- 
Raj Mathur[EMAIL PROTECTED]  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
  It is the mind that moves
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 

iD8DBQFDzj+tyWjQ78xo0X8RAt4/AJ9SRPiE02wqTxjAsw5PpPaeL/F/jwCfSNlH
7eQvSYVkr5p+IyzrGxQ8hVw=
=Tigu
-END PGP SIGNATURE-

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/



Re: [ilugd] ext3 file format

2006-01-17 Thread Raj Mathur
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

> "Nitin" == Nitin Gupta <[EMAIL PROTECTED]> writes:

Nitin> Hello, I am ready to shed my pockets for my emails, but i
Nitin> want someone real expert who can do it. Is anyone of you
Nitin> know a real linux recovery expert? Also, how much will he
Nitin> charge??
 
Nitin>  I am thinking to visit nehru palace tomorrow and see,
Nitin> anyone there might be able to do something. Any ideas, will
Nitin> it beneficial or not?
 
Nitin>  Regarding usage of commands, yeah i know i made the boo
Nitin> boo. :(

If your partition was /dev/hda3, use:

  grep --binary-files=text -b 'Some string you remember from your mailbox' 
/dev/hda3 

This /should/ find your mailbox on the disk if the data still exists.
Then you'll need to play games with dd (skip=foo count=bar) to extract
the nearby blocks from the partition onto a file on another partition.
I've done this once when someone trashed my disk.

No substitute for backing up, though.

BACKUP REGULARLY.

BACKUP REGULARLY.

BACKUP REGULARLY.

Regards,

- -- Raju
- -- 
Raj Mathur[EMAIL PROTECTED]  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
  It is the mind that moves
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 

iD8DBQFDzbQFyWjQ78xo0X8RAp9gAKCORiKorSwwenzAa1JGj8XJBb31JQCeLFUT
pfUW/cJ86wHq69CkIwa1TJE=
=79Jq
-END PGP SIGNATURE-

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/



Re: [ilugd] ext3 file format

2006-01-17 Thread Saurabh Nanda
>
> I am ready to shed my pockets for my emails, but i want someone real
> expert who can do it. Is anyone of you know a real linux recovery expert?
> Also, how much will he charge??


If e-mails (text only) is your primary concern I *think* the following
solution might work:

o You have run mke2fs on the corrupted partition
o I am assuming that you have not yet written any fresh data on that
partition
o Which means that your data is still on the disk but is not logically
organized in files and directories anymore
o Run the following command on the partition and sift through *large*
volumes of data to recover your mail

root# cat /dev/hda7|strings|less

Disclaimer: Please don't blame me if this doesn't work. In case it does,
just pass on the 'pocket shedding' this side :-)

HTH
Nandz.
--
http://nandz.blogspot.com
http://foodieforlife.blogspot.com
___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/



Re: [ilugd] ext3 file format

2006-01-17 Thread Gora Mohanty
Nitin Gupta <[EMAIL PROTECTED]> wrote:
 > I am ready to shed my pockets for my emails, but i want someone
 > real expert who can do it. Is anyone of you know a real linux
 > recovery expert? Also, how much will he charge??
   
 Sorry, no idea on any of these. I am actually not sure that it is even 
 possible.
 
> I am thinking to visit nehru palace tomorrow and see, anyone there
 > might be able to do something. Any ideas, will it beneficial or not?
   
 Make sure that you do not pay money up front. I would be surprised if
 you found anyone with the required expertise at Nehru Place. Search
 Google instead, and make a binary copy of your disk to another one
 before doing anything more with it.
 
 Regards,
 Gora


Send instant messages to your online friends http://in.messenger.yahoo.com 
___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/



Re: [ilugd] ext3 file format

2006-01-17 Thread Nitin Gupta
Hello,
 
 
 I am ready to shed my pockets for my emails, but i want someone real expert 
who can do it. Is anyone of you know a real linux recovery expert? Also, how 
much will he charge??
 
 I am thinking to visit nehru palace tomorrow and see, anyone there might be 
able to do something. Any ideas, will it beneficial or not?
 
 Regarding usage of commands, yeah i know i made the boo boo. :(

Gora Mohanty <[EMAIL PROTECTED]> wrote: Nitin Gupta  wrote: > Firstly it got 
corrupted, so i ran e2fsck on it. While it was running, my
 > system got restarted(power failure) and it never started back. :(
 > then i tried commands like tune2fs, dump2fs etc etc... and by default
 > wrote mke2fs :( which made it a new partition and removed all of my
 > data. 
 Umm, sorry if I am stating the obvious, but maybe you should have asked
 or searched Google before trying random commands. It might have been
 possible to recover it even from the power failure in the middle of the fsck,
 but if you have really run mke2fs, your file system has been remade, and
 all your data are lost. It might be possible to recover some of it if you can
 find a real Linux data recovery expert, but their services will be quite
 expensive.
 
 Regards,
 Gora


Send instant messages to your online friends http://in.messenger.yahoo.com 
___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/





-
Yahoo! Photos
 Got holiday prints? See all the ways to get quality prints in your hands ASAP.
___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/



Re: [ilugd] ext3 file format

2006-01-17 Thread Gora Mohanty
Nitin Gupta <[EMAIL PROTECTED]> wrote: > Firstly it got corrupted, so i ran 
e2fsck on it. While it was running, my
 > system got restarted(power failure) and it never started back. :(
 > then i tried commands like tune2fs, dump2fs etc etc... and by default
 > wrote mke2fs :( which made it a new partition and removed all of my
 > data. 
 Umm, sorry if I am stating the obvious, but maybe you should have asked
 or searched Google before trying random commands. It might have been
 possible to recover it even from the power failure in the middle of the fsck,
 but if you have really run mke2fs, your file system has been remade, and
 all your data are lost. It might be possible to recover some of it if you can
 find a real Linux data recovery expert, but their services will be quite
 expensive.
 
 Regards,
 Gora


Send instant messages to your online friends http://in.messenger.yahoo.com 
___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/



Re: [ilugd] ext3 file format

2006-01-17 Thread Nitin Gupta

Firstly it got corrupted, so i ran e2fsck on it. While it was running, my 
system got restarted(power failure) and it never started back. :(
then i tried commands like tune2fs, dump2fs etc etc... and by default wrote 
mke2fs :( which made it a new partition and removed all of my data. 

Hope this might help.

Nitin



-
Yahoo! Photos
 Ring in the New Year with Photo Calendars. Add photos, events, holidays, 
whatever.
___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/



Re: [ilugd] ext3 file format

2006-01-17 Thread Gora Mohanty
Nitin Gupta <[EMAIL PROTECTED]> wrote:
   > Somehow my ext3 partition of linux got crashed. It have all the
 > important data including emails. I tried a number of software, but none
 > of it was successful. Is there any way, we can get my data from
 > there???
 [...]
 It would help if you gave us more details, and describe what you tried. What
 does simply running fsck on the  partition give you?
 
 Regards,
 Gora 


Send instant messages to your online friends http://in.messenger.yahoo.com 
___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/



[ilugd] ext3 file format

2006-01-17 Thread Nitin Gupta
Hello,
  
  
  Somehow my ext3 partition of linux got crashed. It have all the  important 
data including emails. I tried a number of software, but none  of it was 
successful. Is there any way, we can get my data from there???
  
  Please help me .
  
  
  Regards,
  Nitin Gupta
  


-
Yahoo! Photos – Showcase holiday pictures in hardcover
 Photo Books. You design it and we’ll bind it!
___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/