Juanito
Group: Members
Posts: 1601
Joined: Sep. 2005 |
|
Posted: Nov. 23 2006,11:51 |
|
Hmm - I'm still struggling with this, but thanks for all the help so far.
I had a look in the minirt24.gz file and as you said, there doesn't seem to be anything in there that would be affected by the recompiled kernel.
I borrowed from meo's monster remastering post and did the following:
# mkdir /ramdisk/source # mkdir /ramdisk/newcd # mkdir /ramdisk/newcd/KNOPPIX # cp -Rp /KNOPPIX/* /ramdisk/source # cp -Rp /KNOPPIX/.bash_profile /ramdisk/source
[copy cpufreq modules, cpufreq modules compiled into the kernel (built-in.o cpufreq.o freq_table.o proc_intf.o userspace.o) & new system.map]
# cp /path/speedstep-centrino.o /ramdisk/source/lib/modules/2.4.26/kernel/arch/i386/kernel # mkdir /ramdisk/source/lib/modules/2.4.26/kernel/drivers/cpufreq # cp /path/cpufreq/* /ramdisk/source/lib/modules/2.4.26/kernel/drivers/cpufreq # cp /path/System.map-2.4.26 /ramdisk/source/boot
# mkisofs -R /ramdisk/source | create_compressed_fs - 65536 > ramdisk/newcd/KNOPPIX/KNOPPIX
After replacing the original KNOPPIX file on my USB stick with the KNOPPIX file created above, I rebooted - I didn't get any error messages during boot but...
"insmod speedstep-centrino" complained about missing symbols "insmod cpufreq" complained about not knowing which kernel version it was compiled for
...so I guess that's not the answer.
My syslinux.cfg file currently reads as follows:
DEFAULT linux24 APPEND ramdisk_size=100000 init=/etc/init lang=us vga=773 apm=off acpi=force initrd=minirt24.gz nomce noapic quiet frugal restore=sda1 toram syslog mydsl=sda1 BOOT_IMAGE=knoppix
How exactly should I modify it to point to the recompiled vmlinuz file?
Would it make sense to "un-pack" the vmlinuz file (how?) and replace/add to the contents of the KNOPPIX file with its contents?
Apart from creating the loadable modules and the "compiled-in" modules from the patched kernel source, the recompile process must create/modify some files which reference the new modules - would it make sense to replace/add to the contents of the KNOPPIX file with these files?
Where should I look for these files amongst the gazillion files that were added/modified during the recompile process? In a HD installation I presume these files are created from the patched kernel source and copied into the current installation which would not be the case in a USB stick installation
|