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

How to do things, solutions, recipes, tutorials
Message
Author
User avatar
DesertPuppy
Posts: 34
Joined: Tue 08 Aug 2006, 20:58
Location: Mississippi

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

#1 Post 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.
Attachments
sc2.jpg
(64.42 KiB) Downloaded 9066 times
sc1.jpg
(60.09 KiB) Downloaded 8951 times
Last edited by DesertPuppy on Tue 02 Sep 2008, 03:41, edited 2 times in total.

Firefox
Posts: 172
Joined: Fri 03 Nov 2006, 12:38
Location: UK

#2 Post 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.

Mini
Posts: 3
Joined: Sun 28 Jan 2007, 12:01
Location: Parma, Ohio USA
Contact:

devx_301.sfs to a full hd installation.

#3 Post 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
Attachments
devx1.jpg
(114.52 KiB) Downloaded 6241 times

Firefox
Posts: 172
Joined: Fri 03 Nov 2006, 12:38
Location: UK

#4 Post 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.

Mini
Posts: 3
Joined: Sun 28 Jan 2007, 12:01
Location: Parma, Ohio USA
Contact:

step 4

#5 Post 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:
Attachments
devx3.jpg
(106.4 KiB) Downloaded 6005 times

Firefox
Posts: 172
Joined: Fri 03 Nov 2006, 12:38
Location: UK

#6 Post 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.

d3xt3r
Posts: 2
Joined: Sat 03 Nov 2007, 17:36
Location: Minnesota, USA
Contact:

#7 Post 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. :)

tlcstat
Posts: 87
Joined: Mon 29 Oct 2007, 00:56
Location: SW Virginia mountains

Devx 301 install to full HD puppy

#8 Post by tlcstat »

Perfect!
thanks
tlcstat

gorlewskik
Posts: 20
Joined: Mon 12 Nov 2007, 23:24
Location: Oregon, USA
Contact:

Thank you for your SFS tutorial

#9 Post 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.

friednoodle
Posts: 14
Joined: Mon 19 Nov 2007, 09:42

Much appreciated

#10 Post by friednoodle »

It worked like a dream for me, first rate how-to.
Many thanks.

User avatar
ZAPPDOG
Posts: 44
Joined: Fri 16 Feb 2007, 06:19
Location: CALGARY CANADA

#11 Post 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
PUPPY DINGO FULL INSTALL WITH EZPUP
P4 2.6 G
P4 2.0 G
P4 1.8 G
PUPPY RULES
[url]http://unclezapaudiozap.freeforums.org/index.php[/url]
[url]http://sadiesdogplace.webs.com/[/url]
[url]http://greenourplanet.webs.com/[/url]

dolphin
Posts: 17
Joined: Mon 26 Nov 2007, 16:08

#12 Post by dolphin »

i have follow all of the step by step
i still got problem same as Mini got there
could anybody help ?

llol_slim
Posts: 16
Joined: Tue 20 Nov 2007, 21:01

#13 Post 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

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#14 Post 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 /
Last edited by muggins on Tue 27 Nov 2007, 13:21, edited 1 time in total.

dolphin
Posts: 17
Joined: Mon 26 Nov 2007, 16:08

#15 Post by dolphin »

i am very alert about case sensitive,
i know what am i doing

llol_slim
Posts: 16
Joined: Tue 20 Nov 2007, 21:01

#16 Post 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.

dolphin
Posts: 17
Joined: Mon 26 Nov 2007, 16:08

#17 Post by dolphin »

still dont work with me
:(

dolphin
Posts: 17
Joined: Mon 26 Nov 2007, 16:08

#18 Post by dolphin »

yes yes
it work!!
thanks to all
:)

dolphin
Posts: 17
Joined: Mon 26 Nov 2007, 16:08

#19 Post 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

akhmad_santoso
Posts: 2
Joined: Fri 21 Sep 2007, 21:29

#20 Post 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, :-)

Post Reply