Author |
Message |
Master_wrong
Joined: 19 Mar 2008 Posts: 456
|
Posted: Sun 05 Dec 2010, 00:37 Post subject:
Remaster vs sfs vs savefile; how best to reduce Puppy? |
|
Hi,
I try remastering puppy last night, run pristine luci 240 then install virtualbox...
get into remaster, delete all files within tmp-root & tmp-etc then i copy root and etc into them (because i cannot choose which i should copy).
then i realize my iso files is now around 200M which mean my customized -puppy will eat more ram...
so this makes me thinking, is it worthy to install all program and remaster them ?
or is it more efficient if we just run barebone then install sfs or pet program after booting (preferably automatically) ? as we know installing pet usually takes just few second.
yes i understand some program are needed and cannot go.. but surely abiword, calc, calculator. etc can go perhaps as bussiness.sfs ?
so it will reduce both boot time and ram usage ?
I just visit this
http://www.murga-linux.com/puppy/viewtopic.php?search_id=1905175974&t=51478
the idea was good, but too many small program in puppy that i use i not there (network, ftp etc)
btw :
1.
how to remove program that already installed in puppy ?
example ---> remove abiword, calc so i can remaster without them ?
2.
how to disable save-file creation during shutdown ?
info : i use flashdisk and put everything into ram.
thank you
_________________ Cluster-Pup v.2-Puppy Beowulf Cluster
http://www.murga-linux.com/puppy/viewtopic.php?p=499199#499199
|
Back to top
|
|
 |
noryb009
Joined: 20 Mar 2010 Posts: 592
|
Posted: Sun 05 Dec 2010, 08:55 Post subject:
|
|
It depends - I'm pretty sure if you remaster, it would use more RAM, but the programs will open faster. (use this if you have enough RAM, or use if for programs you always use)
An sfs would also work, use the same RAM, but have programs open a little slower. (use this for keeping the savefile size down, or if you want to use it in multiple puppys)
In your case, I would say to create your own puplet - you don't have to share it, but it's the only way to get a rid of abiword and other pre-installed apps. Just get woof, install all the programs you need, and change the rc.shutdown (I think it's in /ect/) to the first line and the last line (that aren't commented).
|
Back to top
|
|
 |
Master_wrong
Joined: 19 Mar 2008 Posts: 456
|
Posted: Mon 06 Dec 2010, 05:32 Post subject:
|
|
thank for the info...
i 'll check on it
_________________ Cluster-Pup v.2-Puppy Beowulf Cluster
http://www.murga-linux.com/puppy/viewtopic.php?p=499199#499199
|
Back to top
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6781 Location: Auckland, New Zealand
|
Posted: Mon 06 Dec 2010, 16:54 Post subject:
|
|
Quote: | An sfs would also work, use the same RAM |
No, I don't think an extra .sfs is usually loaded into RAM like the main one.
_________________ If you have or know of a good gtkdialog application, please post a link here
Classic Puppy quotes
ROOT FOREVER
|
Back to top
|
|
 |
noryb009
Joined: 20 Mar 2010 Posts: 592
|
Posted: Mon 06 Dec 2010, 17:00 Post subject:
|
|
Sorry, I meant "puppy uses the same amount of RAM with SFSs as it does without"
|
Back to top
|
|
 |
Master_wrong
Joined: 19 Mar 2008 Posts: 456
|
Posted: Fri 10 Dec 2010, 12:15 Post subject:
|
|
@nory
Quote: | but it's the only way to get a rid of abiword and other pre-installed apps. |
i dont think so...
I have been thinking about removing preinstalled program, and i think getting woof or pupngo is too hard to do and too time consuming.
so here is the program to remove preinstalled apps.
edit :
program not working in puppy 4.3
only tested lupu and luci
edit:
now work in woof, tested in pup 431
Description |
|

