Author |
Message |
darkcity

Joined: 23 May 2010 Posts: 2545 Location: near here
|
Posted: 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
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 4208 Location: Kiel,Germany
|
Posted: 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
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2664 Location: Japan
|
Posted: 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.
_________________ Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
|
Back to top
|
|
 |
darkcity

Joined: 23 May 2010 Posts: 2545 Location: near here
|
Posted: 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 .
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.
_________________ helping Wiki for help
|
Back to top
|
|
 |
bigpup

Joined: 11 Oct 2009 Posts: 10314 Location: Charleston S.C. USA
|
Posted: 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 
|
Back to top
|
|
 |
darkcity

Joined: 23 May 2010 Posts: 2545 Location: near here
|
Posted: 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
_________________ helping Wiki for help
|
Back to top
|
|
 |
bigpup

Joined: 11 Oct 2009 Posts: 10314 Location: Charleston S.C. USA
|
Posted: 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
 |
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.
Description |
|
Filesize |
14.83 KB |
Viewed |
1142 Time(s) |

|
_________________ 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 
|
Back to top
|
|
 |
darkcity

Joined: 23 May 2010 Posts: 2545 Location: near here
|
Posted: 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
|
Back to top
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2664 Location: Japan
|
Posted: 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.
_________________ Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
|
Back to top
|
|
 |
darkcity

Joined: 23 May 2010 Posts: 2545 Location: near here
|
Posted: 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
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 4208 Location: Kiel,Germany
|
Posted: Sat 18 Aug 2012, 21:43 Post subject:
|
|
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
|
|
 |
darkcity

Joined: 23 May 2010 Posts: 2545 Location: near here
|
Posted: 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
|
Back to top
|
|
 |
|