Remaster vs sfs vs savefile; how best to reduce Puppy?
-
- Posts: 452
- Joined: Thu 20 Mar 2008, 01:48
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/viewto ... 74&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
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/viewto ... 74&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
[url]http://www.murga-linux.com/puppy/viewtopic.php?p=499199#499199[/url]
[url]http://www.murga-linux.com/puppy/viewtopic.php?p=499199#499199[/url]
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).
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).
-
- Posts: 452
- Joined: Thu 20 Mar 2008, 01:48
No, I don't think an extra .sfs is usually loaded into RAM like the main one.An sfs would also work, use the same RAM
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
-
- Posts: 452
- Joined: Thu 20 Mar 2008, 01:48
@nory
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
i dont think so...but it's the only way to get a rid of abiword and other pre-installed apps.
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
- Attachments
-
- prog-remover.sh.zip
- (820 Bytes) Downloaded 1064 times
Last edited by Master_wrong on Mon 13 Dec 2010, 10:52, edited 2 times in total.
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.
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
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)
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 [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
-
- Posts: 452
- Joined: Thu 20 Mar 2008, 01:48
sure it is, how come i forgot the fun of installing installed program so i can uninstall it ?even without petbgone, you've always been (and still are) able to reinstall the package and then uninstall it before a remaster.
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
[url]http://www.murga-linux.com/puppy/viewtopic.php?p=499199#499199[/url]
[url]http://www.murga-linux.com/puppy/viewtopic.php?p=499199#499199[/url]
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
Gui + reverse dependency checking in <400bytes
Code: Select all
#!/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 [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
-
- Posts: 452
- Joined: Thu 20 Mar 2008, 01:48
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
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
???user installed packages are removable in ppm (formerly petget)
it removes them using the files listed in <pkg-name>.files
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
-
- Posts: 452
- Joined: Thu 20 Mar 2008, 01:48
- abushcrafter
- Posts: 1418
- Joined: Fri 30 Oct 2009, 16:57
- Location: England
- Contact:
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.
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.
[url=http://www.adobe.com/flashplatform/]adobe flash is rubbish![/url]
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/
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/
-
- Posts: 60
- Joined: Sat 22 Jan 2011, 07:50
Puppy can use a 'zdrv' SFS file. This file contains only the drivers.mhanifpriatama wrote: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.
You can then use the 'zdrv_cutr' tool to remove drivers which are not loaded.
Then zdrv_cutr is here: http://murga-linux.com/puppy/viewtopic.php?t=51552
Also, here is another remaster tool you can use, called Woofy, it is simpler than RemasterPup: http://www.murga-linux.com/puppy/viewtopic.php?t=57037
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]
- Moose On The Loose
- Posts: 965
- Joined: Thu 24 Feb 2011, 14:54
Here's a crazy idea:mhanifpriatama wrote: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.
Do the remaster and include everything you think you may or may not want in a BIG.sfs
Once the remaster is done create a directory tree that looks just like the BIG.sfs except that all the actual things are symbolic links to:
/mnt/home/BIGSFS/whereitis/whatitis
You can quite do this with everything because the mount command is needed to get the BIG.sfs mounted.
This will result in a puppy that runs very slowly but now comes the part that I thought of first.
Use "find" to discover what files you really accessed in the last few days and replace the symbolic links with the actual files. This could be a script that does this automatically.
With a few more steps, you could have a puppy with only the files you actually use. All the rest could still be included in the BIG.sfs if you want to be able to change your mind.
-
- Posts: 60
- Joined: Sat 22 Jan 2011, 07:50
I like this crazy think. I'll try. It will reduce more file that not use. But, can we sure that all file has accessed flag? About stability, I think it will crash.With a few more steps, you could have a puppy with only the files you actually use. All the rest could still be included in the BIG.sfs if you want to be able to change your mind.
But, that just good crazy idea.
"save" "no save" at shutdown
"save" "no save" at shutdown Ignore full session
Pet pupsaveconfig 2.2. available somewhere
That permits you to make a lot of tries and not to register them.
Reboot and run again only the success things
This time, save the session.
You earn an incredible amount of space on your personal storage.
Pet pupsaveconfig 2.2. available somewhere
That permits you to make a lot of tries and not to register them.
Reboot and run again only the success things
This time, save the session.
You earn an incredible amount of space on your personal storage.
You could take a look at Lazy Puppy, it is based on the idea of just loading an sfs when you need it.
LazY Puppy 2.0.2 Final - a Paradise Puppy
tallboy
LazY Puppy 2.0.2 Final - a Paradise Puppy
tallboy
True freedom is a live Puppy on a multisession CD/DVD.