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 Fri 20 Apr 2018, 04:55
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
How Do I Recover a Corrupted, Encrypted Savefile?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
warrenweiss

Joined: 07 Nov 2009
Posts: 9

PostPosted: Sun 10 Dec 2017, 01:33    Post subject:  How Do I Recover a Corrupted, Encrypted Savefile?
Subject description: A savefile became corrupted on shutdown
 

How do I repair a corrupted, encrypted Tahr64 savefile on a USB stick?

Something happened during the last shutdown and now Puppy boots with a filesystem mounting error and fails to boot into X.

On boot, I am prompted to enter the encryption password, but then get the error:

General error mounting filesystems.
A maintenance shell will now be started.
CONTROL-D will terminate this shell and reboot the system
Give root password for maintenance
(or type control-D tp continue):


It accepts the root password, but X fails to start and "xorgwizard" fails to run. I can mount the savefile from another running Puppy instance and the filesystem seems intact, but repairing the actual error is elusive.

The steps here (http://www.murga-linux.com/puppy/viewtopic.php?t=41918) are comprehensive, but dated and don't solve the issue.
Back to top
View user's profile Send private message 
ally


Joined: 19 May 2012
Posts: 1796
Location: lincoln, uk

PostPosted: Sun 10 Dec 2017, 01:39    Post subject:  

just a troubleshooting step can you boot pfix=ram (no savefile) with the current installation?

could you fsck on the partition using gparted?

Smile
Back to top
View user's profile Send private message Visit poster's website 
warrenweiss

Joined: 07 Nov 2009
Posts: 9

PostPosted: Mon 11 Dec 2017, 17:52    Post subject:  

The full syntax I have to use to boot puppy is:

puppy pfix=ram pmedia=usbflash

It doesn't seem to find the default sfs file when booting from USB. Go figger.

Anyway, gparted does not find any problems with the file system on the USB device, an ext4-formatted partition.

The encrypted savefile is not completely lost. I am able to mount it and extract the data, which I did. The USB drive has been in constant use for almost 2 years, and may just be on its way out. I'll just provision a new one and copy the data to it.
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 12068
Location: Gatineau (Qc), Canada

PostPosted: Mon 11 Dec 2017, 18:40    Post subject:  

Good thinking, Warren !
_________________
musher0
~~~~~~~~~~
"Logical entities must not be multiplied beyond necessity." | |
« Il ne faut pas multiplier les entités logiques sans nécessité. » (Ockham)
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
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.0375s ][ Queries: 14 (0.0114s) ][ GZIP on ]