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 31 Oct 2014, 11:52
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
SFS Install 0.1.2 [updated 16.10.2009.]
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 3 [45 Posts]   Goto page: 1, 2, 3 Next
Author Message
dejan555


Joined: 30 Nov 2008
Posts: 2704
Location: Montenegro

PostPosted: 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. Wink
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 Wink
sfsinstall-0.1.2.pet
Description  Installing SFS files made easy
Convinient for users with full puppy install
pet

 Download 
Filename  sfsinstall-0.1.2.pet 
Filesize  1000 Bytes 
Downloaded  6404 Time(s) 

_________________



Last edited by dejan555 on Thu 15 Oct 2009, 18:06; edited 3 times in total
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
ecomoney


Joined: 25 Nov 2005
Posts: 2183
Location: Lincolnshire, England

PostPosted: 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
View user's profile Send private message Visit poster's website MSN Messenger 
Béèm


Joined: 21 Nov 2006
Posts: 11782
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

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


Joined: 30 Nov 2008
Posts: 2704
Location: Montenegro

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

_________________


Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
dejan555


Joined: 30 Nov 2008
Posts: 2704
Location: Montenegro

PostPosted: Mon 20 Apr 2009, 14:18    Post subject:  

Script updated. See first post.
Thanks to Bruce who made me think harder about this.

_________________


Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
catear

Joined: 30 Sep 2008
Posts: 33
Location: Thailand

PostPosted: Tue 21 Apr 2009, 13:04    Post subject:  

Thank > <
_________________

Back to top
View user's profile Send private message 
8-bit


Joined: 03 Apr 2007
Posts: 3387
Location: Oregon

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


Joined: 30 Nov 2008
Posts: 2704
Location: Montenegro

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

_________________


Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
DC


Joined: 30 Apr 2006
Posts: 361
Location: Maidenhead, England

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


Joined: 30 Nov 2008
Posts: 2704
Location: Montenegro

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


Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
8-bit


Joined: 03 Apr 2007
Posts: 3387
Location: Oregon

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


Joined: 30 Nov 2008
Posts: 2704
Location: Montenegro

PostPosted: Thu 23 Apr 2009, 15:34    Post subject:  

Thanks!
_________________


Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
droope


Joined: 31 Jul 2008
Posts: 814
Location: Uruguay, Mercedes

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

Smile
Back to top
View user's profile Send private message 
dejan555


Joined: 30 Nov 2008
Posts: 2704
Location: Montenegro

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


Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
brad_chuck

Joined: 15 Aug 2005
Posts: 284
Location: Appalachian Mountains

PostPosted: 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
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 3 [45 Posts]   Goto page: 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
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.0745s ][ Queries: 13 (0.0051s) ][ GZIP on ]