Author |
Message |
dejan555

Joined: 30 Nov 2008 Posts: 2817 Location: Montenegro
|
Posted: Sat 04 Apr 2009, 12:06 Post subject:
SFS Install 0.1.2 [updated 16.10.2009.] Subject description: Easy sfs installer for users with full Puppy install |
|
This is script for users with full puppy install who can't load sfs files at bootup and have trouble understanding and following steps to do it manually. And for those who know how but want it easy way like me.
I repeated it too much times, now it's time to automate it!
Usage:
Right click on sfs file in ROX Filer -> Install
or:
sfsinstall name-of-file.sfs
NOTE THAT THERE'S NO UNINSTALL OPTION!
NOTE: You need to have correct sfs version, puppies with kernel 2.6.30 (puppy 430) and up use sfs4, there's a sfs converter in menu if you have older sfs3 files, so if you get error like failed mounting must be because of incompatible sfs version.
UPDATE:
Changed mounting of sfs's to /tmp instead current folder so you can install sfs even if it's burnt on cd or in non-writeable folder.
UPDATE:
Added option to not overwrite existing files so there shouldn't be any conflicts
You can use this for devx installation now too
 |
Description |
Installing SFS files made easy Convinient for users with full puppy install
|

Download |
Filename |
sfsinstall-0.1.2.pet |
Filesize |
1000 Bytes |
Downloaded |
7380 Time(s) |
_________________ puppy.b0x.me stuff mirrored HERE or HERE
Last edited by dejan555 on Thu 15 Oct 2009, 18:06; edited 3 times in total
|
Back to top
|
|
 |
ecomoney

Joined: 25 Nov 2005 Posts: 2183 Location: Lincolnshire, England
|
Posted: Sat 04 Apr 2009, 14:41 Post subject:
|
|
Could this be extended to test for a frugal install, and whether it is already installed too? It could then offer the user a choice
open and view files
install
Cancel
If frugal, it would simple be a matter of copying it to the new "/root/hard-disk/" folder
A great many new puppy users struggle with sfs's This would make a great addition
_________________ Puppy Linux's Mission
Sorry, my server is down atm!
|
Back to top
|
|
 |
Béèm

Joined: 21 Nov 2006 Posts: 11775 Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
|
Posted: Sat 04 Apr 2009, 14:45 Post subject:
|
|
ecomoney wrote: | if frugal, it would simple be a matter of copying it to the new "/root/hard-disk/" folder | Normally in a frugal install a sfs file should be copied to /mnt/home (where the pup_save is) for the bootmanager to find it.
_________________ Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
|
Back to top
|
|
 |
dejan555

Joined: 30 Nov 2008 Posts: 2817 Location: Montenegro
|
Posted: Sat 04 Apr 2009, 15:10 Post subject:
|
|
Steps are pretty simple for frugal install, there's also a boot manager that loads sfs's, but it's way harder for full HD installs.
You can install sfs's with this script on LiveCD also, to test if they work (if you have enough ram), but if you have a frugal install it's best to just put files in /mnt/home
_________________ puppy.b0x.me stuff mirrored HERE or HERE
|
Back to top
|
|
 |
dejan555

Joined: 30 Nov 2008 Posts: 2817 Location: Montenegro
|
Posted: Mon 20 Apr 2009, 14:18 Post subject:
|
|
Script updated. See first post.
Thanks to Bruce who made me think harder about this.
_________________ puppy.b0x.me stuff mirrored HERE or HERE
|
Back to top
|
|
 |
catear
Joined: 30 Sep 2008 Posts: 33 Location: Thailand
|
Posted: Tue 21 Apr 2009, 13:04 Post subject:
|
|
Thank > <
_________________

|
Back to top
|
|
 |
8-bit

