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 23 Jun 2017, 03:23
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Set of ready-made pupsave and swap files,
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 5 [62 Posts]   Goto page: 1, 2, 3, 4, 5 Next
Author Message
musher0


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

PostPosted: Sun 14 Jun 2015, 12:28    Post subject:  Set of ready-made pupsave and swap files,
Subject description: should the initial Puppy shutdown routine go beserk.
 

(If you rather need zipped files, see post # 6 below. But still read this
initial info post, please. Thanks.)
~~~~~~~~~
Hello, all.

The old and ugly and very hush-hush problem of the pupsave file not
being created seems to be resurfacing.

http://murga-linux.com/puppy/viewtopic.php?p=850640&sort=lastpost#850640

Also: http://murga-linux.com/puppy/viewtopic.php?p=846445&sort=lastpost#846445

This problem had been quiet for a couple of years (thanks to Karl_Godt's
excellent editing of some code, as I understand it) and now it seems to be
reappearing at random.

Some Francophones say it's how the *.mo translation file reacts to the
shutdownconfig script, other times it seems that the wrong
shutdownconfig was used in the wrong context. Some say it's linked to
the machine you're using. I won't bother you with the details, because it
can get technical in very short order.

In any case:
if you've had the problem, don't give up on Puppy, it's only a glitch.

Attached is a solution. It's external, it's not script-dependent, so it will
always work -- with any Puppy.


First unpack the attached zip archive. Choose a pupsave of likely size, a
size that you think is reasonable for your use. Move that file alongside the
sfs file of your Puppy, in the same folder.

For example, if you have your puppy_precise_5.sfs main file from
PuppyPrecise-5.7.1 in foilder /mnt/sda1/PuppyPrecise-5.7.1, put the
unpacked pupsave file in that folder.

Then follow the instructions below to completely develop that pupsave file
and to rename it for your Puppy.

Once you have completely unpacked the pupsave file, reboot your Puppy.
The new pupsave file will be picked up normally by the Puppy boot
process.

Once back up on your desktop, if you icons look like road warnings, Wink
run the attached script to restore them.

I hope this solution will help keep a few more newbies interested in
Puppy, instead of this problem scaring them off.

(Until one of our experienced programmers reviews what's going on again
and comes up with a universal and absolutely fail-safe solution.)

Best regards.

musher0

~~~~~~~~~~
From the note in the archive :
Quote:
Hi.

Here's 4.32 Gb worth of pupsave files, as nine *.2fs files, in multiples
of 96Mb. The lzo and then xz compressions gave the best results.

To unpack, click on them twice. The click on the xz file will free the
lzo file. Then click on the lzo file. This will develop the pupsave file
to its full and original size.

Then, replace the letters "CE" at the beginning of the filename with the
name of your Puppy. For example, you can rename "CEsave-jk384.2fs" to
"precisesave-jk384.2fs". Enquire or do some research if you are not sure
what the proper filename of your pupsave should be.

Here are some pupsave filenames used in a few recent Puppies:
tahr unicorn CE dpup kdpup lina lupu polar precise quirky
racy raring slacko sulu wary wheezy wolx tooppy_precise

Finally, keep this zip file somewhere safe. You may need it again in the
future.

Bye for now.

musher0
gdkPixbuf.sh.zip
Description  Unzip in /root/my-applications/bin, make executable and run.
zip

 Download 
Filename  gdkPixbuf.sh.zip 
Filesize  296 Bytes 
Downloaded  303 Time(s) 
Your_Choice!_2015-06-14.jpg
 Description   
 Filesize   26.27 KB
 Viewed   2274 Time(s)

Your_Choice!_2015-06-14.jpg

CE-pupsaves.zip
Description 
zip

 Download 
Filename  CE-pupsaves.zip 
Filesize  22 KB 
Downloaded  308 Time(s) 

_________________
musher0
~~~~~~~~~~
« Un insensé sur le trône n'est qu'un singe sur le haut d'un toit. » / "A madman
on the throne is just a monkey on top of a roof." (Bernard de Clervaux)

Last edited by musher0 on Wed 15 Jul 2015, 23:54; edited 4 times in total
Back to top
View user's profile Send private message 
musher0


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

PostPosted: Sun 14 Jun 2015, 17:32    Post subject:  

Hello again, people.

