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 Sat 19 Apr 2014, 13:33
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Creating a 'save' file question
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: Sat 25 Sep 2010, 13:23    Post subject:  Creating a 'save' file question  

Is it possible to create a 'save' file without actually going through the shutdown process?
_________________
Spup Frugal HD and USB
Root forever!
Back to top
View user's profile Send private message 
trapster


Joined: 28 Nov 2005
Posts: 1997
Location: Maine, USA

PostPosted: Sat 25 Sep 2010, 15:00    Post subject:  

Assuming you want the pupsave on hda1 and that hda1 is mounted

Code:
dd if=/dev/zero of=/mnt/hda1/pup_save.2fs bs=1k count=50000
mke2fs -q -m 0 -F /mnt/hda1/pup_save.2fs


this makes you an empty 50MB pupsave which should be used automatically on your next boot

_________________
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Puppeee4.31 + 1.0, Puppy4.10 + Lupu52
Currently using Slacko AND lupu52 w/ fluxbox
Back to top
View user's profile Send private message Visit poster's website 
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: Tue 28 Sep 2010, 14:37    Post subject:  

Thanks Trapster. Not quite what I was after. I was wondering if a save file could be created and mounted for use 'on the fly', but I guess not as setting up the file system the first time has to be done during a boot process.
_________________
Spup Frugal HD and USB
Root forever!
Back to top
View user's profile Send private message 
Béèm


Joined: 21 Nov 2006
Posts: 11782
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

PostPosted: Wed 29 Sep 2010, 18:23    Post subject:  

You could do as trapster says and then copy the contents of pup_rw to it.
This answers 'how to create a save file'
But mounting on the fly is something else.
So you would boot with a pfix=ram state and once booted mount that save file?
It should be mounted on /initrd/pup_rw then, if ever possible.

_________________
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
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.0399s ][ Queries: 12 (0.0052s) ][ GZIP on ]