SFS P.L.U.S. 2.0.5

Miscellaneous tools
Message
Author
User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#41 Post by RSH »

OK, this might get a bit confusing now.

@nooby

If you are using LazY Puppy and its SFS P.L.U.S., please do post in the LazY Puppy thread, because this here is different.

---

Sorry!

Users of other puppies surely do not have the SFS Installer, so they have to build the SFS manually. Here are the basic SFS files (just as the .pet were). Remove the fake .gz, rename it (add "LP2_" in front to the file name) and do convert them to LazY Puppy format (right-click on the sfs).

First convert LP2_Test2.sfs to be able to drag and drop it as dependent SFS to LP2_Test1.sfs.
Attachments
Test1.sfs.gz
(4 KiB) Downloaded 635 times
Test2.sfs.gz
(4 KiB) Downloaded 640 times
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

DrDeaf
Posts: 69
Joined: Sat 30 Dec 2006, 14:10

#42 Post by DrDeaf »

Thanks again, RSH!
RSH wrote:
Give it a try and install it as described. Tell me the results. If something's going wrong, I will try to give help, to get this to work. But it should work out of the box, because I have successfully installed this in Lucid 525 & 528, Slacko 5.3, Studio 13.37 and in Precise 5.3.3.3 (and done remasters of these puppies, for a later use (maybe)).

RSH

BTW. the execution of a RunScript checks md5sum automatically at download of a sfs and gives information, if md5sum doesn't fit.

Note: it needs shinobar's sfs_load 1.9.x installed
It is mentioned often in other Fatdog64 threads, and although I made a try I was not able to make this work... I have worked out a solution within Fatdog however.

I am booting from a 32GB card and using Grub4Dos, so I have plenty of room to try this in a true Lazy Puppy environment! I am looking forward to that.

Best regards,

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#43 Post by RSH »

I was not able to make this work
I'm sorry to read that. Did you notice my offer?
Please tell me the exactly version of your Fatdog64. I would like to try to put SFS P.L.U.S. manually into its main sfs and upload this one also to my mediafire account. So, you and other users could download and use this.
I have worked out a solution within Fatdog however.
Can you explain this?
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

DrDeaf
Posts: 69
Joined: Sat 30 Dec 2006, 14:10

#44 Post by DrDeaf »

Hello RSH!
I see you found my post in the Project Fatdog64 Forum. Thank you very much! You have given me much to study. Very exciting!
Yes, I noticed your offer but after I found a way to get a "break" I was reluctant to impose here with what may be off-topic.
Anyway, since my focus is 64 bit I spent time trying to use Shinobars sfs_load. The result was a fail, but interestingly each instance I tried could give a different fail mode. I can not explain that.
I will answer more re: Fatdog64 to your great post in that thread.
Again, thanks!

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#45 Post by RSH »

Ah, OK, I see.

If sfs_load by shinobar doesn't work in Fatdog64, the SFS P.L.U.S. can't do anything. It needs a full working sfs_load (1.9.x) to do its work.

Did you post a notice/request in the sfs_load thread?

RSH
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#46 Post by RSH »

Poll added!
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#47 Post by nooby »

oops I am a minority voice there. Wanting it to unload?
Why would one want to keep it?
I use Google Search on Puppy Forum
not an ideal solution though

Master_wrong
Posts: 452
Joined: Thu 20 Mar 2008, 01:48

#48 Post by Master_wrong »

i vote for a radio button !
Cluster-Pup v.2-Puppy Beowulf Cluster
[url]http://www.murga-linux.com/puppy/viewtopic.php?p=499199#499199[/url]

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#49 Post by RSH »

Version 2.0.4 uploaded. PET and Info at first post.
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#50 Post by RSH »

Version 2.0.5 uploaded. PET and Info at first post.

Information at first post new restructured and updated!
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

R-S-H
Posts: 487
Joined: Mon 18 Feb 2013, 12:47

#51 Post by R-S-H »

Hi.

I have successfully installed and tested the SFS P.L.U.S. into MacPup 5.2.5 (which seems to be a Lucid) and also in MacPup 5.2.9 (which is based on precise 5.2.60).

But in MacPup 5.2.9 I've had to solve a small issue because of the new Options-GUI in filemnt which gives option to choose either to look at the content of the SFS or to load the SFS with sfs_load before mounting the left-clicked SFS file.

This new Options-GUI of filemnt makes the RunScript-Creator functioning irregular.

To use the SFS P.L.U.S. in MacPup 5.2.9 do edit file /usr/sbin/filemnt. Make the following code as comments:

