-
Junior Member
registered user
custom kernel with make-kpkg
I had an idea that fb1280x1024 does not make much sense without the SUN12x22 compiled-in framebuffer font. They are beautiful... But... that support is not in the linux-2.4.21-xfs kernel. So... I set out to get it there. And... ran into trouble...
1. I chrooted to the knoppix source.
2. untarred the vanilla 2.4.21 kernel to /usr/src
3. copied .config from the -xfs dir and make menuconfig and added the font.
4. added the cmdline patch to setup.c
5. ran make-kpkg --revision 1 kernel_image and waited 1 hour.
6. dpkg -i /usr/src/kernel-image-2.4.21_1_i386.deb
and got an error: no fstab. That's right, there isn't.
Now it turns out: make-kpkg put everything in place, it just completed with an error. /boot has another system.map, config and vmlinuz (last one +23754 bigger than the orig.) The only change I made to the orig config is adding the framebuffer font.
Now the documents are not very clear on what is next: normall I run lilo. Now @System.map and @vmlinuz still point to the old ones.
Questions:
1. More people than me must have run into this eror with installing a new kernel_image?
2. copy the new vmlinuz over to the boot.img is that next?
3. Surely the @System.map and @vmlinuz must be updated?
4. How does he know which modules to get? There are now 2 dirs: 2.4.21 and 2.4.21-xfs
Thanks!
Hugo.
-
Junior Member
registered user
Something I did not explicitly specify: I am trying to do this booting from the CD, WITHOUT a HD install of Knoppix, having copied the CD to a HD partition only. I guess I could boot from another Debian system and chroot to the Knoppix source from there, but questions 2,3 and 4 still remain...
Hugo.
-
I got the same problem. Then I copy the fstab on the 'real' root to the 'source/KNOPPIX/etc' and re-run the dpkg -i. Another error message, "Could not find where the current root file system is mounted" Any suggestion?
Similar Threads
-
By ying-yang7 in forum Customising & Remastering
Replies: 1
Last Post: 09-19-2004, 09:35 AM
-
By lmsaga in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 04-27-2004, 12:47 AM
-
By I_need_help in forum General Support
Replies: 7
Last Post: 09-27-2003, 06:30 AM
-
By cYmen in forum Customising & Remastering
Replies: 0
Last Post: 07-14-2003, 10:17 AM
-
By teverettak in forum Customising & Remastering
Replies: 6
Last Post: 05-15-2003, 03:52 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
WD 2TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0020BBK-WESN
$49.99
Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5" Enterprise Hard Drive
$157.99
WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN
$174.99
Western Digital 4TB WD Purple Surveillance HDD, Internal Hard Drive - WD43PURZ
$96.99
HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601
$82.99
Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive
$29.99
HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD
$69.99
2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive
$26.85
WD 4TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0040BBK-WESN
$69.99
Seagate 12TB 7.2K SAS 12G 3.5" Hard Drive HDD ST12000NM004J WL
$85.00