It's a very dirty script....You might want to look at the commands and recreate manually.
Unsure if this has got anything to do with my nvidia driver issues on both 32/64bit Gnome.
Code:root@root:~# prepare-kernel-sources[*] apt-getting linux-source... Reading package lists... Done Building dependency tree Reading state information... Done linux-source is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.[*] extracting sources, please wait[*] doing stuff... cp: missing destination file operand after `/boot/' Try `cp --help' for more information. scripts/kconfig/conf --silentoldconfig Kconfig CHK include/linux/version.h CHK include/generated/utsrelease.h CALL scripts/checksyscalls.sh[*] tada!
"I do not know with what weapons World War III will be fought, but World War IV will be fought with sticks and stones."
Albert Einstein
It's a very dirty script....You might want to look at the commands and recreate manually.
The best information security training, period.
I got the same thing with gnome x64, maybe it only works for kde? I don't think the cp command would work either way though, there's no destination folder given. What is it supposed to be?
Code:root@bt:~# prepare-kernel-sources[*] apt-getting linux-source... Reading package lists... Done Building dependency tree Reading state information... Done linux-source is already the newest version. The following packages were automatically installed and are no longer required: libecryptfs0 libdmraid1.0.0.rc16 libdebconfclient0 ecryptfs-utils cryptsetup rdate bogl-bterm libdebian-installer4 reiserfsprogs dmraid python-pyicu keyutils Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.[*] extracting sources, please wait[*] doing stuff... cp: missing destination file operand after `/boot/' Try `cp --help' for more information. scripts/kconfig/conf --silentoldconfig Kconfig CHK include/linux/version.h CHK include/generated/utsrelease.h CALL scripts/checksyscalls.sh[*] tada!Code:root@bt:/usr/src/linux# more /usr/bin/prepare-kernel-sources #!/bin/bash VER=`uname -r` echo "[*] apt-getting linux-source..." apt-get install linux-source cd /usr/src/ echo "[*] extracting sources, please wait" tar jxpf linux-source-$VER.tar.bz2 echo "[*] doing stuff..." rm -rf linux ln -s linux-source-$VER linux cd linux zcat /proc/config.gz > .config cp /boot/ make scripts make prepare ln -s /usr/src/linux /lib/modules/$VER/build echo "[*] tada!"
Got same problem. My nVidia wont install.
To be successful here you should read all of the following.
ForumRules
ForumFAQ
If you are new to Back|Track
Back|Track Wiki
Failure to do so will probably get your threads deleted or worse.
Got same problem. I can't install VMware tools on BT5.
Did you follow the official guide ? Installing VMware Tools in Backtrack5
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 !
Hi
I have a clone of BT5 R1 Gnome 64bits on VirtualBox. So, before you install any program I install in BT inside VirtualBox.
I installed VMWare Player by following this link: http://www.backtrack-linux.org/wiki/..._VMware_Player
When I went to open the VM it gave an error that was corrected by following this: http://www.backtrack-linux.org/wiki/...Kernel_Headers
Works fine
So I install on my main OS (BT5 R1 64bits Gnome). Then the same error occurred! I was running Preparing Kernel Headers and:
I was check the headers that were installed, they are:# prepare-kernel-sources
prepare-kernel-sources: command not found
Everything seems to be ok! But I do not understand why is giving the error.linux-libc-dev
linux-headers-2.6.39.4
linux-headers
libdnet-dev
linux-source-2.6.39.4
kernel-package
I appreciate any help!
My notebook is: Dell Inspirion, i5.
HugsVGA compatible controller
Core Processor Integrated Graphics Controller
Intel Corporation![]()
Given enough eyeballs, all bugs are shallow - Linus's Law
Solved! I did a big upgrade by Synaptic ... and then I use the Fixed-kernel-sources prepared script.
Hugs
Given enough eyeballs, all bugs are shallow - Linus's Law