-
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

HP PROLIANT TPS-W003 MICRO- SERVER TOWER Gen 8, 16G RAM
$195.00

HP ProLiant MicroServer Gen8 G1610T @2.3 GHz, 16GB, 712317-001 NO HDD/OS
$199.00

Supermicro 1U Network Server Appliance 16GB RAM 800GB SSD 6 LAN Ports Powers On
$450.00

Supermicro 505-2 Server
$280.00

Supermicro E200-8D Mini Server Xeon D-1528 6-Core 64GB ECC 1TB SSD 2x10GbE IPMI
$525.00

HP PROLIANT MICROSERVER GEN8 E3-1220LV2 @ 2.30GHz, 8GB RAM, NO HDD/OS
$164.97

SUPERMICRO CSE-836 XEON E5-1620 v3 @ 3.50GHz, 32GB RAM, NO HDD/OS
$299.99

Supermicro 1027GR-TSF 1U Rackmount Server 2x Xeon 2.3GHz 128GB DDR3
$219.99

Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset
$129.99

Supermicro CSE-216 No CPU No Ram No HDD Tested & Reset
$149.99