The above ready-made files should be useful for anyone setting up
a PuppyPrecise-5.7.1 or below version, down to the early upups (Puppies
4.7, etc.), stopping short of the Puppy 4.2x series.

Note:
    -- You shouldn't need these pupsaves -- to my knowledge -- with the
    dpup's generally, by which I mean the Puppy derivatives created by
    gposil, dejan555 or pemasu, that they based on Debian.

    -- They are of no use either with the DebianDog's by saintless and
    fredx181, which use the Debian savefile process, not Puppy's.

Beginning with Slacko 6.0b, or generally with any Puppy published after
mid-November 2013 AND based on the woof-CE git-hub process,
the above ready-made pupsave files should be of no use to you, since
the shutdownconfig script in those was thoroughly edited.
It's ok to use the ready-made pupsave files above with those new
Puppies. What I mean is that the shutdownconfig script of the newer
Puppies now being safe and sound, you shouldn't have to use them.

I hope this second post clears up matters a bit.

BFN.

musher0

_________________
musher0
~~~~~~~~~~
« Un insensé sur le trône n'est qu'un singe sur le haut d'un toit. » / "A madman
on the throne is just a monkey on top of a roof." (Bernard de Clervaux)

Last edited by musher0 on Thu 16 Jul 2015, 07:52; edited 4 times in total
Back to top
View user's profile Send private message 
musher0


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

PostPosted: Mon 15 Jun 2015, 14:45    Post subject:  

(And now the poll is gone again... To sum up the former poll results,
it seems that the problem occurs in +/- 30 % of cases.)
~~~~~~~~~
Hi.

Sorry for the doubles in the poll.

Shortly after creating it, I wasn't seeing it. I don't know what happened.
I thought I had erased it somehow, so I re-created it.

Sorry about any confusion, but now that there are results in the poll, I'm
afraid that cleaning up the options would erase the results. Just use good
judgment?

Thanks for your understanding. BFN.

musher0

_________________
musher0
~~~~~~~~~~
« Un insensé sur le trône n'est qu'un singe sur le haut d'un toit. » / "A madman
on the throne is just a monkey on top of a roof." (Bernard de Clervaux)

Last edited by musher0 on Sun 21 Jun 2015, 02:28; edited 5 times in total
Back to top
View user's profile Send private message 
musher0


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

PostPosted: Fri 19 Jun 2015, 18:09    Post subject:  

Hello again.

If you prefer, there's PupsaveConfig by Shinobar.

Here's how to use it:
    You download it in advance of starting your new Puppy.

    Once your pristine Puppy is up and running, first thing you do is install
    and run PupsaveConfig. Once you've specified your configuration, simply
    click ok and exit the utility. Please note there's no confirmation.

    Then, reboot. You won't have the usual dialog at this point. The Pupsave-
    Config script will say it its creating your pupsave file in a simple line at the
    top of the exit console.

    Coming back in your Puppy your new pupsave file will be operational.

BFN.

musher0

_________________
musher0
~~~~~~~~~~
« Un insensé sur le trône n'est qu'un singe sur le haut d'un toit. » / "A madman
on the throne is just a monkey on top of a roof." (Bernard de Clervaux)

Last edited by musher0 on Thu 16 Jul 2015, 07:55; edited 1 time in total
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 11071

PostPosted: Sat 20 Jun 2015, 04:49    Post subject:  

Would it be a good idea to use gzip since some pups won't support lzo or xz by default..lucid comes to mind and certainly older. You get roughly the same size after compression.

Or what about zip so a puppy install could be fixed/repaired from windows?

While you are at it how about a few swap files similarly compressed...they are handy.

mike
Back to top
View user's profile Send private message 
musher0


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

PostPosted: Sat 20 Jun 2015, 14:49    Post subject:  

Hi, mikeb.

Here we have the same ready-made pupsave files as above, but zipped
twice, for use in WhineDose contexts or whatever.

The user simply has to unzip them twice alongside the main puppy*.sfs file
in the Puppy folder to get the full-blown pupsave file.

Given that these zip.zip files are now attached, I think it would be overkill
to create similar lzo.gz files.

~~~~~~
Concerning a set of swap files:
    I think ready-made swap files should be presented in their own thread, if
    such a thread does not exist already.

    The reason is that some code has to be inserted in /etc/rc.d/rc.local for
    these swap files to be recognized by the Linux system. (Swap partitions
    are recognized automatically.)

    As well, a large static WhineDose swap file (whatever its name nowadays)
    can be used as a Linux swap file. As our beloved Shakespeare once said:
    "A swap file by any other name is still a swap file." Smile

    So, yeah, I think swap files would be better discussed on their own.

