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 Fri 25 Jul 2014, 16:54
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
How to add .sfs file to Full Installation?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [12 Posts]  
Author Message
darkcity


Joined: 23 May 2010
Posts: 2424
Location: near here

PostPosted: Wed 16 Nov 2011, 11:13    Post subject:  How to add .sfs file to Full Installation?  

I've adapted the description to install devx sfs to a general sfs install - for full install.

See
http://puppylinux.org/wikka/HowtoAddSFStoFullInstall
Is this description correct?

Adapted from
http://puppylinux.com/development/compileapps.htm
Quote:
Full hard drive installation
This is a conventional Linux installation.
Currently, installing the "devx" file in a full hard drive installation (as opposed to a "frugal" installation) is slightly more complicated, and you can't undo it. It involves some steps....
1. Click on the devx_xxx.sfs in a ROX-Filer window to mount it.
2. Open a terminal in the mounted directory.
3. # cp -a --remove-destination ./* /mnt/hda2/
4. # sync
5. Close the terminal.
6. Click on the devx_xxx.sfs file to unmount it
Note, the '--remove-destination' option is essential. If you only use '-f' to force overwrite, it will follow (dereference) a symlink, that can cause unexpected overwrites.

_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send private message Visit poster's website 
Karl Godt


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

PostPosted: Wed 16 Nov 2011, 11:55    Post subject:  

I think that this is correct .

I must say that had split ed experiences with " cp -r -f " :
some succeeded , while others truncated the /bin/busybox binary down to a non-usable size .
ash was not working anymore , booting had been able with " init=/bin/bash " kernel parameter .

I have used " cp -a -r " since then , without apparent problems so far .
BUT " -a " seems to implement the " -R|-r " option automatically .

Will test " cp -a --remove-destination " if i get a new HD .
Back to top
View user's profile Send private message Visit poster's website 
shinobar


Joined: 28 May 2009
Posts: 2588
Location: Japan

PostPosted: Wed 16 Nov 2011, 22:08    Post subject: sfs_load  

You can use sfs_load. It makes a pseudo-PET so that you can uninstall it.
http://www.murga-linux.com/puppy/viewtopic.php?t=64354

But the SFS files in general are made and tested for frugal installs. They do not always work as expected with full installs.

_________________
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 poster's website 
darkcity


Joined: 23 May 2010
Posts: 2424
Location: near here

PostPosted: Thu 17 Nov 2011, 06:28    Post subject:  

Thanks for the feedback.

@Karl, seem the -f option causes a problem then.

@Shinobar

I hadn't realised SFSLoad could be used on Full Embarassed .

I realise SFS are made for Frugal. However, having a standard way to install SFS on full reduces the differences between Full/Frugal and hopefully reduces some confusion. Devx SFS is a standard way to add compiling feature to puppy, so it is good that it can be used on Full. Twisted Evil

_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send private message Visit poster's website 
bigpup


Joined: 11 Oct 2009
Posts: 4984
Location: Charleston S.C. USA

PostPosted: Thu 17 Nov 2011, 06:37    Post subject:  

Seems I remember left clicking on an sfs file and it would install like a pet, in a full install of Puppy.
_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
darkcity


Joined: 23 May 2010
Posts: 2424
Location: near here

PostPosted: Fri 17 Aug 2012, 18:34    Post subject:  

bigpup wrote:
Seems I remember left clicking on an sfs file and it would install like a pet, in a full install of Puppy.


Can you or anyone confirm this? if so will add to wiki

Cool

_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send private message Visit poster's website 
bigpup


Joined: 11 Oct 2009
Posts: 4984
Location: Charleston S.C. USA

PostPosted: Fri 17 Aug 2012, 23:45    Post subject:  

darkcity wrote:
bigpup wrote:
Seems I remember left clicking on an sfs file and it would install like a pet, in a full install of Puppy.


Can you or anyone confirm this? if so will add to wiki
Cool

In Lucid 528.005 full install, using Quickpet, it works.
In Quickpet sfs get.
It will download the sfs file and make it into a pet file. You then get the option to install like a normal pet package.
One click on listed sfs file and it works just like download and install of a pet package. The pet package is retained in /temp directory.

Seems to be using this program.
sfs graber.jpg
 Description   
 Filesize   14.83 KB
 Viewed   652 Time(s)

sfs graber.jpg


_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
darkcity


Joined: 23 May 2010
Posts: 2424
Location: near here

PostPosted: Sat 18 Aug 2012, 07:34    Post subject:  

updated, as I understand it, any who has full install please make corrections.
http://puppylinux.org/wikka/HowtoAddSFStoFullInstall

_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send private message Visit poster's website 
shinobar


Joined: 28 May 2009
Posts: 2588
Location: Japan

PostPosted: Sat 18 Aug 2012, 16:34    Post subject: conflict of the files  

An importance on how to add .sfs file to Full Installation is how to deal with the conflict of the files already exist.

The way Barry describes always overwrites the files. It may be OK, but may be danger.
The SFS_load skips writing files already exist. It may work well, but may not work.

_________________
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 poster's website 
darkcity


Joined: 23 May 2010
Posts: 2424
Location: near here

PostPosted: Sat 18 Aug 2012, 19:39    Post subject:  

Are the two approaches good in different situations. Normally you would what the file your installing to be used, isn't it?
_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send private message Visit poster's website 
Karl Godt


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

PostPosted: Sat 18 Aug 2012, 21:43    Post subject:  

darkcity wrote:
updated, as I understand it, any who has full install please make corrections.
http://puppylinux.org/wikka/HowtoAddSFStoFullInstall


Seems allright .

Busybox has clear and strings command as symlink in the main .sfs and the devx.sfs clear binary i think from ncurses package and the strings binary from gcc -or- binutils package . Both would while deferencing following symlinks overwrite the important busybox binary , replacing /bin/busybox with the clear or strings command but naming them "/bin/busybox" .

Why the cp command from the gnu coreutils package handles this so by default is a riddle to me .

The cp binary from coreutils 6.x times have improved as it seems , version 7.x seems to have been added the -n option for "no overwrite" . Coreutils 6.x as of Wary/Racy still have to be invoked with the -i parameter for "initeractive" in the cli to control overwrites if "--remove destination" is not given .

*Man, i want to copy, not to remove !*

In my opinion a "--dereference-symlinks" option would be more logical than a "--remove-destination" .
Back to top
View user's profile Send private message Visit poster's website 
darkcity


Joined: 23 May 2010
Posts: 2424
Location: near here

PostPosted: Sun 19 Aug 2012, 10:52    Post subject:  

I'm not 100% sure how symlinks get de-referenced when loading (and unloading) SFS?
_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [12 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
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.0710s ][ Queries: 13 (0.0043s) ][ GZIP on ]