[ILUG-BOM] Data recovery after formatting ext3 to ex4 partition

narendra sisodiya narendra.sisodiya at gmail.com
Sat Aug 8 21:40:58 IST 2009


On Sat, Aug 8, 2009 at 9:24 PM, Dr. Sharukh K. R. Pavri. <lists at pavri.net>wrote:

> On Fri, 07 Aug 2009, narendra sisodiya wrote:
>
> > is it possible to recover data from formatted ext3 partition. Actually
> while
> > installing ubuntu 9.04 , installer misbehaved with me and formatted my
> /home
> > partition  and thus i lost my valueble data. the new partition is ext4
> type.
> > I tried with testdisk but unable to recover any bit !!
> > anythought ??
>
> Simple, restore from a backup. oh wait, you DO have a backup don't you ?
>
> :)
>
> repeat after me:
>
> I will ALWAYS do a backup BEFORE I install.
>
> That was mistake no 1.
>
> Mistake no 2 was to keep using the partition.
>
> What you need to do is:
>
> remount the partition ro
>
> dd the partition over to another disk
>
> work on the dd'd image
>
> google for undeletion howto, though it is pretty outdated the last time I
> checked.
>
> then google some more.
>
> hth,
>
> Sharukh.
> --
> Dr. Sharukh K. R. Pavri.                        Homoeopath, Linuxer.
>         A clean desk is a sign of a cluttered desk drawer.
> --
> http://mm.glug-bom.org/mailman/listinfo/linuxers
>

Thanks, I noticed that murphy's law is working with me with 100%
probability. (If something can go wrong, it will)
I did not took backup because I always do same practise with fedora. I
always keep data in /home and while installing a new version , I just put a
mount point for /home *without formatting option  *to that partition in
installer.
I was trying to install Ubuntu 9.04 (on friend's lappy) and was expecting
same. I did not ticked the format option for /home partition but still it
ruined my /home ,



I lost my laptop last month and one external hardisks and lost most the data
even having external harddisk. It was my friend's lappy. Now he also lost
data because of me !!


Got a lesson that , Always Keep data backup with keep in mind your system is
going to meet highest nature's calamity tomorrow.
-- 
┌─────────────────────────┐
│    Narendra Sisodiya ( नरेन्द्र सिसोदिया )
│    R&D Engineer
│    Web : http://narendra.techfandu.org
│    Twitter : http://tinyurl.com/dz7e4a
└─────────────────────────┘


More information about the Linuxers mailing list