sfs_load-2.4 on-the-fly
Hi peebee,
It seems you are linking individual sfs files. Whilst every sfs may not work in every Pup - I wonder what would happen if you were to link the sfs directory instead of individual files?
SFS-Exec from seaside may be an alternative to load-on-the-fly since either can be used at any time.
My regards
Addendum: now deleted, as my thoughts were useless..
It seems you are linking individual sfs files. Whilst every sfs may not work in every Pup - I wonder what would happen if you were to link the sfs directory instead of individual files?
SFS-Exec from seaside may be an alternative to load-on-the-fly since either can be used at any time.
My regards
Addendum: now deleted, as my thoughts were useless..
Hi shinobar.
You remember the command --skip-fixmenus? Thanks for introducing this.
LazY Puppy has installed sfs_load 1.9.4 but version of 1.3.9 (the one with my modifications inside) also. For a special use of LazY Puppy from CD/DVD i did made some new modifications on 1.3.9, that makes me able, to run the complete system from CD/DVD and to load the sfs by the RunScripts from CD/DVD without the need to click/confirm the "copy-GUI". So, maybe I'll have something new to be introduced in a new sfs_load version?
I did insert the following code at the very beginning of the 1.3.9 script:
Then I did change the code at (above) line 1902 to:
As you can see (surely) this disables the "copy-GUI" and as a result it loads the sfs from CD/DVD without to copy it to any other location and no GUI is shown to be clicked away.
Any chance to introduce a command for that behavior of sfs_load (maybe --do-not-copy), so that it would change its behavior only if submitted this (or similar) command?
RSH
You remember the command --skip-fixmenus? Thanks for introducing this.
LazY Puppy has installed sfs_load 1.9.4 but version of 1.3.9 (the one with my modifications inside) also. For a special use of LazY Puppy from CD/DVD i did made some new modifications on 1.3.9, that makes me able, to run the complete system from CD/DVD and to load the sfs by the RunScripts from CD/DVD without the need to click/confirm the "copy-GUI". So, maybe I'll have something new to be introduced in a new sfs_load version?
I did insert the following code at the very beginning of the 1.3.9 script:
Code: Select all
# 2012-11-20 RSH
#---------------
# Get Pupmode etc.
. /etc/rc.d/PUPSTATE
# Check if run from CD
DoNoCopy="false"
if [ "$PMEDIA" = "cd" ]; then
DoNoCopy="true"
elif [ "$PMEDIA" = "CD" ]; then
DoNoCopy="true"
elif [ "$PMEDIA" = "dvd" ]; then
DoNoCopy="true"
elif [ "$PMEDIA" = "DVD" ]; then
DoNoCopy="true"
fi
echo "PMEDIA="$PMEDIA
echo "DoNoCopy="$DoNoCopy
#---------------
Code: Select all
if [ "$DoNoCopy" = "true" ]; then
PART="NOCOPY"
else
choosepart $TOPART || finish
fi
Any chance to introduce a command for that behavior of sfs_load (maybe --do-not-copy), so that it would change its behavior only if submitted this (or similar) command?
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]
[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]
I load complete distros
DPUP485 inside Precise Puppy for instance.
I load the DPUP485 SFS and it runs. That's all.
Same for LHP 503
Same for Fluppy 013.
These three distros were unable to connect Internet on my new Laptop but mounted on the fly on A recent Puppy 5XXXX, they go back to life !
With all their programs (...quite all)
I load the DPUP485 SFS and it runs. That's all.
Same for LHP 503
Same for Fluppy 013.
These three distros were unable to connect Internet on my new Laptop but mounted on the fly on A recent Puppy 5XXXX, they go back to life !
With all their programs (...quite all)
Spanish locale updated
- Attachments
-
- MoManager-es_AR-SFS_load.tar.gz
- (6.22 KiB) Downloaded 615 times
[url=http://murga-linux.com/puppy/viewtopic.php?t=76948]Puppy Linux en español[/url]
I have fixed and uploaded sfs_load for crashing the system if you are using kernels greater than 3.2. NOTE: not tested on k3.8, reports please.
Many thanks to SFR
Package:
http://mirror.aarnet.edu.au/pub/puppyli ... .9.6-2.pet
Many thanks to SFR
Package:
http://mirror.aarnet.edu.au/pub/puppyli ... .9.6-2.pet
Puppy Linux Blog - contact me for access
Tested on Quirky 5.4.91 (Kernel 3.8.) Eventually worked. After removing the old pet and installing the new pet reboot is required before testing or it will crash system.01micko wrote:I have fixed and uploaded sfs_load for crashing the system if you are using kernels greater than 3.2. NOTE: not tested on k3.8, reports please.
[b]Classic Opera 12.16 browser SFS package[/b] for Precise, Slacko, Racy, Wary, Lucid, etc available[url=http://terryphillips.org.uk/operasfs.htm]here[/url] :)
Is this a script that one can edit so it does not ask so many questions
it wants to move files and deal with save file and so on.
I need it to load the sfs and not make me go into dialogs all the time
I don't have a save file so all these questions are only annoying Sorry
Now I am using sfs-exec in Slacko despite it does not work properly
for slacko. Would be better to be able to use the built in sfs on fly
but a version that are less nosy all the time.
it wants to move files and deal with save file and so on.
I need it to load the sfs and not make me go into dialogs all the time
I don't have a save file so all these questions are only annoying Sorry
Now I am using sfs-exec in Slacko despite it does not work properly
for slacko. Would be better to be able to use the built in sfs on fly
but a version that are less nosy all the time.
I use Google Search on Puppy Forum
not an ideal solution though
not an ideal solution though
nooby; Did you try sfs_load --help to get the CLI list for use without the GUI.?
shinobar; I just needed an SFS loader for the first time for AppPkg development.
It works great except for what seems to be a Puppy messup of both the dirs. /lib/i386-linux-gnu and /usr/lib/i386-linux-gnu
They are links to the parent dir. and sfs_load can`t union dirs. on them. I doubt any union can be done on this type of setup.
Is there a work around fix for what appears to be a Puppy hack.?
( I`m guessing apps. must be modified to work, meaning they`ll only work in Puppy. )
# Suggestion for sfs_load: Why limit it to SFS files,?
# Please also make it load ext2, ext3, and ext4 image files as well.!
And of course add "Load RO" and "Load RW". ( Separate buttons is good. )
Have the buttons disabled when a SFS file is selected to be loaded.
If the image file`s mounted RW and unioned RO, then the normal Save file is the union`s only RW.
Then changes to the image file can be made through it`s mount point.
This will allow new app. package development ( SFS and AppPkg ) to be done quite easily.
.
shinobar; I just needed an SFS loader for the first time for AppPkg development.
It works great except for what seems to be a Puppy messup of both the dirs. /lib/i386-linux-gnu and /usr/lib/i386-linux-gnu
They are links to the parent dir. and sfs_load can`t union dirs. on them. I doubt any union can be done on this type of setup.
Is there a work around fix for what appears to be a Puppy hack.?
( I`m guessing apps. must be modified to work, meaning they`ll only work in Puppy. )
# Suggestion for sfs_load: Why limit it to SFS files,?
# Please also make it load ext2, ext3, and ext4 image files as well.!
And of course add "Load RO" and "Load RW". ( Separate buttons is good. )
Have the buttons disabled when a SFS file is selected to be loaded.
If the image file`s mounted RW and unioned RO, then the normal Save file is the union`s only RW.
Then changes to the image file can be made through it`s mount point.
This will allow new app. package development ( SFS and AppPkg ) to be done quite easily.
.
Last edited by sunburnt on Tue 12 Mar 2013, 23:35, edited 4 times in total.
Hi.
To use sfs_load from command line use option --cli. I do use this inside the RunScripts from LazY Puppy's SFS P.L.U.S. to get the SFS loaded without the GUI.
Full command I do use:
or to unload
This works in sfs_load 1.9.0 and above!
--cli = command line interface
--skip-fixmenus = NO fixmenus is executed after loading the SFS (LazY Puppy did need this, because the menu entries are already inside the OS)
--quiet = NO Messages/Warnigs are given
RSH
To use sfs_load from command line use option --cli. I do use this inside the RunScripts from LazY Puppy's SFS P.L.U.S. to get the SFS loaded without the GUI.
Full command I do use:
Code: Select all
sfs_load --cli --skip-fixmenus --quiet "$LP2BDL/$nogo_file"
Code: Select all
sfs_load --unload --cli --skip-fixmenus --quiet "$LP2BDL/$nogo_file"
--cli = command line interface
--skip-fixmenus = NO fixmenus is executed after loading the SFS (LazY Puppy did need this, because the menu entries are already inside the OS)
--quiet = NO Messages/Warnigs are given
RSH
[b][url=http://lazy-puppy.weebly.com]LazY Puppy Home
The new LazY Puppy Information Centre[/url][/b]
The new LazY Puppy Information Centre[/url][/b]
Works good to load a dpup_devx_007.sfs into a ram boot of a dpup-005.sfs without annoying anything about wrong version and whatsoever . Has some much text about what and what not recommended is, but that is personal taste .
Nevertheless ( latest /root/Downloads/sfs_load-1.9.6-2.pet ) :
Dragged the _devx_ into the input box of the gui and got this later :
Seems some '\n' jumped into the $VARS and copying failed (crappy mrxvt, encoding or LANG mismatches possible ?)
Nevertheless ( latest /root/Downloads/sfs_load-1.9.6-2.pet ) :
Dragged the _devx_ into the input box of the gui and got this later :
Seems some '\n' jumped into the $VARS and copying failed (crappy mrxvt, encoding or LANG mismatches possible ?)
Code: Select all
# sfs_load
sfs_load: You seem running Puppy without 'pupsave'. Recommended to click 'Cancel ' here and reboot PC after making 'pupsave'.
But you can load extra SFS files for temporary use(may disappear at the next boo t). Click 'OK' if you want to continue.
find: `/initrd/mnt/dev_ro2\n/mnt/sdb1': No such file or directory
/usr/sbin/sfs_load: line 762: 24578 Terminated $GTKDIALOG -p DIALOG -c >/dev/null
/usr/sbin/sfs_load: line 265: 26728 Terminated $GTKDIALOG -p DIALOG -c >/dev/null
cp: cannot create regular file `/initrd/mnt/dev_ro2\n/mnt/sdb1': No such file or directory
sfs_load: fatal:Failed to copy '/mnt/sda8/JUMP-8/dpup_devx_007.sfs' to '/initrd/ mnt/dev_ro2 /mnt/sdb1'.
/usr/sbin/sfs_load: line 265: 26890 Terminated $GTKDIALOG -p DIALOG -c >/dev/null
find: `/initrd/mnt/dev_ro2\n/mnt/sdb1': No such file or directory
/usr/sbin/sfs_load: line 762: 27355 Terminated $GTKDIALOG -p DIALOG -c >/dev/null
/usr/sbin/sfs_load: line 265: 27899 Terminated $GTKDIALOG -p DIALOG -c >/dev/null
gtk-update-icon-cache: Cache file created successfully.
Generating /root/.icewm/menu...
Generating /root/.jwmrc...
/usr/sbin/sfs_load: line 357: 27998 Terminated $GTKDIALOG -p DIALOG -c >/dev/null
/etc/profile.d/pkgconfig: line 1: 28141 Terminated $GTKDIALOG -p DI ALOG -c >/dev/null
sfs_load: Running script background...
/usr/sbin/sfs_load: line 1024: 29212 Terminated $GTKDIALOG -p DIALO G -c >$TMPFILE
sfs_load: --stop
find: `/initrd/mnt/dev_ro2\n/mnt/sdb1': No such file or directory
/usr/sbin/sfs_load: line 762: 29659 Terminated $GTKDIALOG -p DIALOG -c >/dev/null
sfs_load: --stop
# sfs_load --version
bash: sfs_loa--version: command not found
# sfs_load --version
sfs_load 1.9.6
#
Have not investigated the above further, but while running a Puppy with unionfs.ko instead of aufs.ko
I figured to mount devx with that line :
Not sure about the =rw option for now, might be as well =ro .
Have read some pages on the net :
http://puppylinux.dreamhosters.com/unionFS/usage.txt
http://www.lug-kr.de/wiki/UnionFS
http://www.a110wiki.de/wiki/UnionFS
http://pl.digipedia.org/man/doc/view/unionfs.4/
(http://www.gsp.com/cgi-bin/man.cgi?topic=mount_unionfs)
I figured to mount devx with that line :
Code: Select all
mount-FULL -t unionfs -o remount,add=:${MNTPNT}=rw none /
Have read some pages on the net :
http://puppylinux.dreamhosters.com/unionFS/usage.txt
http://www.lug-kr.de/wiki/UnionFS
http://www.a110wiki.de/wiki/UnionFS
http://pl.digipedia.org/man/doc/view/unionfs.4/
(http://www.gsp.com/cgi-bin/man.cgi?topic=mount_unionfs)
sfs-load in precise 5.5
Perhaps I posted in a wrong place so I give a link here:
http://www.murga-linux.com/puppy/viewtopic.php?t=86068
I use frugal precise 5.5 with light-encrypted precisesave.
http://www.murga-linux.com/puppy/viewtopic.php?t=86068
I use frugal precise 5.5 with light-encrypted precisesave.
losetup with Util-linux 2.23
Thanks for the information simargl.simargl wrote:Changes in Util-linux 2.23
http://permalink.gmane.org/gmane.linux. ... ux-ng/7503
The losetup in usual puppy is a link to the busybox. So, it depends on the busybox.
Anyway, I installed util-linux 2.23 on Presice Puppy 5.5 for testing.
# losetup --version
losetup from util-linux 2.23
Now i am testing...
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]
sfs_load-1.9.7
Download: http://shino.pos.to/linux/puppy/
Updatet: sfs_load-1.9.7.pet (2013-05-14)
#14 May 2012 v1.9.7: fix was faild more than 7 after reboot (thanks to nonki3476), fix was failed cleanwhite on flash, support util-linux-2.23 (thanks to simargl) , debugging log
Updatet: sfs_load-1.9.7.pet (2013-05-14)
#14 May 2012 v1.9.7: fix was faild more than 7 after reboot (thanks to nonki3476), fix was failed cleanwhite on flash, support util-linux-2.23 (thanks to simargl) , debugging log
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]