The time now is Tue 24 Apr 2018, 19:31
All times are UTC - 4 |
Author |
Message |
danharris
Joined: 17 Oct 2007 Posts: 24
|
Posted: 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
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 8526 Location: Perth, Western Australia
|
Posted: 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
|
|
 |
kedit

Joined: 03 Jan 2013 Posts: 7 Location: Latvija
|
Posted: 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
Thank You!
|
Back to top
|
|
 |
kedit

Joined: 03 Jan 2013 Posts: 7 Location: Latvija
|
Posted: 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
|
Back to top
|
|
 |
watchdog
Joined: 28 Sep 2012 Posts: 1558 Location: Italy
|
Posted: 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:
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
|
|
 |
kedit

Joined: 03 Jan 2013 Posts: 7 Location: Latvija
|
Posted: Sat 12 Jan 2013, 16:41 Post subject:
|
|
Sound like a good solutions! I will check it! Thank You
|
Back to top
|
|
 |
|
|
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
|