-
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

Intel Core i7-3770K 3.5 GHz Processor
$39.00

Intel Core i7-9700 3.0 GHz Octo-Core (SRG13) Processor
$79.00

Intel Core i5-11500 2.70 GHz LGA 1200 Desktop CPU Processor SRKNY
$94.99

OEM Dell Optiplex 3080 5080 7080 MFF Fan ONLY JV47V 0JV47V
$11.40

Intel 4th Gen Core i7-4790 SR1QF 3.60GHz (Turbo 4.00GHz) 8M 4-Core LGA-1150 CPU
$39.99

Intel Core i7-7700T 2.9GHz 8MB Socket LGA1151 Quad Core Processor SR339
$39.99

Intel Core i9-9900 | SRG18 | 3.10 GHz | 8 Cores | LOT OF 10
$1505.77

Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor
$69.99

LAST BATCH *Brand New-Sealed* AMD Ryzen 9 9950X3D2 Dual Ed. 4.3GHz 16Core AM5
$798.00

Corsair RM750e 750W Fully Modular 80 Plus Gold ATX 3.1 PSU Certified Refurbished
$44.99