Page 1 of 3

How-To install Devx or any .SFS FULL HD STEP BY STEP

Posted: Tue 16 Oct 2007, 09:38
by DesertPuppy
This is for all the puppy people like me who use a full hd install for puppy
And want to have devx 3.01 so they can compile stuff.
This is for puppy 3.01 but should work for other versions.

I have used this pretty much every time I install a new version of puppy.

NOTE: This is how I do it and it works every time for me,
it should work for you also if you take it step by step.


EDIT: I have confirmed this on 4.01 alpha 6


STEP 1.
First make sure you have downloaded the devx_301.sfs

NOTE: I always download it to / - that is the top directory not /root but /

STEP 2.
Next I add a few lines to the end of /etc/rc.d/rc.modules file

Code: Select all

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



###END###
What I do is add the lines just before the ###END#### line, so now it
looks like this:

Code: Select all

#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###
save the file and reboot
NOTE: what this does is to
load squashfs support ever time you boot puppy
.


STEP 3:
(There is a screen shot at end of post)
Make a new dir in / I always call mine /data, it's just what I do:

so now in the / directory you should see you
devx_301.sfs and the directory data

open up a terminal window from the / directory and type the following:
(again a screen shot at end of post)

Code: Select all

#mount -o loop devx_301.sfs /data
what just happened is puppy used the data directory
to mount the .sfs file so that now you can access all the files in the sfs file.

STEP 4:
now type:

Code: Select all

cp -a -v --remove-destination /data/* / >devcopy.txt
NOTE: there is a space between --remove-destination and /data
Also there is a space between /data/* and /
And a space between / and >devcopy.txt




it will seem like puppy has paused for a few seconds
(depends on speed of computer) just wait , when you see the # sign
again you are good to go.

NOTE: The devcopy.txt file will show you everything
that got copied over and where it went to.


STEP 5:
now type:

Code: Select all

#umount /data
#sync
that will unmount the sfs file and if you
check /data will now be empty again.

STEP 6:

This next step may or may not be needed but I do it just to be sure:

type:

Code: Select all

#ldconfig

STEP 7:

to test to make sure it all worked type:

Code: Select all

#gcc
and you should get a response like:

Code: Select all

gcc: no input files
if you do then you are all set and you
can start using puppy to compile stuff.

Like I said I use this on my system all the time and it works great!
If you change anything like the directory name
it should still work but I showed you how
I did it and I know it works like this.


I hope This was clear and easy to follow
and will save you time and frustration
when using puppy from a full hd install.

Posted: Tue 16 Oct 2007, 17:03
by Firefox
Thankyou Desertpuppy.

This is just the thing people are looking for a simple way to get the devx file loaded -- I`ve spent hours trying to get the thing to work and given up in disgust the bootmanager is useless in this regard,

Very grateful and thanks again.

devx_301.sfs to a full hd installation.

Posted: Sun 28 Oct 2007, 17:11
by Mini
desertpuppy, I just tried to install devx_301.sfs and I got a failure when I did the code in step 3, I did reboot the computer after I edited /etc/rc.d/rc.modules and also after I created the new directory in the / I will try to include a picture which explain the failure.
When I ran the code in the term I got a failure.


Mini
in Parma, Ohio

Posted: Sun 28 Oct 2007, 18:09
by Firefox
Where did you get devx.sfs from in your picture?.
Try #mount -o loop devx_301.sfs /data
AFTER youve changed that name or downloaded the correct sfs file.

step 4

Posted: Sun 28 Oct 2007, 19:02
by Mini
I found the problem in step three , had to many spaces in the rc.modules file .
I tried to move on with the installation and in step 4 or 5 there is another failure. I will show a snapshot of what I keep getting in the term:

Posted: Mon 29 Oct 2007, 00:08
by Firefox
I don`t quite understand what your doing.
Your running puppy 301 on a full hd install yes?
In which case you need to download devx_301.sfs
from:-

http://distro.ibiblio.org/pub/linux/dis ... _modules-3

Place it in /
#mount -o loop devx_301.sfs /data
Then type
#cp -a -v --remove-destination /data/* / >devcopy.txt
Then type
#umount /data
#sync
#ldconfig

Test
#gcc
If you get gcc: no input files
Then your ok to compile.

Posted: Sat 03 Nov 2007, 21:40
by d3xt3r
Actually your procedure is a good reference for intoducing other SFS files to the puppy file system in a Full HD install. VERY useful. :)

Devx 301 install to full HD puppy

Posted: Sun 04 Nov 2007, 15:38
by tlcstat
Perfect!
thanks
tlcstat

Thank you for your SFS tutorial

Posted: Fri 16 Nov 2007, 07:38
by gorlewskik
I like my full install because it is faster loading than the frugal install. Now I can add developer tools to it. And load/remove other sfs files on demand.

Thanks.

Much appreciated

Posted: Mon 19 Nov 2007, 09:50
by friednoodle
It worked like a dream for me, first rate how-to.
Many thanks.

Posted: Tue 20 Nov 2007, 05:29
by ZAPPDOG
A very nice way to install that darn devx. I've fought with that one a few times.
This way worked real nice with no problems. I am saving a copy of those instructions for future reference.
Well done

Posted: Tue 27 Nov 2007, 12:46
by dolphin
i have follow all of the step by step
i still got problem same as Mini got there
could anybody help ?

Posted: Tue 27 Nov 2007, 12:48
by llol_slim
dolphin .. it may be worth checking the case, as linux is case sensitive..

Data and data are two different names. That was my mistake as I had the error as well

Posted: Tue 27 Nov 2007, 13:10
by muggins
The directory /data is just a temporary location to mount devx_301.sfs. You need to create it with:

mkdir /data

Also, with #mount -o loop devx_301.sfs /data , have you saved devx_301.sfs to /, do you have a directory /data, and if you enter pwd, the response should be /

Posted: Tue 27 Nov 2007, 13:14
by dolphin
i am very alert about case sensitive,
i know what am i doing

Posted: Tue 27 Nov 2007, 14:14
by llol_slim
dolphin wrote: i know what am i doing
sorry... didn't mean to patronise, I know what I am doing, but I still made the mistake.

Posted: Wed 28 Nov 2007, 15:14
by dolphin
still dont work with me
:(

Posted: Wed 28 Nov 2007, 16:52
by dolphin
yes yes
it work!!
thanks to all
:)

Posted: Wed 28 Nov 2007, 16:54
by dolphin
llol_slim wrote:
dolphin wrote: i know what am i doing
sorry... didn't mean to patronise, I know what I am doing, but I still made the mistake.
sorry for being emotional

Posted: Fri 30 Nov 2007, 00:52
by akhmad_santoso
I think if you use puppy 2.17 or later, there is a simpler way:
1. download the devx_xxx.sfs
2. place it anywhere you like
3. click on it and a rox window should appear which display the content of the sfs file.
4. open rox, go to slash window (that is: "/", not "root")
5. go to the window that display sfs content, crtl-a to select them all.
6. drag them all to the "/" window.

It works everytime for me too, less typing (but hard on my right wrist, :-)