Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: BT4 Update to latest available Kernel (2.6.30.9) from Backtrack repository

  1. #1

    Default BT4 Update to latest available Kernel (2.6.30.9) from Backtrack repository

    hi,

    running in the usual issues with updating bt4 to latest kernel, here maybe some useful hints to get the work done.

    1. apt-get update && apt-get upgrade
    2. apt-get dist-upgrade
    3. apt-get install linux-image-2.6.30.9
    (you will get asked for new grub installation, create new one)
    edit /boot/grub/menu.lst
    (get rid of double entries, also add your corresponding vga console parameter and if you are using the splash, you have to run: fix-splash)
    4. reboot and choose in grub kernel 2.60.30.9
    3. cd /usr/src/ && tar xvf linux-source-2.6.30.tar.bz2
    (no bunzip needed, tar will recognize)
    4. cd linux-source-2.6.30.9 && zcat /proc/config.gz >.config
    5. make && make modules
    5. cd /usr/src && unlink linux && ln -s linux-source-2.6.30.9 linux
    6. create header files (not available through apt!)
    cd /usr/src/linux && make-kpkg kernel_headers
    7. cd /usr/src && dpkg -i linux-headers-2.6.30.9_2.6.30.9-10.00.Custom_i386.deb

    Addendum for broadcom wireless (b43):
    (firmware got deleted)
    1. dpkg -r b43-fwcutter
    2. apt-get install b43-fwcutter
    (will install all firmware again)

    Addendum for nvidia drivers:
    recompile through the original nvidia installer
    or use (seems this one is already compiled for 2.6.30.9)
    apt-get install nvidia-driver

    Addendum for vmware:
    recompile your vmware installation
    1. on the command line run: vmware
    2. you get asked for the Header Files
    Just use as Location:
    /usr/src/linux/include

  2. #2
    Just burned his ISO
    Join Date
    Dec 2009
    Posts
    9

    Arrow ...just one thing

    hi,
    nice and thx but:

    3. cd /usr/src/ && tar xvf linux-source-2.6.30.tar.bz2
    should be: cd /usr/src/ && tar -jxvf linux-source-2.6.30.tar.bz2

    regards

  3. #3

    Default

    hi,

    don't wanna sound like a smart a**, but you don't need
    the minus sign after tar, nor the -j option - try it ;-)

    ...as long you don't use a very old gnu tar version

  4. #4
    Just burned his ISO
    Join Date
    Dec 2009
    Posts
    9

    Post :d

    hi,
    yes, it is true. I grew up on aix and irx so - bad habits?
    sry ,
    regards

  5. #5
    Just burned his ISO
    Join Date
    Dec 2009
    Posts
    5

    Default

    Hi folks,

    first of all, thank you brwt2003 for the nice walkthrough.

    My problem is i got a small issue on point 2. with libssh2

    apt-get dist-upgrade
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    You might want to run `apt-get -f install' to correct these.
    The following packages have unmet dependencies:
    medusa: Depends: libssh2 but it is not installed
    E: Unmet dependencies. Try using -f.
    So what I did is "apt-get -f install" to correct that issue. But well, I got another error. Here you go:

    apt-get -f install
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Correcting dependencies... Done
    The following packages were automatically installed and are no longer required:
    pymacs python-psyco samdump2-menu python-mode pyrit milw0rm pyrex-mode
    libssh2-1 framework3-libs libncp pychecker
    Use 'apt-get autoremove' to remove them.
    The following extra packages will be installed:
    libssh2
    The following NEW packages will be installed:
    libssh2
    0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
    351 not fully installed or removed.
    Need to get 0B/309kB of archives.
    After this operation, 1847kB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    (Reading database ... 231697 files and directories currently installed.)
    Unpacking libssh2 (from .../libssh2_1.2.2-bt0_all.deb) ...
    dpkg: error processing /var/cache/apt/archives/libssh2_1.2.2-bt0_all.deb (--unpack):
    trying to overwrite `/usr/lib/libssh2.so.1', which is also in package libssh2-1
    Processing triggers for man-db ...
    Errors were encountered while processing:
    /var/cache/apt/archives/libssh2_1.2.2-bt0_all.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    The installation of Backtrack4 is new. I just installed it in my VMWare and I wanted to update the Kernel like its described here in this thread. Now I stuck, as you can see, on that libssh2 issue. It would be great if you guys can help me to fix that problem.

    Best regards

    Beetee

    Hi again,

    I found a solution to fix this problem with an advise from a friend.

    So for the guys of you who stuck at this too. Try this.

    1. sudo dpkg -i --force-overwrite /var/cache/apt/archives/libssh2_1.2.2-bt0_all.deb

    if samdub wont work too, do this

    2. sudo dpkg -i --force-overwrite /var/cache/apt/archives/samdump2_2.0.1-bt0_i386.deb

    If you got an issue with postgresq. I could bet it's because the cert is missing.

    check for certs:
    cd /etc/ssl/certs
    ls -ld /etc/ssl/private
    sudo ls -l /etc/ssl/private/

    No cert found? Create one:
    make-ssl-cert generate-default-snakeoil –force-overwrite

    greetings

    BEETEE

  6. #6
    Just burned his ISO
    Join Date
    Apr 2009
    Posts
    2

    Default Hay

    I also have run into this problem. Exact scenario please help!!!

  7. #7
    Just burned his ISO
    Join Date
    Jan 2010
    Location
    Wonderland
    Posts
    5

    Default /usr/src Old linux source.

    Hi,

    Little issue im having which probably has a simple fix.

    When I update to the new kernel /usr/src will still have the old linux source of 2.6.29.4 . When I do a search on my computer for the new linux source it doesnt turn up at all. Am I supposed to get the source file seperatley from another location or am I just not installing the kernel correctly? I get through steps 1-3 without any issues.

  8. #8
    Just burned his ISO
    Join Date
    Apr 2009
    Posts
    2

    Default

    I tried this and sitll did not fix my problem. Any other sugestions. I have the same senario.

  9. #9
    Junior Member Deadboy's Avatar
    Join Date
    May 2009
    Location
    Louisiana
    Posts
    39

    Default

    I believe the original poster forgot to add:

    Code:
    apt-get install linux-source-2.6.30.9
    "Why is it drug addicts and computer afficionados are both called users? "

  10. #10
    Just burned his ISO dre360's Avatar
    Join Date
    Jan 2010
    Posts
    21

    Default

    you need to download the tar file just wget hxxp://kernel.org/pub/linux/kernel/v2.6/linux-2.6.30.9.tar.bz2

Page 1 of 2 12 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
  •