Page 12 of 19

Posted: Wed 28 Nov 2012, 11:53
by Jasper
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..

Posted: Fri 30 Nov 2012, 20:08
by RSH
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:

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
#---------------
Then I did change the code at (above) line 1902 to:

Code: Select all

  if [ "$DoNoCopy" = "true" ]; then
  	PART="NOCOPY"
  else
  	choosepart $TOPART || finish
  fi
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

I load complete distros

Posted: Fri 01 Feb 2013, 16:40
by Pelo
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)

Posted: Sat 02 Feb 2013, 02:35
by vicmz
Spanish locale updated

Posted: Thu 28 Feb 2013, 00:19
by 01micko
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

Posted: Thu 28 Feb 2013, 09:05
by Terryphi
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.
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.

Posted: Fri 01 Mar 2013, 00:04
by don570
I tested on precise 5.4.90 and it worked perfectly right away.

___________________________________________

Posted: Fri 01 Mar 2013, 04:20
by nooby
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.

Posted: Tue 12 Mar 2013, 23:09
by sunburnt
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.
.

Posted: Tue 12 Mar 2013, 23:26
by R-S-H
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:

Code: Select all

sfs_load --cli --skip-fixmenus --quiet "$LP2BDL/$nogo_file"
or to unload

Code: Select all

sfs_load --unload --cli --skip-fixmenus --quiet "$LP2BDL/$nogo_file"
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

Posted: Wed 13 Mar 2013, 09:16
by nooby
Thanks for sharing that way to do sfs load.
I should test it ASAP but just now I am into other things.
I make a bookmark here so I can find it again. Thanks

Posted: Wed 17 Apr 2013, 17:29
by Karl Godt
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 ?)

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
#

Posted: Thu 09 May 2013, 12:52
by Karl Godt
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 :

Code: Select all

mount-FULL -t unionfs -o remount,add=:${MNTPNT}=rw none /
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)

sfs-load in precise 5.5

Posted: Thu 09 May 2013, 14:12
by watchdog
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.

Posted: Sun 12 May 2013, 08:59
by simargl
.

Posted: Mon 13 May 2013, 04:59
by sunburnt
simargl; Perhaps the branch is in use so it can`t be removed.

Try unmounting it and see if you get the usual error: Device or resource busy

Posted: Mon 13 May 2013, 05:40
by simargl
.

losetup with Util-linux 2.23

Posted: Mon 13 May 2013, 08:26
by shinobar
simargl wrote:Changes in Util-linux 2.23
http://permalink.gmane.org/gmane.linux. ... ux-ng/7503
Thanks for the information simargl.
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...

sfs_load-1.9.7

Posted: Wed 15 May 2013, 01:05
by shinobar
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

Posted: Wed 15 May 2013, 08:08
by simargl
.