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 Sat 25 Oct 2014, 02:47
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
sfs_load-2.3 on-the-fly
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 16 of 20 Posts_count   Goto page: Previous 1, 2, 3, ..., 14, 15, 16, 17, 18, 19, 20 Next
Author Message
Terryphi


Joined: 02 Jul 2008
Posts: 763
Location: West Wales, Britain.

PostPosted: Thu 28 Feb 2013, 05:05    Post_subject:  

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.

_________________
Classic Opera 12.16 browser SFS package for Precise, Slacko, Racy, Wary, Lucid, Quirky, etc available here Smile
Back to top
View user's profile Send_private_message Visit_website 
don570


Joined: 10 Mar 2010
Posts: 3345
Location: Ontario

PostPosted: Thu 28 Feb 2013, 20:04    Post_subject:  

I tested on precise 5.4.90 and it worked perfectly right away.

___________________________________________
Back to top
View user's profile Send_private_message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Fri 01 Mar 2013, 00:20    Post_subject:  

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 Smile

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
Back to top
View user's profile Send_private_message 
sunburnt


Joined: 08 Jun 2005
Posts: 5037
Location: Arizona, U.S.A.

PostPosted: Tue 12 Mar 2013, 19:09    Post_subject:  

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

Edited_times_total
Back to top
View user's profile Send_private_message 
R-S-H

Joined: 18 Feb 2013
Posts: 490

PostPosted: Tue 12 Mar 2013, 19:26    Post_subject:  

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

or to unload
Code:
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

_________________
LazY Puppy Home
The new LazY Puppy Information Centre

Back to top
View user's profile Send_private_message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Wed 13 Mar 2013, 05:16    Post_subject:  

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

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send_private_message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3972
Location: Kiel,Germany

PostPosted: Wed 17 Apr 2013, 13:29    Post_subject:  

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:
# 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
#
Back to top
View user's profile Send_private_message Visit_website 
Karl Godt


Joined: 20 Jun 2010
Posts: 3972
Location: Kiel,Germany

PostPosted: Thu 09 May 2013, 08:52    Post_subject:  

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:
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)
Back to top
View user's profile Send_private_message Visit_website 
watchdog

Joined: 28 Sep 2012
Posts: 606

PostPosted: Thu 09 May 2013, 10:12    Post_subject: 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.
Back to top
View user's profile Send_private_message 
simargl

Joined: 11 Feb 2013
Posts: 572

PostPosted: Sun 12 May 2013, 04:59    Post_subject:  

.
Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
sunburnt


Joined: 08 Jun 2005
Posts: 5037
Location: Arizona, U.S.A.

PostPosted: Mon 13 May 2013, 00:59    Post_subject:  

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
Back to top
View user's profile Send_private_message 
simargl

Joined: 11 Feb 2013
Posts: 572

PostPosted: Mon 13 May 2013, 01:40    Post_subject:  

.
Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Mon 13 May 2013, 04:26    Post_subject: losetup with Util-linux 2.23  

simargl wrote:
Changes in Util-linux 2.23
http://permalink.gmane.org/gmane.linux.utilities.util-linux-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...

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send_private_message Visit_website 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Tue 14 May 2013, 21:05    Post_subject: 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

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send_private_message Visit_website 
simargl

Joined: 11 Feb 2013
Posts: 572

PostPosted: Wed 15 May 2013, 04:08    Post_subject:  

.
Edited_times_total
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 16 of 20 Posts_count   Goto page: Previous 1, 2, 3, ..., 14, 15, 16, 17, 18, 19, 20 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:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0999s ][ Queries: 13 (0.0098s) ][ GZIP on ]