-
Junior Member
registered user
Knoppix 3.3 on HDD and 2.6.1 kernel
Anyone managed to succesfully boot a 2.6.1 kernel on a 19-Nov-2003 3.3 Knoppix distro installed on HDD ???
I have tried almost everything but upon booting when the process gets to fsck this fails (tried with both ReiserFs and ext3).
Thank you for any reply.
Bob
-
I am running kernel 2.6.1 with Knoppix 3.3
Yep.
I'm new to Linux myself and am having other problems, so I'm not sure I could be a whole lot of help.
I compiled the 2.6.1 kernel. I would hope you're not using a binary distribution, if so, that may be your problem.
I did have a problem booting on my first compile. I originally set things up on ReiserFS, but I seemed to have left support for it out of my kernel. So, I booted into the old kernel and recompiled. Then it worked fine.
I also had some issues with lilo, but it sounds like you're way beyond that.
It might help if you posted the errors that you get from fsck.
FYI - I'm on an AMD/nForce2 system, if that matters to you.
-
You might try to update some of the packages. This article describes how to update to the 2.6 kernel. Step 3 describes a number of utilities you need to upgrade.
I used the article to upgrade and everything is working fine.
-
Junior Member
registered user
Did you use an initrd in lilo.conf or since you compiled support for ReiserFSinto the kernel, did you avoid that problem.?
I am trying to compile 2.4.24 and just cannot get it to work either way. Using an initrd causes a kernel bug during boot and trying it without an initrd causes an unuseable system that spews dozens of error message just as 'INIT knoppix 2.78....' appears in the boot sequence. My tale of woe is at
http://www.knoppix.net/forum/viewtopic.php?t=7814
Did you do it the Debian way with 'make-kpkg' or individual 'make' commands? What steps did you have to do? I have read numerous instructions and they are pretty consistent about how to do it the Debian way, but it just will not work for me when I reboot. I think it is related to handling modules which seem to have slight variations in each set of instructions.
I may just throw away 2.4.24 and take the leap to 2.6, but somehow I think I will get tripped up with the same issue as now. Besides, from the DRI-devel list there are far fewer problems using older kernels rather than new since this is what they are being developed against for the most part.
-
Junior Member
registered user
Dear Worm (not intended to be an insult 8->),
thank you for trying to help.
I have compiled the ReiserFS and ext3 into the kernel. I have compiled the 2.6.1-mm5 kernel as follows:
make xconfig
setup all proper values
make_kpkg clean
make-kpkg kernel_image modules_image
then did a dpkg -i of the resulting deb
checked the /etc/lilo.conf in order to be sure I had both the new and the old kernel in my boot list.
Now the questions:
1) Despite fsck failing the systems boots just fine !!! When fsck.reiserfs or fsck.ext3 say the filesystem is not ok I can give the root password and my filesystem looks perfectly aok !!!!!!
2) What is needed to build an initrd kernel ? How do I specify what modules go into the initrd ?
Thank you. Bob
-
Junior Member
registered user
use 'make-kpkg' --initrd kernel-image modules-image
You will then have an extra file copied to boot called initrd.blah-blah-blah. When you edit lilo.conf for the new kernel add the line
initrd=/boot/initrd.blah-blah-blah just like in the default entry there is
initrd=/boot/initrd.gz
To make sure the kernel is compatible with initrd, make sure initrd is checked Y when you use 'make xconfig'. It is at the bottom of the one xconfig window (I think the file system button) . It is the last button in one of the windows early on.
By the way, do you have an IDE or SCSI system?
-
Junior Member
registered user

Originally Posted by
Worm
use 'make-kpkg' --initrd kernel-image modules-image
....
By the way, do you have an IDE or SCSI system?
Thanks for the initrd tutorial
It is an IDE system (IBM Thinkpad T40).
May the force be with you. Bob
Similar Threads
-
By cfish in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 04-25-2005, 07:31 AM
-
By gitarzysta in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 06-03-2004, 08:36 PM
-
By Nils_ in forum Hardware & Booting
Replies: 0
Last Post: 03-08-2004, 10:50 AM
-
By Nigel_Tufnel in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 10-20-2003, 01:09 PM
-
By tji in forum Customising & Remastering
Replies: 4
Last Post: 06-12-2003, 06:40 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

Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray
$39.99

Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A
$64.00

DELL 2TB Enterprise HDD (7200RPM, 3.5", SATA III, 128MB Cache) HUS722T2TALA600
$49.95

Seagate ST500DM009 BarraCuda 500 GB 3.5" SATA III Desktop Hard Drive
$14.99

Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE
$68.99

HGST HUS724040ALA640 HDD 4TB SATA 6Gb/s 7.5K 3.5" 0F19459 512 b/s
$78.00

HGST HUA723030ALA640 3TB SATA 7200 RPM 3.5 in Enterprise HDD | 0F14044 (100%)
$45.00

HGST Ultrastar 7K4000 3TB 7200RPM SATA III 3.5" Hard Drive HDD HUS724030ALA640
$39.99

Seagate ST12000NM0127 12TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive
$318.99

(ST8000NM0045) SEAGATE ENTERPRISE 8TB 7200RPM 4Kn SATA 6Gb/s 3.5" HARD DRIVE
$199.99