another resume question

Using PhotoRec to recover lost data
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
sourdough
Posts: 2
Joined: 10 Aug 2015, 14:51

another resume question

#1 Post by sourdough »

I gathered from reading previous posts that I would need to edit photorec.ses and change the number towards the end of the second line and also to enter the sectors that I want the program to skip in the lines that follow. First I ran photorec to generate a .ses file. It gave me a file like this:

Code: Select all

#1439150149
james.img partition_i386,255,blocksize,1024,fileopt,everything,disable,bmp,enable,crw,enable,ctg,enable,fat,enable,dsc,enable,fat,enable,jpg,enable,mft,enable,png,enable,tif,enable,options,paranoid,keep_corrupted_file_no,wholespace,search,status=ext2_off,1012916,inter
0-677155
677160-677415
677472-678087
678098-679223
680094-680335
680358-680359
680382-680383
680404-680647
680670-681519
681664-681671
681924-681943
682204-682383
682406-682407
682430-682431
682454-682631
682654-682655
682676-682679
682700-682743
682840-682871
682970-682999
683090-683143
683164-683167
683190-683191
683214-683335
683356-683815
683822-683823
683846-683855
683862-683863
683870-683959
683982-684063
684092-684095
684118-684191
684210-684223
684244-684247
684254-684319
684342-684343
684350-684351
684380-685219
685224-685511
685534-701455
701516-701527
701664-701863
701956-701983
702074-702111
702132-702175
702196-702239
702260-702263
702310-702311
702334-702383
702406-702407
702426-702431
702452-702527
702548-702551
702574-702575
702598-702663
702692-702695
702702-702703
702726-702791
702814-702823
702830-702831
702850-703039
703062-703063
703086-703087
703110-703983
704004-704327
704334-704335
704352-704495
704516-718527
718588-718591
718658-718663
718766-718767
718850-721879
722004-722007
724430-724431
726390-726391
728342-728343
730254-730255
732186-732191
734332-734335
736782-736783
741140-741143
761972-761975
764148-764151
766394-766399
774068-774071
779050-779055
784440-786887
791452-791455
793662-793663
793664-800919
826330-826335
828422-828423
830694-830695
830696-846629
848678-849351
851732-851735
853908-853911
858530-858535
863090-863095
867876-867879
869868-869871
872036-872039
874548-874551
876714-876719
878900-878903
880862-880863
885474-885479
887966-887967
892132-892135
894162-894167
896318-896319
900908-900911
903142-903143
905362-905367
907596-907599
910074-910079
912010-912015
914094-914095
918498-918503
920780-920783
922930-922935
925070-925071
929578-929583
931646-931647
933706-933711
938618-938623
943234-943239
945734-945735
948156-948159
953108-953111
957692-957695
960150-960151
962516-962519
964590-964591
966646-966647
968946-968951
971396-971399
973618-973623
975844-975847
978284-978287
982524-982527
987036-987039
989402-989407
991566-991567
993620-993623
995638-995639
997802-997807
999988-999991
1004542-1004543
1008780-1008783
1012916-1012919
1014954-1014959
1019382-1019383
1021734-1465081855
Then I changed the sector number on the second line from 1012916 to 456643088 which is the last file that it found on the previous run. I also removed the last line 1021734-1465081855 because I figured I don't want it to skip to the end of the disk. However, when I run photorec, it offered to resume but couldn't start because of syntax error:
Image
Does anyone know what I am doing wrong? I am running 7.0 on centos 6.

Locked