Code: Select all

   #120525 take into account shinobar's load-on-the-fly pet...
   if [ "`which sfs_load`" != "" ];then
    SFSMSG1a="$(eval_gettext "You can choose to mount the \${imgFileBASE} file to view it's contents (read-only), or you can install it.")" #'geany
    SFSMSG1b="${SFSMSG1a}\n\n$(gettext 'Regarding the latter, traditionally SFS files are selected by the \ZbBootManager\ZB for loading at bootup (see System menu), which you can do, or you can choose to install (load) it now (which will not require a reboot).\n\nNote1: If you want to edit the contents of an SFS file, you have to use the commandline utilities \Zbunsquashfs\ZB and \Zbmksquashfs\ZB.\nNote2: In the case of a full HD installation, without a layered filesystem, installation is irreversible. For all other installation modes, the BootManager can be used to unload an installed (loaded) SFS file.')"
    pupdialog --colors --background '#FFFF80' --backtitle "${imgFileBASE}" --extra-button --yes-label "$(gettext 'View contents')" --no-label "$(gettext 'Install SFS')" --extra-label "$(gettext 'Cancel')"  --yesno "${SFSMSG1b}" 0 0
    RETVAL=$?
    [ $RETVAL -eq 1 ] && exec sfs_load "$1"
    [ $RETVAL -ne 0 ] && exit #120527
   fi
just like this here is shown:

Code: Select all

   ##120525 take into account shinobar's load-on-the-fly pet...
   #if [ "`which sfs_load`" != "" ];then
   # SFSMSG1a="$(eval_gettext "You can choose to mount the \${imgFileBASE} file to view it's contents (read-only), or you can install it.")" #'geany
   # SFSMSG1b="${SFSMSG1a}\n\n$(gettext 'Regarding the latter, traditionally SFS files are selected by the \ZbBootManager\ZB for loading at bootup (see System menu), which you can do, or you can choose to install (load) it now (which will not require a reboot).\n\nNote1: If you want to edit the contents of an SFS file, you have to use the commandline utilities \Zbunsquashfs\ZB and \Zbmksquashfs\ZB.\nNote2: In the case of a full HD installation, without a layered filesystem, installation is irreversible. For all other installation modes, the BootManager can be used to unload an installed (loaded) SFS file.')"
   # pupdialog --colors --background '#FFFF80' --backtitle "${imgFileBASE}" --extra-button --yes-label "$(gettext 'View contents')" --no-label "$(gettext 'Install SFS')" --extra-label "$(gettext 'Cancel')"  --yesno "${SFSMSG1b}" 0 0
   # RETVAL=$?
   # [ $RETVAL -eq 1 ] && exec sfs_load "$1"
   # [ $RETVAL -ne 0 ] && exit #120527
   #fi
It starts in line 134!

Or, do install the attached script ---> which means: download, remove the fake .gz, make executable and copy to /usr/sbin. That's all.

The SFS P.L.U.S. RunScript-Creator should now create the RunScripts as usual.

RSH

Note: this could be necessary to do in some other newer Puppies as well!

