Results 1 to 6 of 6

Thread: Help patching 2.6.5 for live CD

  1. #1
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    611

    Help patching 2.6.5 for live CD

    Have kernel and have made/saved config. Need to apply knoppix-kernel.patch.


    I did a

    patch -p0 knoppix-kernel.patch

    from /usr/src after re-linking linux to mmy new kernel source. It fails.

  2. #2
    Member registered user
    Join Date
    Dec 2003
    Location
    Brasil
    Posts
    33
    Put the patch in /usr/src/linux-2.6.5
    cd /usr/src/liinux
    patch -p1 < kernel-patch....

  3. #3
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    611
    I'll give it a go. It did spit out errors about specific lines and hunks failing to patch, so it seemed as though I was in the right spot with the right command.

    I had it wrong a couple of times too and it would just hang.


    other stuff about making a 2.6 kernel for live CD-

    Looks like I need to update cloop-utils to 2.01-1. Right now I have 2.00-1. This is odd because the modified Cebit version I'm using has a 2.4 and 2.6 kernel already and cloop 2.01-1 is the only version that's supposed to work with 2.6 kernels, yet I have the older version....

    Anyway, so I'll have to compile new cloop modules for both my kernels, and the correct spot for them seems to be /lib/modules/kernel_version/kernel/drivers/block or is it misc?

    I think all I need is cloop.o? Or do I also need the create_compressed_fs.o and extract_compressed_fs.o and if so where do they go? Looks like I need to do some grepping in my current kernel modules to find out...

    I know I also have to replace the cloop modules in my two miniroot's.
    And scsi drivers in them as well.

    Just getting it all sorted out- Once done, I'll need to clean up. I used source from kernel.org, which is going to be way to big to keep around once I have a working kernel image and modules. I'll look at my other kernels to see what I can reomve.

    Basically what in /usr/src/2.6.5 can I get rid of, and what is essential that I keep?


    I'm not exactly new to building kernels, but I don't do it frequently, and knoppix has all these special extra steps... Any help from the community would be appreciated.

  4. #4
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    611
    And one more topic-

    If I can successfully build and rebuild 2.6.5 and a corresponding 2.4 kernel with the enwer cloop utils, could I then tar it up and give it out to other remasterers for use in remasters of cebit?

    It seems the only files are the modified miniroot, the /usr/src/kernel_version, the
    3 files + softlink in /boot, and the modules in /lib/modules/kernel_version.

    I could provide instructions for replacing these files. Is it legal for me to pass around a kernel like that? And would it work for others who remaster from the same base, Knoppix 3.4 cebit?

  5. #5
    Member registered user
    Join Date
    Dec 2003
    Location
    Brasil
    Posts
    33
    I used squashfs in my remasters,not cloop i don t help you,sorry,but for cloop usage,enter the directory of cloop and use this command line dpkg build-package for compile and create the debian cloop package...

  6. #6
    Member registered user
    Join Date
    Jul 2003
    Posts
    48

    2.6.5

    arkaine23,
    you are almost correct. cloop.o is needed in miniroot.gz
    but cloop.ko is needed for modprobe ;when you compile cloop-2.01
    it automatically gives create_compressed_fs and extract_compressed_fs;copy them all (cloop.o,cloop.ko,cloop.mod.ko,create_compressed_f s,extract_compressed_fs)
    to /lib/modules/version_kernel/misc for people doing remastering.The cloop_src got from :
    linuxtag.developer_knopper_src, alekstreme_morphix,and
    linuxkid_peanut-9.6_ibibliosite .All are ok!
    Of course,cloop as well as insmod should be compiled for each kernel version
    To reduce the kernel_src size rmove in include,documentation...
    all /arch/...other than i386!
    hth

Similar Threads

  1. After patching all of knoppix....
    By koolaide187 in forum General Support
    Replies: 1
    Last Post: 12-21-2004, 10:55 AM
  2. Patching netowrk dirvers
    By pro-logic in forum General Support
    Replies: 2
    Last Post: 09-17-2003, 11:05 PM
  3. New patching program released!
    By nickh in forum Ideas
    Replies: 10
    Last Post: 08-20-2003, 10:52 PM
  4. Patching & hacking
    By ozfrog in forum Tips and Tricks
    Replies: 0
    Last Post: 07-12-2003, 09:31 AM
  5. rdesktop needs patching
    By sireasoning in forum General Support
    Replies: 1
    Last Post: 01-28-2003, 03:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p picture

Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p

$499.88



Dell PowerEdge R740xd Dual Intel Silver 4116 @2.1GHz 32GB HBA330 24Bay Server picture

Dell PowerEdge R740xd Dual Intel Silver 4116 @2.1GHz 32GB HBA330 24Bay Server

$525.00



Dell EMC VxRail E560F 10-SFF 2*Gold 6230R 2.1GHz No RAM HBA330 iDrac Ent Server picture

Dell EMC VxRail E560F 10-SFF 2*Gold 6230R 2.1GHz No RAM HBA330 iDrac Ent Server

$349.99



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Dell PowerEdge R640 1U 8SFF Server Barebones 2x Gold 5120 64GB H330 2x 750w picture

Dell PowerEdge R640 1U 8SFF Server Barebones 2x Gold 5120 64GB H330 2x 750w

$538.88



Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb

$374.99



Dell PowerEdge R730 8 Bay Server 64Gb 1x80Gb SSD 3x900Gb SAS 2x12c v4CPU Proxmox picture

Dell PowerEdge R730 8 Bay Server 64Gb 1x80Gb SSD 3x900Gb SAS 2x12c v4CPU Proxmox

$620.00



Dell PowerEdge R640 1U 8SFF Server Barebones 2x Gold 6150 64GB 2x 750w picture

Dell PowerEdge R640 1U 8SFF Server Barebones 2x Gold 6150 64GB 2x 750w

$358.88



Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter picture

Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter

$27.50



Dell PowerVault DL2200 2x Xeon E5620 24GB RAM H700 2x500GB SAS RAID1 picture

Dell PowerVault DL2200 2x Xeon E5620 24GB RAM H700 2x500GB SAS RAID1

$199.00