Results 1 to 7 of 7

Thread: Error upgrading kernel

  1. #1
    Just burned his ISO
    Join Date
    Jul 2007
    Posts
    7

    Default Error upgrading kernel

    hey

    I have a problem with upgrading my kernel to linux-2.6.25.10.
    I use this tutorial hxxp://forums.remote-exploit.org/showpost.php?p=79341&postcount=1

    When I try to boot I receive the error:
    unable to mount root FS....
    cannot open root device"811" or unknown-block (8,17)

    I'll give a little background of my installation.
    I installed backtrack 3 on my USB (sdb) with partition for BT3/boot (sdb1) and the changes (sdb2).

    Disk /dev/sda: 250.0 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 1 1274 10233373+ 12 Compaq diagnostics
    /dev/sda2 * 1275 15855 117116928 6 FAT16
    /dev/sda3 15855 29978 113446912 7 HPFS/NTFS
    /dev/sda4 29978 30402 3399680 12 Compaq diagnostics

    Disk /dev/sdb: 2029 MB, 2029518848 bytes
    255 heads, 63 sectors/track, 246 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sdb1 * 1 102 819283+ b W95 FAT32
    /dev/sdb2 103 246 1156680 83 Linux

    I think my big problem is that I dont know what I have to fill in lilo.conf
    This is what I use.
    I also tried root=/dev/sdb2 and /dev/sdb

    # LILO configuration file
    # generated by 'liloconfig'
    #
    # Start LILO global section
    lba32 # Allow booting past 1024th cylinder with a recent BIOS
    boot = /dev/sdb
    #message = /boot/boot_message.txt
    prompt
    timeout = 1200
    # Override dangerous defaults that rewrite the partition table:
    change-rules
    reset
    # VESA framebuffer console @ 1024x768x256
    vga = 773

    # Linux bootable partition config begins
    image = /boot/vmlinuz
    root = /dev/sdb1
    label = Linux
    read-only
    # Linux bootable partition config ends

  2. #2
    Just burned his ISO
    Join Date
    Jul 2007
    Posts
    7

    Default

    is there another way to boot it without lilo?

    I installed BT3 on my usb and when I boot I don't need to choose an option from lilo.
    So why, when I upgrade the kernel, do I have to use lilo?
    Cant it boot without it like before, just the option (pcchanges,kde,.....)?

  3. #3
    Junior Member imported_spudgunman's Avatar
    Join Date
    Feb 2007
    Posts
    78

    Default

    put the DVD/CD back in and boot off it as a recovery OS and then figure out your issue and re-run lilo.


    however if you get stuck here, why on earth are you upgrading, it will likely cause other issues for you. why not just use it as is?

  4. #4
    Just burned his ISO
    Join Date
    Jul 2007
    Posts
    7

    Default

    i wish to upgrade for my wireless card (injection), it need kernel 2.6.24/25

  5. #5
    Developer
    Join Date
    Mar 2007
    Posts
    6,126

    Default

    Ok a few observations.....

    1. I do not know for sure however I do not think the kernel can be upgraded on a usb w/ changes install. I have never tried it however it wouldn't make sense because the kernel begins to boot before the changes partition is mounted. Keep in mind I'm guessing however I have done quite a bit of kernel building.

    2. I have upgraded the kernel in bt3 to 2.6.25.10 on my eeepc hdc install with no problems so I know it works.

    3. IMHO the thing to do would be to rebuild the kernel in a live cd enviorment and the recreate all the base .lzm's and replace the ones on the usb with the new ones. This sounds easy but keep in mind all the kernel patches the remote exploit team has used on the kernel and also keep in mind that all drivers will need to be reinstalled.

    4. Kernel building is the last thing someone new to Linux should be doing.

  6. #6
    Just burned his ISO
    Join Date
    Jul 2007
    Posts
    7

    Default

    Sorry, but im a really newbie in Linux and kernels..

    I found this on google /.mil.ufl.edu/~number9/doc/linux_kernel.pdf
    It is a step-by-step tutorial for rebuilding a kernel. Is this the way I should do?
    Because you say I have to boot from my livecd and rebuild it there, but my livecd is only read, not write i taught.

  7. #7
    Developer
    Join Date
    Mar 2007
    Posts
    6,126

    Default

    If you are a linux newbie this subject is going to be way over your head. You would need to recreate the .lzms of the directories after you installed the new kernel. Your best bet is to go out and spend some hard earned cash and get your self a compatible card.

Posting Permissions

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