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 Wed 17 Sep 2014, 19:41
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Suggestions
Remaster vs sfs vs savefile; how best to reduce Puppy?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [22 Posts]   Goto page: 1, 2 Next
Author Message
Master_wrong

Joined: 19 Mar 2008
Posts: 456

PostPosted: 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
View user's profile Send private message 
noryb009

Joined: 20 Mar 2010
Posts: 539

PostPosted: 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
View user's profile Send private message 
Master_wrong

Joined: 19 Mar 2008
Posts: 456

PostPosted: 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
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6435
Location: Auckland, New Zealand

PostPosted: 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.

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
noryb009

Joined: 20 Mar 2010
Posts: 539

PostPosted: 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
View user's profile Send private message 
Master_wrong

Joined: 19 Mar 2008
Posts: 456

PostPosted: 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 Razz
prog-remover.sh.zip
Description 
zip

 Download 
Filename  prog-remover.sh.zip 
Filesize  820 Bytes 
Downloaded  703 Time(s) 

Last edited by Master_wrong on Mon 13 Dec 2010, 06:52; edited 2 times in total
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6435
Location: Auckland, New Zealand

PostPosted: 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.
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4351

PostPosted: 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)

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
Master_wrong

Joined: 19 Mar 2008
Posts: 456

PostPosted: 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
Laughing

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
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4351

PostPosted: 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

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
Master_wrong

Joined: 19 Mar 2008
Posts: 456

PostPosted: Mon 13 Dec 2010, 23:19    Post subject:  

Shocked Embarassed

@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
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4351

PostPosted: 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

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
Master_wrong

Joined: 19 Mar 2008
Posts: 456

PostPosted: 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
View user's profile Send private message 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: 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
View user's profile Send private message Visit poster's website 
mhanifpriatama

Joined: 22 Jan 2011
Posts: 60

PostPosted: 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
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [22 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Taking the Puppy out for a walk » Suggestions
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.0854s ][ Queries: 13 (0.0098s) ][ GZIP on ]