Note, June 22 2015:
I finally decided against my initial opinion and included a set of
pupswap.swp files in this thread anyway. See further down.

~~~~~~

Enjoy!

musher0
CE-pupsaves-double-zipped.zip
Description  The same pupsave files as in the 1st post, but easier to unpack from any
system, since they're inside zip files. (Thanks to mikeb for the suggestion.)
zip

 Download 
Filename  CE-pupsaves-double-zipped.zip 
Filesize  42.55 KB 
Downloaded  263 Time(s) 

_________________
musher0
~~~~~~~~~~
« Un insensé sur le trône n'est qu'un singe sur le haut d'un toit. » / "A madman
on the throne is just a monkey on top of a roof." (Bernard de Clervaux)

Last edited by musher0 on Mon 22 Jun 2015, 00:19; edited 1 time in total
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 11071

PostPosted: Sat 20 Jun 2015, 15:30    Post subject:  

Ah goodly.... just rounds off your post Smile

well it used to be a swap file was automatically used if called pupswap.swp and placed with the other puppy files or root of the puppy partition.... or something very similar...is that no longer done?

for example
https://www.dropbox.com/s/a4rr66f2jvvmn4i/pupswp_512.tar.gz?dl=1

they don't seem to compress as much... handy though as avoids any partitioning.

mike
Back to top
View user's profile Send private message 
musher0


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

PostPosted: Sun 21 Jun 2015, 00:32    Post subject:  

Hi.

I didn't know that. I thought Puppy created a 256 Mo pupswap.swp file only
if the user's system did not have enough RAM. I didn't know it could
automatically load one.

Good to know. Thanks for this.

I gave your swap file the same expert crunching treatment that I gave the
pupsave files ! Wink So here goes. (See attachments.)

Small is beautiful! Enjoy.

musher0
pupswap.swp.zip.zip
Description  Unpack twice in /mnt/home partition.
zip

 Download 
Filename  pupswap.swp.zip.zip 
Filesize  1.75 KB 
Downloaded  267 Time(s) 
pupswap.swp.lzo.bz2
Description  Outstanding compaction here, considering this archive houses a 512 Mg
swap file... An empty swap file, you'll say, but still...
Unpack twice in /mnt/home partition.
bz2

 Download 
Filename  pupswap.swp.lzo.bz2 
Filesize  363 Bytes 
Downloaded  251 Time(s) 

_________________
musher0
~~~~~~~~~~
« Un insensé sur le trône n'est qu'un singe sur le haut d'un toit. » / "A madman
on the throne is just a monkey on top of a roof." (Bernard de Clervaux)

Last edited by musher0 on Sun 21 Jun 2015, 02:30; edited 1 time in total
Back to top
View user's profile Send private message 
musher0


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

PostPosted: Sun 21 Jun 2015, 00:55    Post subject:  

Hello, again, people.

One last thing:

if your swap file above doesn't seem to load automatically, insert the
following in file rc.local at /etc/rc.d, just below the lines:

Quote:
#this file called from rc.sysinit
#you can edit this file


So in all, you'll get:
Code:
#this file called from rc.sysinit
#you can edit this file

# swap file
mkswap /mnt/home/pupswap.swp # mount it
swapon /mnt/home/pupswap.swp # activate it
echo 30 > /proc/sys/vm/swappiness # makes swapping a little less agressive
(...)


Whatever the boss says Wink, please don't edit or touch anything else in that
file. There's a firewall command in it -- and maybe other commands too.

BFN.

musher0

_________________
musher0
~~~~~~~~~~
« Un insensé sur le trône n'est qu'un singe sur le haut d'un toit. » / "A madman
on the throne is just a monkey on top of a roof." (Bernard de Clervaux)

Last edited by musher0 on Sun 21 Jun 2015, 11:52; edited 1 time in total
Back to top
View user's profile Send private message 
musher0


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

PostPosted: Sun 21 Jun 2015, 01:51    Post subject:  

If your system needs more leg room, here's for you two pupswap.swp files
of 1 Gb...
pupswap1G.swp.lzo.bz2
Description 
bz2

 Download 
