This is very helpful.
I managed to make a 2.6.7 remaster, using the existing minirt26, but get the "cannot find KNOPPIX filesystem. sorry" on booting 2.6.8.1, presumably because I am not using a compatible mkcompressed_fs. Suggestions?
As some of you might have noticed, someone made a cloop kernel patch against linux-2.6.7.
To apply the patch, download it, stand in the linux-2.6.7 source dir and use the patch program:
Then configure the kernel as usual (ie make menuconfig) and choose Device Drivers->Block Devices->Compressed Loopback device support as a module <M>. And then build the kernel as usual. I use make-kpkg clean ; make-kpkg --revision=1 kernel_image. That creates a kernel_image .deb that can be installed with dpkg. The good thing is that cloop.ko will also be included in that .deb file and there's no need to compile it separately.Code:# cd /usr/src/linux-2.6.7 # patch -p1 < ../cloop_v5.patch
For kernel linux-2.6.8.1 there is a small change in a .h file which changes 2 lines. The following patch works agains linux-2.6.8.1:
cloop_linux-2.6.8.1.patch.gz.
Apply it with patch:
If anymody is new to compiling the kernel, here is the whole procedure:Code:# cd /usr/src/linux-2.6.8.1 # zcat ../cloop_linux-2.6.8.1.patch.gz | patch -p1
- Download linux-2.6.8.1.tar.bz2 into /usr/src.
- Unpack it:
# cd /usr/src
# tar jxvf linux-2.6.8.1.tar.bz2- Download cloop_linux-2.6.8.1.patch.gz into /usr/src.
- Apply the patch:
# zcat cloop_linux-2.6.8.1.patch.gz | patch -p0- Configure the kernel:
# cd linux-2.6.8.1
# make menuconfig- Build the kernel:
# make-kpkg clean
# make-kpkg --revision=1 --append-to-version="-cloop" kernel_image
The append-to-version argument will append -cloop to the kernel name (will be visible when running uname -r).
Now the kernel-image2.6.8.1*.deb file is created and can be installed inside the chrooted knoppix environment with dpkg -i. Remember to also rebuild minirt26.gz with the new modules (from /lib/modules inside the chrooted environment).
--Albert
This is very helpful.
I managed to make a 2.6.7 remaster, using the existing minirt26, but get the "cannot find KNOPPIX filesystem. sorry" on booting 2.6.8.1, presumably because I am not using a compatible mkcompressed_fs. Suggestions?
I had some problems before it worked. The first problem was how I created minirt26. After some googling I figured out the commands. Look in this thread.
Then I had troubles with which options that must be checked when building the kernel. After copying the original configuration from /boot/config-2.6.7 on the original Knoppix CD to .config in my custom kernel source dir, then it was easier getting it right. Take a look at linuxrc. Some of the USB modules are renamed (uhci-hcd.ko and ohci-hcd.ko). And all modules should be named .o, not .ko in minirt26. But look in linuxrc for details. And run the script after you are done.
Thanks. That worked for me, too. Don't know why. Recreating the filesystem, rather than copying the old one seems to have done the trick.
Perhaps I picked up the right modules, too.
Now the next problem that I have is there is no permission to write to the /tmp directory and so kde won't start.
Thanks for the patch. Hopefully I'll be able to mount the KNOPPIX file now. Patch applied cleanly to 2.6.8.1.
I haven't had any problem with cloop on 2.6.7 (that I am aware of ...).
What problem does the patch address? Why do I need it?
Steve F, this patch is for those wishing to include a custom kernel in their remaster without compiling & installing cloop externally.
musashi, the patch may apply but certainly does not work for me. Changes are required for 2.6.8+ kernel revisions.
I've changed the versions in the patch to make it work with the 2.6.9 kernel.
You can download it here:
http://www.knopper.tk/linux/cloop_linux-2.6.9.patch.gz

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90
TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot
$288.19
MICRON MTA36ASF4G72PZ-2G6D1 32GB PC4-21300R DDR4-2666V RDIMM 2RX4 MEMORY DIMM
$139.99
Windows 11 Pro Install/Recovery/Repair USB Flash Drive
$35.00
USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$826.09
Samsung 32GB DDR4-2666V-2Rx4-RB2-12 RAM M393A4K40CB2-CTD6Q
$169.00
USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot
$3.75
MTC8C1084S1SC56BD1 Micron 16GB DDR5 1Rx8 PC5-5600B 5600Mhz SO-DIMM Memory
$149.99
1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot
$202.50
Microsoft Office 2021 Pro Plus USB for 1PC Windows 10 & 11
$62.55