Sida loo soo celiyo faylasha lumay+la helay
How to Restore files from lost+found: Galka xaq u leh / lumay+la helay waa meesha fsck ay dhigto jajabyo faylal ah oo aysan awoodin inay ku dhejiso meel kasta oo ku taal geedka hagaha. Hagaha lumay+la helay (ma Lost+Found ) waa dhisme ay adeegsato fsck marka uu dhaawac gaadho nidaamka faylalka. Faylasha sida caadiga ah u lumin doona musuqmaasuqa hagaha awgeed waxa lagu xidhidhi doonaa nidaamka faylkaas lumay+lambarka la helay.
/ Lost+ found waa buug muhiim ah oo faa'iido u leh dib u soo celinta faylalka aan si sax ah loo xirin sababo badan sida korontadu. Lost+Found waxa abuuray nidaamka wakhtiga rakibaadda Linux OS qayb kasta oo aan abuurno. Si kale haddii loo dhigo, waxaan dhihi karnaa faylka la dhejiyay waxaa ku jira galkan lumay+la helay. Galkan waxaa ku jira faylal aan lahayn xiriiriye iyo faylal la soo celinayo. Fayl kasta oo la soo celinayo waxa lagu hayaa galkan. Fsck amarka waxaa loo isticmaalaa in lagu soo celiyo faylashaas.
Sida loo soo celiyo faylasha lumay+la helay
1.Haddii aadan awoodin inaad kabaha ku dhejiso oo aad aragto shaashadda "Sii wad inaad sugto; Riix S(Press S) si aad uga boodo kor u qaadida ama M si aad gacanta ugu soo kabsato"sabato ah qaladka nidaamka faylka ee qaybta /iyo/guriga. Kadib dooro ikhtiyaarka soo kabashada.
2.Ku fsck on both / and /home nidaamyada faylka.
3.Haddii ay dhibaato kaa haysato in fsck /home lagu nadiifiyo dabadeed isticmaal:
fsck -p /home (Automatic fixing) "fsck -y /home" (this would select yes for all the prompts automatically).
4. Hadda waxaad awoodi doontaa inaad pass /home from fsck successfully.
5.Haddii aad isku dayi doonto mount /home ma jiri doonto wax faylal isticmaale ah oo ka baxsan tusaha lost+found directory.Orod " df -h " oo waxaad arki doontaa in nidaamkaaga faylka uu isticmaali doono isla booskii shilka ka hor sababtoo ah dhammaan faylalka ayaa ku jira buugga lumay+la helay waana soo kabsan doonnaa.
6.Hadda galka lumay+la helay, waxaad arkaysaa inay jiraan faylal aad u tiro badan oo aan magac lahayn oo mid walba aad baadho waxay kaa luminaysaa waqti aad u badan. Marka xigta waa in aan wadnaa " file * " si aan u ogaano nooca faylka aan la macaamileyno.
#7479417: directory #7479418: directory #7479419: directory #7602560: directory #7603310: MPEG sequence, v2, program multiplex #7603464: JPEG image data, JFIF standard 1.02 #7603542: Audio file with ID3 version 2.3.0, contains: Audio file with ID3 version 2.4.0, contains: MPEG ADTS, layer III, v1, 320 kbps, 44.1 kHz, JntStereo #7604043: ISO 9660 CD-ROM filesystem data 'Linux Mint 9 Isadora ' (bootable) #7604089: ISO 9660 CD-ROM filesystem data 'netbook-x86_64-201005242312 ' (bootable) #7605425: MPEG sequence, v2, program multiplex #7605470: MPEG sequence, v2, program multiplex #7605484: MPEG sequence, v2, program multiplex #7607478: gzip compressed data, from Unix, last modified: Fri May 14 07:55:35 2017 #7607788: gzip compressed data, from Unix, last modified: Tue May 4 14:16:31 2017 #7610801: PDF document, version 1.4 #7612061: ISO 9660 CD-ROM filesystem data 'Ubuntu 10.04 LTS amd64 ' (bootable) #7613228: directory #7613583: directory #7613588: directory
7.Hadda aan sifeyno natiijada sababtoo ah waxaan rabnaa kaliya in buugga lagu daro natiijadayada. Markaa orod “ file * | grep directory > /root/list.dir ” amarka.
8.Next, edit /root/list.dir si aad uga dhigto qoraal si aad u muujiso liiska faylasha ku jira hage kasta. Tafatir faylka si aad qoraal uga dhigto adiga oo isticmaalaya vi, vim, nano. Ku dar(Add) set -v xariiqda kowaad oo ku dar ' ls -l ' bilawga sadar kasta.
set -v ls -l \#10104455 ls -l \#10104531 ls -l \#10104536
9.Hadda ka dhig faylka la fulin karo( file executable) dabadeed socodsii oo u jihci wax soo saarka faylka:
chmod -x /tmp/list.dir ./list.dir 1> /tmp/list.out 2>&1
10.Hadda ka raadi faylka tusaale ahaan Desktop-ka ku jira faylka dir.out ee wax soo saarka(Desktop in the dir.out output file) . Natiijadu waxay noqon doontaa sida soo socota:
ls -l \#7733249 total 5704 drwxr-xr-x 2 1002 1002 4096 2017-06-05 13:24 Desktop drwxr-xr-x 2 1002 1002 4096 2017-04-30 09:15 Documents drwxr-xr-x 2 1002 1002 4096 2017-04-30 09:15 Downloads -rw-r--r-- 1 1002 1002 179 2017-04-30 09:14 examples.desktop drwxr-xr-x 2 1002 1002 4096 2017-04-30 09:15 Music drwxr-xr-x 2 1002 1002 4096 2017-04-30 09:15 Pictures drwxr-xr-x 2 1002 1002 4096 2017-04-30 09:15 Public -rw-r--r-- 1 1002 1002 5794003 2017-05-15 11:00 scrap001_a.ora drwxr-xr-x 2 1002 1002 4096 2017-04-30 09:15 Templates -rw-r--r-- 1 1002 1002 1265 2017-05-20 14:35 tinda chuteny drwxrwxr-x 2 1002 1002 4096 2017-05-23 14:57 Ubuntu One drwxr-xr-x 2 1002 1002 4096 2017-04-30 09:15 Videos
11.Wax soo saarka sare waxa uu ku caddeeyey in hagaha gurigu yahay #7733249 . Hadda si loo soo celiyo galka guriga kaliya mv folder:
mv /lost+found/#7733249 /home/yourUsername
Xusuusin: Ku beddel magacaaga isticmaale magacaaga dhabta ah ee rakibaadda Linux.(Linux installation.)
Habka 2: Isticmaal qoraalka si toos ah u soo kabsado files
Marka hore, orod " sudo -i " ama " sudo su - "kadibna socodsii qoraalka hoose kaas oo ku shaqeeya filesystem /dev/sd?? iyo wax soo saarka ilaa /tmp/list:
fsck -y /dev/sd?? mkdir /tmp/recover mount /dev/sd?? /tmp/recover -o rw cd /tmp/recover-lost+found ( echo ‘set -v’ file * | grep directory 2>/dev/null | perl -pe ‘s/^(\#[0-9]+)\:.*$/ls -l ‘”‘”‘$1'”‘”‘/’ ) | sh > /tmp/listing
Taasi waa waxa aad si guul leh u baratay How to Restore files from lost+found laakiin haddii aad wali wax su'aal ah ka qabto maqaalkan xor u tahay inaad ku waydiiso qaybta faallooyinka.
Related posts
Sida loo hagaajiyo PC-ga ma soo dhejin doonto
Hagaaji iTunes wuxuu ku sii wadaa inuu iskii u furo
Sida Loo Sameeyo Maab-Gaabnida Desktop ee Mareegta Chrome
Hagaaji Isticmaalka Sare ee CPU ee Adeeg bixiyaha: Nidaamka Maxalliga ah
Sida loo Dejiyo Iimaylka Roadrunner ee Android (Tallaabooyin lagu Habayn karo)
3 siyaabood oo lagu dilo nidaamka gudaha Windows 10
Dami Farsamaynta Soo Dhawaynta Qadka gudaha Windows 10
3 siyaabood oo lagu kordhin karo VRAM-ka go'ay gudaha Windows 10
Sida loo hagaajiyo Khaladka Codsiga 5:0000065434
Abuuritaanka nidaam buuxa oo kaabta sawirka gudaha Windows 10 [Hagaha ugu dambeeya]
Hagaaji Aan La Furi Karin Disk-ga Maxalliga ah (C :)
Hagaaji Koodhka Cilada Cusboonaysiinta Windows 0x80072efe
Hagaaji Google Chrome-ka Aan Keydin Erayada sirta ah
Hagaaji Windows 10 Taskbar Aan Qarin
5 siyaabood oo aad ku bilaabi karto kombayutarkaga qaab badbaado leh
Hagaaji asalka Desktop-ka Madow gudaha Windows 10
Hagaaji qaladka 0X80010108 gudaha Windows 10
[XALIYAY] 100% Isticmaalka Diskiga habka iyo xusuusta la isku riixay
Sida Loo Helo Dalabka la kaydiyey ee Amazon
Sida Loo Soo Saaro Xiriirada Kooxda WhatsApp (2022)