LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices

Reply
 
Search this Thread
Old 11-23-2011, 04:08 PM   #1
jackrnm
LQ Newbie
 
Registered: Nov 2010
Posts: 2

Rep: Reputation: 0
How to create a lupusave.3fs file in puppy 528 ?


I installed puppy linux 528 on a usb pendrive (ext3 partition) but the lupusave.3fs was not created. I re-partitioned and re-installed puppy to try and recreate the save file but could not (I did this several times). Is there a simple way to add a lupusvae.3fs file after a usb install? I am a relative newbe to puppy linux and any suggestions would be most appreciated.
 
Old 11-23-2011, 04:20 PM   #2
jonyo
Member
 
Registered: Jun 2011
Distribution: looking at VectorLinux 6.0 Light, PCLinuxOS phoenix
Posts: 195

Rep: Reputation: Disabled
a save file depends on what type of install
 
Old 11-24-2011, 01:48 AM   #3
Karl Godt
Member
 
Registered: Mar 2010
Location: Kiel , Germany
Distribution: once:SuSE6.2,Debian3.1, aurox9.2+3,Mandrake?,DSL? then:W7st,WVHB, #!8.10.02,PUPPY4.3.1 now:Macpup
Posts: 308

Rep: Reputation: 45
The relevant code is inside /etc/rc.d/rc.shutdown .

The save-file gets created by

Code:
dd if=/dev/zero of=/mnt/sdb1/save-file-name.2fs bs=1k size=512
mkfs -q -m 0 -F /mnt/sdb1/save-file-name.2fs
size=512 for 512MiB save-file .

Then the save-file has to be mounted

Code:
mkdir /tmp/save1stpup
mount -t ext2 -o noatime,rw,loop /mnt/sdb1/save-file-name.2fs /tmp/save1stpup
cp -a /initrd/pup_rw/* /tmp/save1stpup/
sync
umount /tmp/save1stpup
This applies to ext2 filesystem , for ext3 read the rc.shutdown script .
The copy command might also not copy any hidden files .
It would need
Code:
cp -a /initrd/pup_rw/root/.[a-zA-Z0-9]* /tmp/save1stpup/root/
 
Old 11-24-2011, 03:04 AM   #4
jpeters
Member
 
Registered: Mar 2009
Posts: 30

Rep: Reputation: 16
Quote:
Originally Posted by jackrnm View Post
I installed puppy linux 528 on a usb pendrive (ext3 partition) but the lupusave.3fs was not created. I re-partitioned and re-installed puppy to try and recreate the save file but could not (I did this several times). Is there a simple way to add a lupusvae.3fs file after a usb install? I am a relative newbe to puppy linux and any suggestions would be most appreciated.
Generally, it prompts on shutdown to create one automatically. If it's not creating one, I'm guessing there's an issue with the pendrive.
 
Old 11-24-2011, 05:17 AM   #5
darkcity
LQ Newbie
 
Registered: May 2010
Posts: 18

Rep: Reputation: 7
Wink

Quote:
Originally Posted by jpeters View Post
Generally, it prompts on shutdown to create one automatically. If it's not creating one, I'm guessing there's an issue with the pendrive.
It should ask you to make a savefile when you reboot/shutdown the first time - unless your full installed (unusual on pen drive).

puppylinux.org/wikka/SaveFile
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Puppy 4.3.1 Abiword aborts when you click on "Create and Modify Styles..." RHTopics Puppy 4 11-19-2009 02:16 PM
How do I create a new modem dev node for Puppy Linux 2.13 zdrv? webworm98 Puppy 1 03-05-2007 08:15 AM
how to bootup with a renamed save-session instead of the default "pup_save.3fs" ?? alred Puppy 2 10-22-2006 12:06 PM
Can Puppy create a Community project in just 4 weeks? LobsterEd Puppy 0 07-03-2006 02:13 AM
D-Link DE-528 Need Help Setting up DaveSt Linux - Networking 1 08-23-2001 01:24 AM


All times are GMT -5. The time now is 02:04 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration