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 Tue 29 Jul 2014, 11:11
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How to use .sfs files with full hd install
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [6 Posts]  
Author Message
danharris

Joined: 17 Oct 2007
Posts: 24

PostPosted: Wed 02 Jan 2008, 13:04    Post subject:  How to use .sfs files with full hd install
Subject description: mount -o loop
 

lots of confusion about this, lots of conflicting posts.

as far as i can tell..

if you want to run .sfs files on your full hd install, one must mount the .sfs then copy its contents to your regular linuxish install.

this was post written very step by step. our author wrote this pertaining to 3.01 release but it should work in most, if not all modern puppys
http://www.murga-linux.com/puppy/viewtopic.php?t=22701

get the end of /etc/rc.d/rc.modules file to look like this
Code:

#v2.13
#dougal suggested this:
[ ! -d /proc/acpi ] && modprobe apm

#needed to be able to mount squashfs on full hd install
modprobe squashfs
# end of update


###END###


reboot

make a new directory in "/", desertpuppy likes to use "/data" i like to use "/devx" you can use whatever you like.

then mount your .sfs (which should be in "/")
Code:
#mount -o loop devx_301.sfs /data


copy the newly mounted sfs file system to your drive
Code:
cp -a -v --remove-destination /data/* / >devcopy.txt


unmount and sync
Code:
#umount /data
#sync


if your installing a devx sfs try typing "gcc",
if it tells you bad command, you do not have devx
if it tells you no input files, you have installed devx and can compile.

ive been doing this with versions 214, 215, 217, 300, 301
mounting and installing .sfs files such as webp2p, web, lighthouse expansions, nop and open office, and all the devx's.

you may want to match up version #'s by renaming the file before you mount it.
you may want to read devcopy.txt and see what has been installed (this is the file you created when you ran you "cp" command above)
you may want to drop out of x and run a "fixmenus" command if you have installed things that have menu entries.
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Thu 03 Jan 2008, 19:47    Post subject:  

If you have a recent version of Puppy -- I don't recall exactly when this was introduced, maybe 3.00 -- all you have to do is click on an .sfs file and it will automatically mount. Clicking the .sfs file again unmounts it.
But of course squashfs.ko has to be loaded.

A couple of different guys developed two different ways to do this automounting of .sfs files -- you should be able to find their posts in this forum. I chose one of them for Puppy, but I seem to recall they were both very good implementations.

_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
kedit


Joined: 03 Jan 2013
Posts: 7
Location: Latvija

PostPosted: Fri 11 Jan 2013, 21:03    Post subject: Re: How to use .sfs files with full hd install
Subject description: mount -o loop
 

danharris wrote:

get the end of /etc/rc.d/rc.modules file to look like this


I can't find rc.modules on lucid-puppy 5.28.005!
So I can't follow to this HOW-TO!

Actually I am time less, just wanted to see how it works, and not make a lot time involving researches!

Anyway, will find the way out Wink

Thank You!
Back to top
View user's profile Send private message 
kedit


Joined: 03 Jan 2013
Posts: 7
Location: Latvija

PostPosted: Fri 11 Jan 2013, 23:00    Post subject:  

As I was too lasy to read all rc.d files trought and understand where to add suggested lines, I did it this way:

0. thougth that SFS files mounts automatically
1. clicked on SFS file, and got something new in /mnt directory
2. did cp -a -v --remove-destination /mnt/new_stuff/* / >decopy.txt
3. get response that file system is read only
4. mounted SFS manualy:
Code:
mount -o loop,rw -t squashfs data/lupu_devx_528-44.sfs /source

5. try again
Code:
cp -a -v  --remove-destination /source/* / >decopy.txt

6. sync
7. ldconfig
8. gcc
9. get rsponse: gcc: no input file
10. unmount /source

Now it's time to install something from sources and see does it really works!

I hope it will work Wink
Back to top
View user's profile Send private message 
watchdog

Joined: 28 Sep 2012
Posts: 507

PostPosted: Fri 11 Jan 2013, 23:21    Post subject:  

A way I should use to install a sfs file in a full install is to obtain its pet. In new puppies click on the sfs file. It will be mounted and its content shown. Select all. Copy in a DIR in your work-environment where you want. Open a terminal and change path to DIR. Type:

Code:
cd ..


Code:
dir2pet DIR


Follow step-by-step the creation of a pet of the DIR content. Rename DIR.pet as you want. Now you can install the same stuff of the sfs file as a pet. This is useful if you have full install. Someone could create a script "sfs2pet".

EDIT: found!

http://www.murga-linux.com/puppy/viewtopic.php?search_id=675754073&t=81316
Back to top
View user's profile Send private message 
kedit


Joined: 03 Jan 2013
Posts: 7
Location: Latvija

PostPosted: Sat 12 Jan 2013, 16:41    Post subject:  

Sound like a good solutions! I will check it! Thank You Wink
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [6 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
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.0606s ][ Queries: 12 (0.0045s) ][ GZIP on ]