Download |
Filename |
prog-remover.sh.zip |
Filesize |
820 Bytes |
Downloaded |
915 Time(s) |
Last edited by Master_wrong on Mon 13 Dec 2010, 06:52; edited 2 times in total
|
Back to top
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6781 Location: Auckland, New Zealand
|
Posted: Fri 10 Dec 2010, 19:02 Post subject:
|
|
Yes, there used to be petbegone, which worked like petget but for "removing" built-in packages. There are a couple of more current alternatives; I don't know how they'd compare with Master_wrong's script, but they all work by hiding the package so you can remaster without it.
_________________ If you have or know of a good gtkdialog application, please post a link here
Classic Puppy quotes
ROOT FOREVER
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4786 Location: Kingwood, TX
|
Posted: Sat 11 Dec 2010, 11:40 Post subject:
|
|
even without petbgone, you've always been (and still are) able to reinstall the package and then uninstall it before a remaster.
btw the list of installed packages are now in /root/.packages/woof-installed-packages (the ibiblio repository directory is listed in the 7th field)
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
Master_wrong
Joined: 19 Mar 2008 Posts: 456
|
Posted: Sun 12 Dec 2010, 03:33 Post subject:
|
|
Quote: | even without petbgone, you've always been (and still are) able to reinstall the package and then uninstall it before a remaster. |
sure it is, how come i forgot the fun of installing installed program so i can uninstall it ?
not to mention if i have more than 10 program to remove
the script are tested on luci240 and lupu511, so which puppy use /root/.packages/woof-installed-packages ?
btw im downloading quirky nop120 and pup431 now ..
----------
scrip now useable in woof for removing builtin program, just remember to remaster from pristine and pfix=ram to reduce error.
_________________ Cluster-Pup v.2-Puppy Beowulf Cluster
http://www.murga-linux.com/puppy/viewtopic.php?p=499199#499199
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4786 Location: Kingwood, TX
|
Posted: Mon 13 Dec 2010, 20:36 Post subject:
|
|
Gui + reverse dependency checking in <400bytes
Code: | #!/bin/sh
D=$HOME/.packages/builtin_files
PKGS=`ls -1 $D`
PKG=`Xdialog --stdout --combobox "select package to remove" 0 0 $PKGS`
[ $PKG ] && Xdialog --yesno "Reverse dependencies:
`cat $HOME/.packages/woof-installed-packages |grep +$PKG |cut -d "|" -f2`
Continue?" 0 0 && [ $? ] && for x in `cat $D/$PKG`; do [ -d $x ] && cd $x || rm $x; done && rm $D/$PKG && $0 |
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
Master_wrong
Joined: 19 Mar 2008 Posts: 456
|
Posted: Mon 13 Dec 2010, 23:19 Post subject:
|
|
@technosaurus
WAW that was awesome, thank for the upgrade , but it did not work on woof hehehe
so how to really show all installed program in woof ? and make gui similiar to your script ?
_________________ Cluster-Pup v.2-Puppy Beowulf Cluster
http://www.murga-linux.com/puppy/viewtopic.php?p=499199#499199
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4786 Location: Kingwood, TX
|
Posted: Tue 14 Dec 2010, 00:26 Post subject:
|
|
in woof? - not sure what you mean (woof is what is used to build puppy, so you start with nothing unless you use a predefined build)
???user installed packages are removable in ppm (formerly petget)
it removes them using the files listed in <pkg-name>.files
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
Master_wrong
Joined: 19 Mar 2008 Posts: 456
|
Posted: Tue 14 Dec 2010, 06:10 Post subject:
|
|
i mean pup431,
which have no /.packages/builtin_files folder,
in my latest script i use
cd /
find -iname "$file*" > file
then delete all listed in the file.
rough, but it work so far.
_________________ Cluster-Pup v.2-Puppy Beowulf Cluster
http://www.murga-linux.com/puppy/viewtopic.php?p=499199#499199
|
Back to top
|
|
 |
abushcrafter

Joined: 30 Oct 2009 Posts: 1438 Location: England
|
Posted: Tue 22 Feb 2011, 17:30 Post subject:
|
|
I have most of my apps in a "MustHave" SFS, "Bouns" SFS and "RegularlyUpdatedExtras" SFS. All pre-configured. So I have the "pup-***.sfs" with some stuff removed and a few things added which are most useful if they are in that SFS so if I am on a system where I can only load the main SFS. I have those bits. E.G SFS Linker.
I have a SFS ("RegularlyUpdatedExtras") which the few apps which are regularly updated go in. This is because I found it a pain to edit and build a large SFS each 2 weeks.
"MustHave" SFS is so I have important apps which don't go in the "pup-***.sfs" but the option have having them loaded into ram some how or to easily combine into the "pup-***.sfs" if I want too.
"Bouns" SFS is for every thing else.
With packages that have loads of libs and files in them. What I do is keep them separate from the SFS I plan to put them in. When I build a new version of the SFS I plan to put those separate packages in. I build that SFS and then use "SFS Combiner" to add those separate packages.
This means I don't have a hell of working out which libs need to be left behind because they are needed by some other app or which files I need need to leave or remove when I upgrade or remove that package.
_________________ adobe flash is rubbish!
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
|
Back to top
|
|
 |
mhanifpriatama
Joined: 22 Jan 2011 Posts: 60
|
Posted: Tue 05 Apr 2011, 04:27 Post subject:
|
|
Puppy can run on different pc (machine). So, must have a lot of driver? How big are that?
If its big enough, can we remaster without unnecessary driver? So, for single machine (or same type machines), can has a little library after remastering?
Just an idea.
|
Back to top
|
|
 |
|