Results 1 to 3 of 3

Thread: Installing linux-headers without internet?

Hybrid View

  1. #1
    Just burned his ISO
    Join Date
    Aug 2012
    Posts
    1

    Default Installing linux-headers without internet?

    I'm kinda new to backtrack and i've been trying to sort out my wireless drivers but i can't install any packages because when i run 'make' i get
    Code:
    /lib/modules/2.6.38/build: No such file or directory. Stop.
    It's the same with 'make install'

    I've done some searching and apparently i need to run these commands to install linux headers and create a system link:
    Code:
    apt-get install linux-headers 
    ln -s /usr/src/linux-headers-2.6.38/ /lib/modules/2.6.38/build
    but without the wireless drivers i have no internet to use the apt-get install command so it wont work, i have no access to an ethernet cable to connect directly to the router
    could i download the linux headers to windows then find the file on my C drive while in backtrack and install it manually? if so, how?

    thanks

  2. #2
    Administrator sickness's Avatar
    Join Date
    Jan 2010
    Location
    Behind the screen.
    Posts
    2,921

    Default Re: Installing linux-headers without internet?

    That is not advisable as Backtrack uses it's own kernel, you need an internet connection to get the linux headers at least that's what I recommend especially since you are new to Backtrack.
    Back|track giving machine guns to monkeys since 2007 !

    Do not read the Wiki, most your questions will not be answered there !
    Do not take a look at the: Forum Rules !

  3. #3
    Just burned his ISO
    Join Date
    Aug 2012
    Posts
    3

    Default Re: Installing linux-headers without internet?

    Hello Linda
    Please Dont get Linux headers . i did the same and now my OS giving me the "unable to mount root fs on unknown block 0,0 and it wont come up anymore
    however i had your problem too , and i fixed it by running following commands

    Code:

    apt-get install linux-source-2.6.38 or 3.2.6 if you are on kernel 3.2.6

    then

    Code:

    prepare-kernel-source

    i didnt need to install linux headers but bad suggestion from people so i got that them and its all messed up now
    BTW if you can download them sources on windows somehow then you can go back to back track and copy them to cd /usr/src then install em
    good luck

Similar Threads

  1. Replies: 4
    Last Post: 04-29-2011, 07:14 AM
  2. internet => linux pc (mitm) => router => client ?
    By Lucifer in forum Beginners Forum
    Replies: 13
    Last Post: 03-26-2010, 03:52 PM
  3. How to share an internet connection in Linux
    By Virchanza in forum OLD BackTrack 4 Howto
    Replies: 15
    Last Post: 02-03-2010, 03:33 PM
  4. Linux headers installed? to install.
    By lawest12 in forum OLD Newbie Area
    Replies: 3
    Last Post: 10-20-2008, 07:11 AM

Posting Permissions

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