-
Junior Member
registered user
boot from floppy failed with Custom Kernel
I boot the Knoppix CD to build a kernel with SUN22x12 fonts enabled.
Using these steps:
1. chroot to the Knoppix tree on disk.
2. Dnld the vanilla 2.4.21 kernel. Untar it and use the Knoppix .config file. Then with make menuconfig enable the SUN22x12 fonts.
3. Apply the knoppix patch to setup.c
4. Do NOT apply the xfs patch but DO apply the cramfs patch, i.e. copy the do_mounts.c module from a Debian 2.4.21 kernel source.
5. change /etc/kernel-img.conf to say do_bootfloppy + do_bootloader=no and do_initrd=yes
6. run make-kpkg --revision 1 --initrd
7. install the .deb it created. It will fail on an error that the initd image could not be created because there is no /etc/fstab. Which is true.
8. mount the knoppix boot.img and extract miniroot.gz from it, mount that and change the scsi modules in it to those from the newly installed kernel(but why would they be different? But they are!). Put that back and change vmlinuz in the boot image for the vmlinuz(that is bigger and that makes sense) just created. Copy the boot.img to a floppy.
9. Create the compressed Knoppix file
10. Boot from the created floppy: I get "Boot Failed: replace floppy.
He reads the vmlinuz file but hickups on getting the initrd=miniroot.gz file.
NOTE: I did exactly the same but DID apply the xfs patch and had success. The only problem was he said he could not find loop.o (block-major-7) and that was true also, so I decided to try it without the xfs patch and had this result.
Any experts out there that can shed light on this? Did I miss a step?
Thanks!
Hugo.
Similar Threads
-
By fabioxa in forum Customising & Remastering
Replies: 1
Last Post: 07-22-2004, 08:11 PM
-
By fabioxa in forum Customising & Remastering
Replies: 0
Last Post: 07-04-2004, 06:21 AM
-
By gatzke in forum Customising & Remastering
Replies: 2
Last Post: 09-09-2003, 04:09 AM
-
By timmoore47 in forum General Support
Replies: 6
Last Post: 06-21-2003, 08:52 PM
-
By mordor in forum Customising & Remastering
Replies: 2
Last Post: 03-28-2003, 07:47 PM
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-870 SLBJG 2.93GHZ LGA1156 4 CORE CPU PROCESSOR
$23.00

INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH
$179.99

(LOT OF 20) Intel Core i5-8400 CPU 2.80GHz Desktop Processor (SR3QT)
$700.00

AMD Ryzen 5 5500 Processor ( read Description)
$59.00

Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor
$114.99

Intel Core i7-9700 Octa-Core 3 GHz Desktop Processor LGA 1151
$79.99

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

INTEL CORE I9-10980XE PROCESSOR | 3.00GHZ | SRGSG
$299.99

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