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.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.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)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.I missed the / prefix. Edited post to reflect changes.
Again, this is getting very off topic.Next Page...
original here.