Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 12 Dec 2019, 01:58
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
copierge filed large file into small space-block error fix?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [18 Posts]   Goto page: 1, 2 Next
Author Message
boof

Joined: 26 Sep 2012
Posts: 489

PostPosted: Thu 22 Nov 2018, 21:17    Post subject:  copierge filed large file into small space-block error fix?  

Xenialpup-7.5
Copied encrypted save file ?GB 1048064 blocks onto sd card as 907MB 231651 blocks. cannot mount file. How to fix pls? need to recover files. using original puppy OS for that savefile.
Back to top
View user's profile Send private message 
foxpup


Joined: 29 Jul 2016
Posts: 964
Location: europa near northsea

PostPosted: Fri 23 Nov 2018, 05:09    Post subject:  

You "copied"? So you still have the original, no?
Back to top
View user's profile Send private message 
boof

Joined: 26 Sep 2012
Posts: 489

PostPosted: Fri 23 Nov 2018, 05:14    Post subject:  

Sadly no, or I wouldn;t need to do this.
Back to top
View user's profile Send private message 
foxpup


Joined: 29 Jul 2016
Posts: 964
Location: europa near northsea

PostPosted: Fri 23 Nov 2018, 05:25    Post subject:  

I'm no expert, but shouldn't the number of blocks be the same?
Perhaps it is corrupted.
Is it a file (.sfs) or a map?

Did you try just copying it back to where it was?
Back to top
View user's profile Send private message 
boof

Joined: 26 Sep 2012
Posts: 489

PostPosted: Fri 23 Nov 2018, 17:23    Post subject:  

its a .4sf file and yes the blocks should be the same but the sd card was too smal to fit whole file.
Back to top
View user's profile Send private message 
mostly_lurking

Joined: 25 Jun 2014
Posts: 321

PostPosted: Fri 23 Nov 2018, 18:42    Post subject:  

You didn't get an "out of disk space" warning when you put that file on the SD card?

As far as I understand it, there is now only about 1/5 of the file left and the rest hasn't been saved because you ran out of space. And it's encrypted. Even if the truncated file could somehow be restored to a working state - would it even be possible to decrypt it when it's missing about 80% of its data?

Not to mention that the remains of that savefile might no longer contain the files you are looking for.
Back to top
View user's profile Send private message 
boof

Joined: 26 Sep 2012
Posts: 489

PostPosted: Fri 23 Nov 2018, 19:27    Post subject:  

yes, I got the error, ad I just hoped that something could be done, I only need one file, but I might not get it. had to try tho'.
Back to top
View user's profile Send private message 
foxpup


Joined: 29 Jul 2016
Posts: 964
Location: europa near northsea

PostPosted: Sat 24 Nov 2018, 05:57    Post subject:  

You could try to use a tool to search for deleted files on the disc where the pupsave.4fs was first.
Google to find these tools. (I think I've used recuva or undelete a long time ago. You may have to use a rescue distro like Hiren.)

If you want to do that it is best not to use this disc anymore to avoid overwriting the remainders. So if it is your hard disc the pupsave.4fs was on, you better run from pendrive.

Still, if the pupsave is not found fully intact, it will be difficult to find the file you want in it, because the encryption is another complication.

Can you not trace back the original source of the 'one' fiile?
Back to top
View user's profile Send private message 
boof

Joined: 26 Sep 2012
Posts: 489

PostPosted: Sat 24 Nov 2018, 18:44    Post subject:  

original storage was sda6, which has been removed, reformated and repartitioned. orginal copy is gone forever I'd say. The file was abt 4GB, and I doubt my ability to recover it. It's v expensive to get a tech to recover files They'd have to know an awful lot about puppy. I may be able to copy file to other means, perhaps a forumite could decipher it if I could send it out. I could archive it and post I suppose, though it is a personal file. I would need to post it as an ISO + the save file to have any chance of reading the file. NB it's uefi based, with legacy boot AFAIR,
Back to top
View user's profile Send private message 
foxpup


Joined: 29 Jul 2016
Posts: 964
Location: europa near northsea

PostPosted: Sat 24 Nov 2018, 19:56    Post subject:  

Looks pretty hopeless to me.
Back to top
View user's profile Send private message 
Mike Walsh


Joined: 28 Jun 2014
Posts: 5656
Location: King's Lynn, UK.

PostPosted: Tue 27 Nov 2018, 12:44    Post subject:  

a) Ext4