Edit: for the use of SFS PLUS in MacPup 5.2.9 please do also have a look here - download and install at last! - (should be in /usr/sbin/ceelab/tools when using SFS P.L.U.S.)
Attachments
filemnt.gz
Modified filemnt for the use of SFS P.L.U.S. in MacPup 5.2.9
(9.28 KiB) Downloaded 398 times
[b][url=http://lazy-puppy.weebly.com]LazY Puppy Home
The new LazY Puppy Information Centre[/url][/b]

R-S-H
Posts: 487
Joined: Mon 18 Feb 2013, 12:47

#52 Post by R-S-H »

Hi.

Again me.

Again discovered a small issue when using SFS P.L.U.S. in newer Puppies.

Currently using LazY Precise Puppy based on Precise 5.6 and LazY Puppy 3. Sometimes it's not possible to create a RunScript from SFS. For some reasons script 'filemnt' seems to need more time to mount the SFS (which is needed to create the RunScript).

Solution comes here. Search for the code below in /root/my-roxapps/SFS-ASCRIPT/AppRun

Code: Select all

# get new mounted path
. /tmp/$SFSFILE.mnt_tmp
# just wait to be sure, sfs is full mounted
sleep 1
# close rox window
rox -D "/mnt/$MNTORIGFILE"
Change sleep 1 to sleep 2 (now works well here, but might needed to be increased on slower machines).

The ROX window has to stay open for a while. If it is closed to quickly, the SFS will not be mounted and the RunScript will not be created - error message says, the SFS is not yet converted to LazY Puppy, even though it is! It's just because of not finding the Convert-Control-File!

RSH
[b][url=http://lazy-puppy.weebly.com]LazY Puppy Home
The new LazY Puppy Information Centre[/url][/b]

User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

Re: SFS P.L.U.S. 2.0.5

#53 Post by rufwoof »

RSH wrote:I like to run my Puppy without the use of a save file
+1

A sustained usage of a save file is just a slow version of performing a full install.

User avatar
Uten
Posts: 129
Joined: Tue 29 Jan 2008, 11:00

SFS P.L.U.S 2.0.5 and tahr?

#54 Post by Uten »

Does anyone have SFS P.L.U.S working with/on tahr-6.0-ce.
I have just tried ad it seems to have some problems. But this is my first attempt at SFS P.L.U.S so it could be I do something wrong.

My problems so fare:
1: After converting an sfs file (why am I asked to rename the sfs before conversion?) it is not recognized as an converted file by the "LP2 SFS AutoScript create Run-Scripts tool".

2: The "mount sfs" dialog is displayed twice. I did increase the sleep mentioned above to 5.

Yesterday I gave LazYP a go. But it does not like my machine ( acer travelmate 4000 ), or maybee it is picky and doesn't like me :cry:

I have not checked the listed dependencies, so maybe there are something there.

Also R.S.H the link to the xdotool is dead, is it needed?

Best regards
Uten

User avatar
LazY Puppy
Posts: 1934
Joined: Fri 21 Nov 2014, 18:14
Location: Germany

#55 Post by LazY Puppy »

Hi.

In newer Puppies like Precise, Slacko, Tahr etc. you'll need to comment out a code section in file /usr/sbin/filemnt. This section was added for shinobar's sfs_load and it causes problems for the use of SFS P.L.U.S. since it uses /usr/sbin/filemnt to mount a SFS to create a RunScript from its .desktop File.

Here is the Code:

Code: Select all

   #120525 take into account shinobar's load-on-the-fly pet...
   if [ "`which sfs_load`" != "" ];then
    SFSMSG1a="$(eval_gettext "You can choose to mount the \${imgFileBASE} file to view it's contents (read-only), or you can install it.")" #'geany
    SFSMSG1b="${SFSMSG1a}\n\n$(gettext 'Regarding the latter, traditionally SFS files are selected by the \ZbBootManager\ZB for loading at bootup (see System menu), which you can do, or you can choose to install (load) it now (which will not require a reboot).\n\nNote1: If you want to edit the contents of an SFS file, you have to use the commandline utilities \Zbunsquashfs\ZB and \Zbmksquashfs\ZB.\nNote2: In the case of a full HD installation, without a layered filesystem, installation is irreversible. For all other installation modes, the BootManager can be used to unload an installed (loaded) SFS file.')"
    pupdialog --colors --background '#FFFF80' --backtitle "${imgFileBASE}" --extra-button --yes-label "$(gettext 'View contents')" --no-label "$(gettext 'Install SFS')" --extra-label "$(gettext 'Cancel')"  --yesno "${SFSMSG1b}" 0 0
    RETVAL=$?
    [ $RETVAL -eq 1 ] && exec sfs_load "$1"
    [ $RETVAL -ne 0 ] && exit #120527
   fi
You can either remove it or just commenting it out.

The renaming of any SFS for the use with SFS P.L.U.S. is absolutely necessary! Just add the Prefix LP2_ in front of any SFS's Name, that you want to use with the SFS P.L.U.S. After renaming it, just convert it first to the SFS P.L.U.S. Format, copy or save it and create a RunScript after its conversion.

Here is a .pet File for xdotool that still seems to work. It is only needed, if you want to create Desktop Icons automatically when creating a RunScript and want to have it placed centered at the Desktop.

Probably interesting?
RSH

"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:

No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:

User avatar
Uten
Posts: 129
Joined: Tue 29 Jan 2008, 11:00

#56 Post by Uten »

Hi LazY,
Thanks for your answer. As it was just before Christmas I had to put it away for a while. I'll give it another try the next couple of weeks..:o)

User avatar
LazY Puppy
Posts: 1934
Joined: Fri 21 Nov 2014, 18:14
Location: Germany

#57 Post by LazY Puppy »

Hi.

Here you can find my latest edition of SFS P.L.U.S./X-PaDS/PaDS.

It will stay for at least 90 days after its last download.

!!! Needs to uninstall the previous version of PaDS at first !!!
RSH

"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:

No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:

User avatar
LazY Puppy
Posts: 1934
Joined: Fri 21 Nov 2014, 18:14
Location: Germany

#58 Post by LazY Puppy »

Since I don't have access anymore to my old RSH account and therefor I'm unable to change the topics title to 'discontinued', I'm going to post here:

THIS IS NOW DISCONTINUED AND NOT SUPPORTED ANYMORE!

All my work done is by now combined and continued into T.O.P.L.E.S.S.
RSH

"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:

No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:

Post Reply