Problems Compiling on Hard Disc

Using applications, configuring, problems
Post Reply
Message
Author
PINK30
Posts: 20
Joined: Thu 24 Feb 2011, 21:00

Problems Compiling on Hard Disc

#1 Post by PINK30 »

Greetings
Trying to compile a wireless driver for Slacko-5.3.1 http://murga-linux.com/puppy/viewtopic.php?t=74698

I run into a problem with the instructions http://puppylinux.com/hard-puppy.htm

Specificly the directives read:
Currently, installing the "devx" file in a Type 2 (full) hard drive installation is more complicated, and you can't undo it. It involves some steps....

2. Click on the devx_xxx.sfs in a ROX-Filer window to mount it.
3. Open a terminal in the mounted directory.
6. # cp -a --remove-destination ./* /mnt/hda2/
7. # sync
8. Close the terminal.
9. 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.
however the partition designation "hda2" [or hda1, sda1,sda2, hdc1, hdc2 etc ] all return:
"cp: target ' /mnt/hda2 [or whatever] is not a directory"

I am unable to work out what hda2 is supposed to be.


Also the kernels in the Sources http://bkhome.org/sources/ go from 2.6.35.7 straight to 2.6.39 however Slacko-5.3.1 is built upon 2.6.37.6. Is the 2.6.37.6 kernel missing for a reason and do I just use the Linux kernel from The Kernel Archive?

Thanks

User avatar
RetroTechGuy
Posts: 2947
Joined: Tue 15 Dec 2009, 17:20
Location: USA

Re: Problems Compiling on Hard Disc

#2 Post by RetroTechGuy »

PINK30 wrote:Greetings
Trying to compile a wireless driver for Slacko-5.3.1 http://murga-linux.com/puppy/viewtopic.php?t=74698

I run into a problem with the instructions http://puppylinux.com/hard-puppy.htm

Specificly the directives read:
Currently, installing the "devx" file in a Type 2 (full) hard drive installation is more complicated, and you can't undo it. It involves some steps....
Let's start here. Did you actually do a full install? Or did you do a frugal install (in which is actually very easy to mount the devx file).
[url=http://murga-linux.com/puppy/viewtopic.php?t=58615]Add swapfile[/url]
[url=http://wellminded.net63.net/]WellMinded Search[/url]
[url=http://puppylinux.us/psearch.html]PuppyLinux.US Search[/url]

PINK30
Posts: 20
Joined: Thu 24 Feb 2011, 21:00

Re: Problems Compiling on Hard Disc

#3 Post by PINK30 »

RetroTechGuy wrote:
Let's start here. Did you actually do a full install? Or did you do a frugal install (in which is actually very easy to mount the devx file).
Greetings RTG and thank you for your interest and help.

YES! I had set up a save file etc. In fact I got the driver built and working but as I have very limited WWW access.

I managed in a LIVE! session but I do need to build other packages PETs etc in a full install environment.

I still do not understand what the
" 6. # cp -a --remove-destination ./* /mnt/hda2/"
and "7. # sync"
are doing....


Thanks again




Thanks again.

User avatar
RetroTechGuy
Posts: 2947
Joined: Tue 15 Dec 2009, 17:20
Location: USA

Re: Problems Compiling on Hard Disc

#4 Post by RetroTechGuy »

PINK30 wrote:
RetroTechGuy wrote:
Let's start here. Did you actually do a full install? Or did you do a frugal install (in which is actually very easy to mount the devx file).
Greetings RTG and thank you for your interest and help.

YES! I had set up a save file etc. In fact I got the driver built and working but as I have very limited WWW access.

I managed in a LIVE! session but I do need to build other packages PETs etc in a full install environment.

I still do not understand what the
" 6. # cp -a --remove-destination ./* /mnt/hda2/"
and "7. # sync"
are doing....
A list of commands: http://ss64.com/bash/

"cp" is "copy":
http://linux.die.net/man/1/cp

"sync" is "synchronize data on disk with memory"
http://linux.die.net/man/8/sync

This last command "flushes" the data stored in RAM to the HDD (Linux runs in RAM much of the time)
[url=http://murga-linux.com/puppy/viewtopic.php?t=58615]Add swapfile[/url]
[url=http://wellminded.net63.net/]WellMinded Search[/url]
[url=http://puppylinux.us/psearch.html]PuppyLinux.US Search[/url]

Post Reply