-
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

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX
$59.99

GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5
$189.99

Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery
$54.99

ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield
$84.99

ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio
$34.99

MSI B550M PRO-VDH Micro-ATX Motherboard - AMD AM4, Ryzen 5000/4000/3000 Ready, P
$71.49

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard
$59.99

MSI - B550M PRO-VDH WIFI (Socket AM4) AMD B550 MATX DDR4 Wi-Fi 6 Motherboard ...
$89.99

ASUS B85M-G / B85M-G PLUS LGA1150 DDR3 Micro ATX Motherboard HDMI Support 4thCPU
$45.00

ASRock IMB-X1314 LGA 1700 Intel W680 DDR4 Quad display Micro-ATX Motherboard
$351.99