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
  •  


Vintage Compaq SLT 386S/20 Laptop Powers Up picture

Vintage Compaq SLT 386S/20 Laptop Powers Up

$39.00



Vintage Compaq PS2 Beige M-S34 337416-001 Computer Mouse picture

Vintage Compaq PS2 Beige M-S34 337416-001 Computer Mouse

$8.90



IBM 8 inch Floppy Disk Holder Vintage picture

IBM 8 inch Floppy Disk Holder Vintage

$29.00



Black 8088 4.77MHZ 640KB Vintage Computer DOS Win Ver 3.0  Serial Parallel Port picture

Black 8088 4.77MHZ 640KB Vintage Computer DOS Win Ver 3.0 Serial Parallel Port

$249.99



Vintage Compaq 141649-004 2 Button PS/2 Gray Mouse M-S34 - FAST SHIPPING - NEW picture

Vintage Compaq 141649-004 2 Button PS/2 Gray Mouse M-S34 - FAST SHIPPING - NEW

$8.99



Vintage Y2K iMac 17” EMPTY BOX ONLY and Original Styrofoam - NO iMac Included picture

Vintage Y2K iMac 17” EMPTY BOX ONLY and Original Styrofoam - NO iMac Included

$200.00



NEW Manufacture OLD STYLE Oval 3 Prong Power Cord HP style 125V 7A 875W Vintage picture

NEW Manufacture OLD STYLE Oval 3 Prong Power Cord HP style 125V 7A 875W Vintage

$39.95



Vintage 1996 Now Up to Date & Contact Software for Apple Macintosh (v3.6.5) picture

Vintage 1996 Now Up to Date & Contact Software for Apple Macintosh (v3.6.5)

$21.00



*  SALE * VINTAGE ECS XCEL 2000 SIS5595 SLOT 1 ATX MOTHERBOARD SOUND VGA MBMX39 picture

* SALE * VINTAGE ECS XCEL 2000 SIS5595 SLOT 1 ATX MOTHERBOARD SOUND VGA MBMX39

$68.95



Vintage IBM PC Convertible Serial/Parallel Adapter New Old Stock READ picture

Vintage IBM PC Convertible Serial/Parallel Adapter New Old Stock READ

$174.99