-
Customising the kernel - who has the missing link
L.S.,
The boot.img file works as follows:
syslinux boots, starts the kernel, loads the miniroot filesystem and the linuxrc script. At the end of the linuxrc script the actual init proces /etc/init is run and the party begins.
This is what happens if I replace the kernel (and I have seen numerous post of people having the same problem). I recompile the kernel, put the kernel in boot.img and reboot from this image:
syslinux boot, starts the kernel, loads miniroot.gz but ****does**** not start linuxrc. Because the compressed imagefile is not mounted, /etc/init can not be loaded which results in a kernel panic.
The ash which is supposed to run the linuxrc script is compatible with this kernel (i did not change the kernel version, and if i give as an init script init=/static/ash, ash is loaded and works fine including the use of mount and umount). Often you hear people saying you have to recompile ash, I don't believe that is the case (though I might be wrong).
What does Klaus Knopper do what I don't? I also noticed a "diff" between the kernel in the boot.img and the one in the compressed image. Leading me to believe you indeed have to do something special to get the trick done. If so, what is the trick?
kind regards,
Robert
P.s. I have tried recompiling with
make-kpkg --initrd --revision=custom.1.0 kernel_image modules
make-kpkg --revision=custom.1.0 kernel_image
(and everything else I could think of)
I used the xfs kernel sources of Klaus Knopper, and checked that the knoppix patch was executed by comparing the patch with the sources line by line: they matched.
Similar Threads
-
By riscbroker in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 06-25-2005, 08:49 PM
-
By Kowood in forum Hardware & Booting
Replies: 3
Last Post: 05-07-2005, 08:15 PM
-
By BillS in forum Customising & Remastering
Replies: 0
Last Post: 12-20-2004, 05:04 PM
-
By Hayabusa in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 11-19-2003, 11:10 PM
-
By katsushiro in forum Hdd Install / Debian / Apt
Replies: 6
Last Post: 11-17-2003, 05:29 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
-
Forum Rules

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

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

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

Dell Poweredge R620 10x 2.5" bay with 256GB (16x16gb) DDR3, 2x E5-2690v2, H710
$349.99

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD
$378.93

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$409.99

Dell PowerEdge R640 8xSFF Server Barebone 2 x Heat Sink w / 2x 1100W PSU
$315.00

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD
$149.99

Dell Poweredge C4130 2x LGA2011-3 1U 4x GPU Rackmount Server CTO (NO CPU/NO RAM)
$299.95

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