Adding SFS at startup?

Using applications, configuring, problems
Message
Author
User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#21 Post by tasmod »

To quote Pizzagood to install a devxXXX.sfs :-


If it's a full-hd install, you download it wherever, then click it to mount it. Open a terminal inside and run cp -a * / to copy the contents into /. Then click it again to unmount it. Now you can delete it if you want.

You can also do the whole process from the commandline like this:
Code:

mount -o loop /path/to/devx_412.sfs /mnt/data
cp -a /mnt/data/* /
umount /mnt/data


Also to quote KC1DI for other sfs (not devx) :-


"All that is really needed is to copy the .sfs file to the mnt/home directory once there click on the .sfs file you should get a message that it's being mounted or something like that and a new directory window will open. copy the opt folder out of this directory by draging it to the usr/local folder. now when you boot it will be mounted automatically and you can drag the exicute file (in the case of Openoffice I drag the Staroffice.bin file to the desktop.) from urs/local/opt to the desktop so you can start the program from there. this proceedure works well with OpenOffice 3.0 and Acrobat reader. I'm sure it will with others also. There may be easier way to do it so others may chime in on that. But it has worked here for me. "


Worked a charm for me with Songbird.sfs

Rob

Cariboo
Posts: 106
Joined: Fri 19 Sep 2008, 20:21
Location: BC, Canada

#22 Post by Cariboo »

8-bit wrote: I remember seeing instructions on installing SFS files to a Full Install before, but I cannot remember them.
This is what worked for me installing OpenOffice.sfs and Picasa.sfs:
:

Code: Select all

modprobe squashfs
mount -o loop filename.sfs /mnt/data
cd /mnt/data
cp -a * /
cd /
umount /mnt/data

User avatar
Evil20071
Posts: 489
Joined: Sat 07 Jun 2008, 19:50
Location: Piedmont, SC,.United States
Contact:

#23 Post by Evil20071 »

basically what I did... only I just clicked it and manually dragged/merged the files...
[url=http://totalelectronics.us]TotalElectronics.us[/url]

User avatar
Mr. Maxwell
Posts: 215
Joined: Sat 30 Aug 2008, 23:56
Location: Nebraska, USA

#24 Post by Mr. Maxwell »

Thanks 8-bit the script worked. I just can't figure out what I did wrong. :?

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#25 Post by aragon »

hi tasmod,

KC1DI advices might work for some but not for all sfs-files. Why?

Well, the apps you mention are (in my opinion) special cases. The songbird-app is bundled by it's creators with all needed libs and a starter that is specially designed for that structure.

A 'normal' sfs will have the 'normal' puppy filestructure. So you might have a subdir

Code: Select all

/usr/lib/
which contains needed libraries. if you copy everything to

Code: Select all

/usr/local/
your libraries will be at

Code: Select all

/usr/local/usr/lib/
unless you edit

Code: Select all

/etc/ld.so.conf
puppy won't find your libraries and will not run your app.

Cheers
aragon

als123
Posts: 27
Joined: Thu 15 Jan 2009, 16:39

#26 Post by als123 »

Excellent information! Just a little add on...

for puppy 412 the line used should be cp -a --remove-destination ./* /mnt/home instead of cp -a --remove-destination ./* /mnt/hda2

sideburns
Posts: 56
Joined: Thu 28 Aug 2008, 01:32
Location: Freedonia
Contact:

Adding SFS at startup?

#27 Post by sideburns »

I just downloaded your utility and used it to install OpenOffice 3. Alas, it doesn't show up in my menu, even after restarting JWM. What else do I have to do?
Registered Linux user #470359

Post Reply