Results 1 to 7 of 7

Thread: Knoppix 3.3 on HDD and 2.6.1 kernel

  1. #1
    Junior Member registered user
    Join Date
    Jan 2004
    Posts
    11

    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

  2. #2
    Junior Member
    Join Date
    Feb 2004
    Posts
    3

    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.

  3. #3
    Junior Member
    Join Date
    Sep 2003
    Posts
    6
    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.

  4. #4
    Junior Member registered user
    Join Date
    Jan 2004
    Posts
    18
    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.

  5. #5
    Junior Member registered user
    Join Date
    Jan 2004
    Posts
    11
    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

  6. #6
    Junior Member registered user
    Join Date
    Jan 2004
    Posts
    18
    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?

  7. #7
    Junior Member registered user
    Join Date
    Jan 2004
    Posts
    11
    Quote 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

  1. How do I install kernel source and config/compile kernel??
    By cfish in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 04-25-2005, 07:31 AM
  2. Errors and kernel panic during boot (2.6 Kernel)
    By gitarzysta in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 06-03-2004, 08:36 PM
  3. Kernel Source 2.4.23-xfs and Kernel install for wlan-ng
    By Nils_ in forum Hardware & Booting
    Replies: 0
    Last Post: 03-08-2004, 10:50 AM
  4. Kernel compile problem - first Knoppix kernel compile
    By Nigel_Tufnel in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 10-20-2003, 01:09 PM
  5. Modified kernel results in Kernel Panic - No init found.
    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
  •  


Dell Intel X710-DA2 2x 10Gb SFP+ PCIe Adapter FH Y5M7N picture

Dell Intel X710-DA2 2x 10Gb SFP+ PCIe Adapter FH Y5M7N

$80.99



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$12.90



Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3 picture

Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3

$21.50



Lot of 2 32GB DDR4 2666 PC4-21300 SODIMM RAM Modules Mixed Brand picture

Lot of 2 32GB DDR4 2666 PC4-21300 SODIMM RAM Modules Mixed Brand

$60.00



Crucial 16GB (2x 8GB) Kit DDR3L 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM picture

Crucial 16GB (2x 8GB) Kit DDR3L 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM

$23.33



8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A picture

8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A

$12.00



HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM picture

HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM

$14.85



Klevv 32gb (2x16gb) DDR4 Ram Kit picture

Klevv 32gb (2x16gb) DDR4 Ram Kit

$90.00



HyperX FURY DDR4 8GB 16GB 32GB 3200MHz PC4-25600 Desktop RAM Memory DIMM 288pins picture

HyperX FURY DDR4 8GB 16GB 32GB 3200MHz PC4-25600 Desktop RAM Memory DIMM 288pins

$72.93