Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (6) </ 1 2 3 4 5 [6] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: DSL 4 kernel headers ?, Compiling modules< Next Oldest | Next Newest >
pme127 Offline





Group: Members
Posts: 5
Joined: Sep. 2006
Posted: Aug. 31 2008,18:17 QUOTE

Thank you

I have downloaded compile-3.3.5.uci and kernelsource-2.4.31.dsl and read the info files.

How do you do an md5 checksum in Linux?

Juanito, if the $ entries, are straight coppy in at the xterm prompt, I can just about follow as fare as make install as root, would that be sudo make install ? Make install what?

But I,m lost after that. How much of this is aplicable to VB Linux Guest Additions.

I am just beginning bash, Mark G Sobell's book.
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Aug. 31 2008,18:45 QUOTE

To calculate a md5sum:

md5sum myfile

Yes, one way of make install as root would be "sudo make install". Others would be starting a root shell from the menu, cd to the compiling directory, and then just "make install", and many other ways.

Quote
Make install what?
The make & make install commands read the file called Makefile in the current directory, if you try to execute either in a random dir they will do nothing.


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Aug. 31 2008,22:21 QUOTE

This is really getting off-topic, but I'll reply here.  Should you need more help, it'd might be better to start a new thread.

Since DSL was already running on vbox (proprietary edition) as a guest, I took the liberty of seeing if the vbox guest additions would compile.

- booted a DSL 3.4.x frugal in vbox
- mydsl-load: compile-3.3.5.uci kernelsource*.dsl (2.4.26 seems to be included in compile-3.3.5.uci) XFree86.dsl (or xorg I guess)
- vbox host interface: devices > install guest additions
- in DSL, start a root shell
- link X to XFree86, i.e. `cd /usr/X11R6/bin; ln -sf XFree86 X ` (will be different for Xorg, you could also modify $PATH instead etc.)
- make the modules.* files writeable, wrote up something quick
Code Sample
libmoddir="/lib/modules/`uname -r `"
modfiles=`ls -1 $libmoddir/modules.* `
cd $libmoddir
for EACH in $modfiles; do
 rm -f $EACH
 cp -a /KNOPPIX/$EACH .
done

- mount the cd, i.e. `mount /mnt/cdrom/ `
- run the installer, i.e. `./mnt/cdrom/*.sh `
- wait and it should successfully build
- it says to add a command to ~/.xinitrc so you could use a text editor and add it somewhere in the beginning with & appended
- it also says to restart the guest, but do not do that... you could probably just restart X
- did not test any further (was still running xvesa)
Back to top
Profile PM 
pme127 Offline





Group: Members
Posts: 5
Joined: Sep. 2006
Posted: Sep. 02 2008,09:59 QUOTE

Thanks to all,
I got as far as 'cd $libmoddir' and error No file or folder. I'll give it a rest for now.

However, DSL in VirtualBox is also damnd fast and ideal for practicing commands, editors and shell programming, and can be cleanly restored in less than a minute.
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Sep. 02 2008,17:10 QUOTE

I missed the / prefix.  Edited post to reflect changes.

Again, this is getting very off topic.
Back to top
Profile PM 
29 replies since Dec. 04 2007,19:43 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (6) </ 1 2 3 4 5 [6] >/
reply to topic new topic new poll
Quick Reply: DSL 4 kernel headers ?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code