Joined: 03 Apr 2007 Posts: 3425 Location: Oregon
|
Posted: Tue 21 Apr 2009, 15:47 Post subject:
|
|
I got an SFSinstaller full a while back that SunBurnt made for install of SFS on a full install of Puppy.
I revisited it a few weeks back with Puppy 4.2 full install, and found that not only could I install SFS format packages, I could also uninstall them.
It also created an error log of files it had problems with installing.
The files it had problems with were system link files that inadvertently pointed to other system link files.
But I guess my point here is that before the Puppy 4 series, SunBurnt's SFS installer failed to create a list of installed files for the uninstall option and now it does create the list.
Uninstall removes all the files installed but leaves the directories that were created by the install.
I still have his package if anyone is interested in looking at it.
|
Back to top
|
|
 |
dejan555

Joined: 30 Nov 2008 Posts: 2817 Location: Montenegro
|
Posted: Wed 22 Apr 2009, 01:53 Post subject:
|
|
Yes please, give me link to his thread or attach it here.
I solved the issue with overwriting files but I don't have that uninstall function, so it would be great to modify either his script or mine to make one that has both install/uninstall func and without issues where duplicate files exist.
_________________ puppy.b0x.me stuff mirrored HERE or HERE
|
Back to top
|
|
 |
DC

Joined: 30 Apr 2006 Posts: 361 Location: Maidenhead, England
|
Posted: Wed 22 Apr 2009, 07:56 Post subject:
|
|
Hi dejan555,
Could you post your scripts please. As I'm slowly learning bash and would be interested how you do install scripts
Thanks
DC
|
Back to top
|
|
 |
dejan555

Joined: 30 Nov 2008 Posts: 2817 Location: Montenegro
|
Posted: Thu 23 Apr 2009, 01:45 Post subject:
|
|
When you install this pet script will be in /usr/local/bin/sfsinstall, open it in some text editor to see the code. I don't have many scripts though which I can post, and I'm not really good at bash either, I mean I kinda learn what I need at the moment.
_________________ puppy.b0x.me stuff mirrored HERE or HERE
|
Back to top
|
|
 |
8-bit

Joined: 03 Apr 2007 Posts: 3425 Location: Oregon
|
Posted: Thu 23 Apr 2009, 14:04 Post subject:
|
|
Sunburnt's SFSinstaller_full can be found here
http://www.murga-linux.com/puppy/viewtopic.php?search_id=1853051057&t=33016
I tested it with a full install of Puppy 4.2
Important:
Copy the downloaded file to /root/my applications and extract it there.
From using it, I found that it will install an SFS file. Uninstall removes the files it installed, but leaves the created directories as empty directories.
It does NOT remove directories that have files in them.
You can examine the scripts then.
|
Back to top
|
|
 |
dejan555

Joined: 30 Nov 2008 Posts: 2817 Location: Montenegro
|
Posted: Thu 23 Apr 2009, 15:34 Post subject:
|
|
Thanks!
_________________ puppy.b0x.me stuff mirrored HERE or HERE
|
Back to top
|
|
 |
droope

Joined: 31 Jul 2008 Posts: 811 Location: Uruguay, Mercedes
|
Posted: Fri 24 Apr 2009, 18:21 Post subject:
|
|
A common mistake with uninstalling:
Deleting files that were there before. Your script should back up files that already exist, and when uninstalling, replace them with the old ones. (As it happens when you place a .sfs in /home/, i think?).
Hope this is usefull.
|
Back to top
|
|
 |
dejan555

Joined: 30 Nov 2008 Posts: 2817 Location: Montenegro
|
Posted: Fri 24 Apr 2009, 18:33 Post subject:
|
|
Yeah, that's the catch, I coud make uninstall script straight away, but I need to figure out how to uninstall only files that are new and leave the old ones in place.
_________________ puppy.b0x.me stuff mirrored HERE or HERE
|
Back to top
|
|
 |
brad_chuck
Joined: 15 Aug 2005 Posts: 284 Location: Appalachian Mountains
|
Posted: Fri 24 Apr 2009, 19:28 Post subject:
|
|
Did not try to uninstall but the sfsinstall works great for me.
This a big help! Every time I did it in the past I had to look up the commands on Berry's site...
|
Back to top
|
|
 |
|