Re: custom kernel
Thomas Pollet <[email protected]>
| Newsgroups | gmane.linux.debian.knoppix |
|---|---|
| Message-ID | <[email protected]> |
Richard wrote: >Hi >for the kernel take care about the cloop, try to have a small kernel ( >copy the .config around the knoppix ) . Did you use the boot.img whit >the knoppix ( with the miniroot.gz ) ? You can personnalize your >linuxrc in this miniroot in this he try to found the knoppix cdrom with >the cloop image >good luck >Sorry for my english i'm not very fruntly ;( >Richard > > >>I remastered my knoppix to get it boot with a different kernel. >>I made a new iso with the new bzImage(vmlinuz), the iso (burnt on cdrom) >>boots (knoppix prompt), my new kernel is loaded, >>but then my default slackware (hdd)installation is loaded, not the >>knoppix configuration from the cdrom. >> >>any suggestions on what i'm missing? i.e. why does knoppix loads a >>harddisk installation and not the cdrom installation >> >> > > > > i'll try to rephrase what i did for now: mkdir master/isolinux mount -o loop boot.img boot cp -rf boot/* master/isolinux cd master/isolinux ; mv syslinux.cfg isolinux.cfg --build 2.4.26-grsec kernel mv bzImage master/isolinux/vmlinuz du -h gives me 1.1M isolinux/vmlinuz (lots bigger then the 2.4.20 kernel i first had from knoppix-std) so i guess i need isolinux *note: i didn't bothered copying 2.4.26 modules cos i thought it since most modules are 'insmod -f'-ed, that wouldn't really matter, i gonna check with new modules later build the image: mkisofs -pad -l -r -J -v -V "Custom KNOPPIX" -b isolinux/isolinux.bin -c isolinux/boot.cat -hide-rr-moved -no-emul-boot -boot-load-size 4 -boot-info-table -o /mnt/hda1/knx/knoppix.iso /mnt/hda1/knx/master | |---> this gives me a new bootable cd image which boots 2.4.26 kernel, but then loads my old linux i started with the old knoppix .config for my new kernel. maybe i could try and rebuid cloop too, but gonna wait some more, maybe i get some interesting advice concerning kernel customization if you happen to find a flaw in what i've written here, please let me now, i'm kinda stuck and rebuilding everything takes like too long not to get bored with it ;) thanks, Thomas