Find the answer to your Linux question:
Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 21
Add a section something like this label=linux-2.6.10 image=/boot/linux-2.6.10 root=/dev/hda2 Replace the image and root to what they are on your system. Read the lilo.conf man page for more info....
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Linux Engineer
    Join Date
    Nov 2004
    Location
    home
    Posts
    796

    Add a section something like this

    label=linux-2.6.10
    image=/boot/linux-2.6.10
    root=/dev/hda2

    Replace the image and root to what they are on your system. Read the lilo.conf man page for more info.

  2. #12
    Jst
    Jst is offline
    Just Joined!
    Join Date
    Aug 2004
    Posts
    68
    Well, tnx for your help.. But my comp crashed again.. and this time I will start with the 5th time.. I already compiled the kernel.. But its saying:
    Code:
    Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,1)
    I'm using Debian with Lilo as a boatloader.

    Tnx
    Jst.

  3. #13
    Linux Guru Flatline's Avatar
    Join Date
    Feb 2005
    Posts
    2,204
    I think you need to point lilo to a new initrd.img for your new kernel...you could make one with:
    Code:
    cp /usr/src/linux-2.6.10/System.map /boot/System.map-2.6.10
    mkinitrd -o /boot/initrd-2.6.10 /lib/modules/2.6.10
    and then add a line to that kernel's section in lilo.conf
    Code:
    initrd=/boot/initrd.img-2.6.10
    There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

    - Jeremy S. Anderson

  4. #14
    Jst
    Jst is offline
    Just Joined!
    Join Date
    Aug 2004
    Posts
    68
    He can't find System.map in /usr/src/linux-2.6.10 but in my /boot/ dir there's already one. I made the initrd.img and I didnt need to add the line because I already had it in my lilo.conf.

    Still doesnt work.
    Tnx anyway
    Jst

  5. #15
    Jst
    Jst is offline
    Just Joined!
    Join Date
    Aug 2004
    Posts
    68
    Delete this one plz.

  6. #16
    Linux Guru Flatline's Avatar
    Join Date
    Feb 2005
    Posts
    2,204
    Did you compile your root filesystem into the kernel or did you compile it as a module? Sometimes compiling it as a module would cause this issue.
    There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

    - Jeremy S. Anderson

  7. #17
    Jst
    Jst is offline
    Just Joined!
    Join Date
    Aug 2004
    Posts
    68
    These are the steps I followed: http://www.falkotimme.com/howtos/deb...pile/index.php

    Jst.

  8. #18
    Jst
    Jst is offline
    Just Joined!
    Join Date
    Aug 2004
    Posts
    68
    Quote Originally Posted by Flatline
    Did you compile your root filesystem into the kernel or did you compile it as a module? Sometimes compiling it as a module would cause this issue.
    How do I know that? I made a full log with all the commands I used for trying to make the kernel work. I can post it here if you want...

    Jst.

  9. #19
    Jst
    Jst is offline
    Just Joined!
    Join Date
    Aug 2004
    Posts
    68
    Ill just post the log anyway.
    Code:
    Packages installed:
    kernel-package libncurses5-dev fakeroot module-init-tools initrd-tools procps
    
    Commands used:
    cd /usr/src/
    wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.10.tar.bz2
    tar -xjf linux-2.6.10.tar.bz2
    make menuconfig
    make-kpkg clean
    fakeroot make-kpkg --revision=custom.1.0 kernel_image
    dpkg -i kernel-image-2.6.10_custom.1.0_i386.deb
    ln -s /usr/src/linux-2.6.10 /usr/src/linux
    mkinitrd -o /boot/initrd-2.6.10 /lib/modules/2.6.10 
    
    Edited /etc/lilo.conf
    image=/boot/vmlinuz-2.6.10
    initrd=/boot/initrd.img-2.6.10
    I really need help.

    Tnx
    Jst.

  10. #20
    Jst
    Jst is offline
    Just Joined!
    Join Date
    Aug 2004
    Posts
    68
    Isnt there anyone who can help me , I really need help I still havent been able to solve my problem.

    Tnx in advance
    Jst.

Page 2 of 3 FirstFirst 1 2 3 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •