DSL Tips and Tricks :: Dummy USB re-compile for USB boot



Quote (curaga @ May 21 2007,10:34)
Next time remember to give the kernel a different name, so you can boot the older one and keep it's modules (edit Makefile after "make menuconfig", the extraversion var is at the start.. Use like this:
Quote
extraversion="-kreon"
Now the kernel will be 2.4.26-kreon....)

I don't think supermount messes with module stuff, but it is safest to compile modules for the current kernel, then there won't be incompatibility or poor performance or errors....

Building cloop should be simple, but the dependencies are many.. It needs debhelper, which in turn needs many stuff.. It would be easier to compile in Knoppix 3.4 since it already has all the deps...

Well, I tried something different.
I made another DSL HD-Install and compiled the kernel with fresh install.
I patched it with supermount, bootsplash and with kernelsource patch. I loaded the source config just to avoid problems with modules.
Unfortunately during compilation there was an error with DRI and 3dfx driver in it (I had to remove 3dfx driver - too bad I though because I have voodoo3 card)
After looooong compilation and rebooting ....the cloop error has appeared.
But..I took the cloop.o module from LiveCD DSL and put it in lib/modules/..../block/
then
Code Sample

modprobe cloop
and update-modules.
Then reboot again.
And success :) It worked!
p.s I haven't checked yet if DRI is working with my libglide3
I can't remember how to check it (xorg.log shows some crazy stuff - dri is loaded, and after that - unloaded...)


original here.