b) Encrypted

c) No backup???

Jeez-us H. That's, like, asking for trouble.

One thing to remember for future reference (well, maybe a coupla things.)

Ext3 is better for Puppy. Pup will work with ext4, but just because it's used by all the mainstream distros doesn't make it right for Puppy.

There is absolutely no point faffing around with encryption. What, are ya worried somebody'll brow-beat you around the head with yr family secrets, should they get hold of it? It's more trouble than it's worth, TBH.

Always, always, always back up yr save-file/folder as soon as you get Pup how you want her. A regular repeat of this procedure (say, once a month at least) will keep things fairly 'current'; it's not a bad habit to get into.


Mike. Wink

_________________
MY 'PUPPY' PACKAGES

Back to top
View user's profile Send private message 
boof

Joined: 26 Sep 2012
Posts: 489

PostPosted: Tue 27 Nov 2018, 12:52    Post subject:  

thx. I needed to hear that again.
Back to top
View user's profile Send private message 
Mike Walsh


Joined: 28 Jun 2014
Posts: 5656
Location: King's Lynn, UK.

PostPosted: Tue 27 Nov 2018, 14:14    Post subject:  

@ Boof:-

Sorry if that sounded as though it came across in an 'I told you so' manner. Quite by accident, though (and I'm equally certain it wasn't intentional on your part) you seem to have stumbled across just about the worst possible combination of elements for a Puppy install. (And it's a mistake that could equally well be made by a long-term Linux user, who's used to the way mainstream Linux functions, and quite naturally assumes that Puppy will behave just the same.....)

I have to agree with foxpup, I'm afraid. From what little I know about encryption (and that isn't a lot!), encryption/decryption tends to rely on the object to be encrypted remaining in a viable state, i.e., as it originally was. You start chopping it in half, stuff like that.....the whole process very quickly goes to hell in a handbasket

Like you, I certainly wouldn't want to be having to resort to data recovery specialists. That process can cost an arm & a leg....

It doesn't look good, does it?


Mike. Wink

_________________
MY 'PUPPY' PACKAGES

Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 12987
Location: S.C. USA

PostPosted: Tue 27 Nov 2018, 14:45    Post subject:  

Quote:
original storage was sda6, which has been removed, reformated and repartitioned
.

Do not totally give up on this, yet.

If nothing has been written to the new partition, the data may still be on the drive area, the partition used.
DO NOT WRITE TO THE sda6 or whatever partition you made it!!!!!!!!
If possible, DO NOT Write To THE DRIVE sda


So nothing lost by trying to use a file recovery program to maybe get it back.

If you need it to be a Linux program.
There are several out there.
Not sure which one would be best to use.
Testdisk and Photorec may be able to do it.

Photorec is suppose to recover files.
Quote:
If you’re looking to recover lost files, photos, videos, etc. Photorec is what you want. This tool is part of Testdisk, so once you’ve installed Testdisk, Photorec is ready to serve. This particular tool completely ignores the file system and looks directly at the underlying data. This means, if your file system is damaged, there’s a chance the data can still be recovered.


Here is one that runs in Windows
http://www.eassos.com/blog/how-to-recover-files-after-formatting-hard-drive/
Just to show there are options out there.

Remember, these programs need to be installed to something other than sda drive.
Puppy running from a USB drive would be good.
Testdisc & Photorec installed and run from the USB.

Last edited by bigpup on Tue 27 Nov 2018, 15:17; edited 1 time in total
Back to top
View user's profile Send private message 
Burn_IT


Joined: 12 Aug 2006
Posts: 3601
Location: Tamworth UK

PostPosted: Tue 27 Nov 2018, 15:14    Post subject:  

Testdisk and photorec are the same product and runs under pretty much ANY OS.
Most other products will likely be just front-ends to those.

You really should get someone who understands forensic data recovery or has done a lot of it using those tools if you want your data back.
There is a big difference between "seeing" that the data is there and recovering it in a useful form.

_________________
"Just think of it as leaving early to avoid the rush" - T Pratchett
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [18 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0721s ][ Queries: 12 (0.0135s) ][ GZIP on ]