Hi All,
I wanted to transfer some data from window to linux, and then removed those
data:
cp -r /windows/directory_w /linux/directory_l
rm -r /windows/directory_w
and then I accidently deleted that linux directory :(
rm -r /linux/directory_l
Now I am trying to recover data.
I tried to recover that windows directory first. And I did according to your
suggestions, but had problem with bad file name, so it didn't work for me. :(
The directory that I want to recover is called 'diary' and there files
are named like '2006.1', '2006.2', etc. (and they are MS Word files)
Details are like this:
shaka:/space/yxu_try_recover # fsck.vfat -vru /Documents\ and\ Settings/Xu\
Yi/My\ Documents/diary/2006.5 windows
dosfsck 2.11 (12 Mar 2005)
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
Checking we can access the last sector of the filesystem
Boot sector contents:
System ID "MSWIN4.1"
Media byte 0xf8 (hard disk)
512 bytes per logical sector
16384 bytes per cluster
56 reserved sectors
First FAT starts at byte 28672 (sector 56)
2 FATs, 32 bit entries
2981376 bytes per FAT (= 5823 sectors)
Root directory start at cluster 25110 (arbitrary size)
Data area starts at byte 5991424 (sector 11702)
745148 data clusters (12208504832 bytes)
63 sectors/track, 255 heads
63 hidden sectors
23856462 sectors total
/:68H:7Q4:9Vp:4vG
Bad file name.
1) Drop file
2) Rename file
3) Auto-rename
4) Keep it
? 3
Renamed to FSCK0000.REN
/WINNT/SYSTEM32/:6Vb:7SB:9YH:91J.scf
Bad file name.
1) Drop file
2) Rename file
3) Auto-rename
4) Keep it
? 1
/WINNT/Web/Wallpaper/:97H:89o:8An:7JZ.jpg
Bad file name.
1) Drop file
2) Rename file
3) Auto-rename
4) Keep it
? 1
/Documents and Settings/Default
User/:30C:5y0:5dB:30D:8FS:5DL/:7eB:5wF/:9P4:4xs/:7px:7xV:5tb:55t
Bad file name.
1) Drop file
2) Rename file
3) Auto-rename
4) Keep it
? 1
/Documents and Settings/Default
User/:30C:5y0:5dB:30D:8FS:5DL/:7eB:5wF/:9P4:4xs/:5R+:53F:5a4:7G6.lnk
Bad file name.
1) Drop file
2) Rename file
3) Auto-rename
4) Keep it
? 1
/Documents and Settings/Default
User/:30C:5y0:5dB:30D:8FS:5DL/:7eB:5wF/:9P4:4xs/:8+5:5Af:5tb:55t
Bad file name.
1) Drop file
2) Rename file
3) Auto-rename
4) Keep it
? 1
/Documents and Settings/Default
User/:30C:5y0:5dB:30D:8FS:5DL/:7eB:5wF/:9P4:4xs/:7px:7xV:5tb:55t
Has a large number of bad entries. (2/5)
Drop directory ? (y/n) n
/Documents and Settings/Default
User/:30C:5y0:5dB:30D:8FS:5DL/:7eB:5wF/:9P4:4xs/:7px:7xV:5tb:55t/:7Z1:7RO:6u5:7G6.lnk
Bad file name.
1) Drop file
2) Rename file
3) Auto-rename
4) Keep it
? 1
Afterwards I mount this 'windows' file, and searched for the missing file, but
it was not there. :(
Does anyone have any idea what mistake I made? And what should I do to recover
those files? Thanks a loooooooooot!
Yi
--
Yi Xu
RD-QA-Kernel
SuSE Linux Products GmbH
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html