Filename  pupswap1G.swp.lzo.bz2 
Filesize  227 Bytes 
Downloaded  246 Time(s) 
pupswap1G.swp.zip.zip
Description 
zip

 Download 
Filename  pupswap1G.swp.zip.zip 
Filesize  2.9 KB 
Downloaded  247 Time(s) 

_________________
musher0
~~~~~~~~~~
« Un insensé sur le trône n'est qu'un singe sur le haut d'un toit. » / "A madman
on the throne is just a monkey on top of a roof." (Bernard de Clervaux)
Back to top
View user's profile Send private message 
musher0


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

PostPosted: Sun 21 Jun 2015, 01:52    Post subject:  

... and of 1.5Gb.
pupswap1.5G.swp.lzo.bz2
Description 
bz2

 Download 
Filename  pupswap1.5G.swp.lzo.bz2 
Filesize  236 Bytes 
Downloaded  250 Time(s) 
pupswap1.5G.swp.zip.zip
Description 
zip

 Download 
Filename  pupswap1.5G.swp.zip.zip 
Filesize  4.13 KB 
Downloaded  249 Time(s) 

_________________
musher0
~~~~~~~~~~
« Un insensé sur le trône n'est qu'un singe sur le haut d'un toit. » / "A madman
on the throne is just a monkey on top of a roof." (Bernard de Clervaux)
Back to top
View user's profile Send private message 
musher0


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

PostPosted: Sun 21 Jun 2015, 02:20    Post subject:  

... and of 2Gb...
pupswap-2G.swp.lzo.bz2
Description 
bz2

 Download 
Filename  pupswap-2G.swp.lzo.bz2 
Filesize  375 Bytes 
Downloaded  243 Time(s) 
pupswap-2G.swp.zip.zip
Description 
zip

 Download 
Filename  pupswap-2G.swp.zip.zip 
Filesize  5.35 KB 
Downloaded  227 Time(s) 

_________________
musher0
~~~~~~~~~~
« Un insensé sur le trône n'est qu'un singe sur le haut d'un toit. » / "A madman
on the throne is just a monkey on top of a roof." (Bernard de Clervaux)

Last edited by musher0 on Sun 21 Jun 2015, 11:57; edited 2 times in total
Back to top
View user's profile Send private message 
musher0


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

PostPosted: Sun 21 Jun 2015, 02:24    Post subject:  

... and of 2.5Gb.

If you change pupswap files, from smaller to bigger for example, please be
aware that in Puppy, all the different swap sizes need to have the same
filename. Just pay attention so you don't get them mixed up. Smile

BFN

musher0
pupswap-2.5G.swp.lzo.bz2
Description 
bz2

 Download 
Filename  pupswap-2.5G.swp.lzo.bz2 
Filesize  395 Bytes 
Downloaded  255 Time(s) 
pupswap-2.5G.swp.zip.zip
Description 
zip

 Download 
Filename  pupswap-2.5G.swp.zip.zip 
Filesize  6.58 KB 
Downloaded  277 Time(s) 

_________________
musher0
~~~~~~~~~~
« Un insensé sur le trône n'est qu'un singe sur le haut d'un toit. » / "A madman
on the throne is just a monkey on top of a roof." (Bernard de Clervaux)
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 11071

PostPosted: Sun 21 Jun 2015, 07:15    Post subject:  

Ah ha... well a useful can of worms opened... this info normally gets lost in the forum.

Interesting the double zip makes quite a difference...must have a play with that....again useful if setting up or fixing from windows.

Don't think you need to repeat the mkswap (though no harm its pretty quick) once done but not heard of using
echo 30 > /proc/sys/vm/swappiness
sounds very useful. Smile Learn something every day.

As far as I know there is no significant speed penalty using a swap file instead of a partition unless its on ntfs due to that using a fuse driver.

nice one

Mike
Back to top
View user's profile Send private message 
musher0


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

PostPosted: Sun 21 Jun 2015, 12:06    Post subject:  

My pleasure!
_________________
musher0
~~~~~~~~~~
« Un insensé sur le trône n'est qu'un singe sur le haut d'un toit. » / "A madman
on the throne is just a monkey on top of a roof." (Bernard de Clervaux)
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 5 [62 Posts]   Goto page: 1, 2, 3, 4, 5 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
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.0865s ][ Queries: 14 (0.0093s) ][ GZIP on ]