Error updating kernel 2.6.34
when i enter this command:
cp /boot/config-2.6.34 .config
i get this error:
cp: cannot stat '/boot/config-2.6.34': No such file or directory
I am using VMware worksation 7.1 and Backtrack 4
please help.
Thanks.
When i try to update the kernel and enter this command:
cp /boot/config-2.6.34 .config
i get this error:
cp: cannot stat '/boot/config-2.6.34': No such file or directory
vmware workstation 7.1, backtrack 4
please help,
thanks.
Re: Error updating kernel 2.6.34
apt-get update
apt-get dist-upgrade
reboot
then try again.
Re: Error updating kernel 2.6.34
I understand that the file is missing, probably .config
I new to linux and to backtrack, so i asking for help.
i was doing this commands to upgrade the kernel:
apt-get update
apt-get dist-upgrade
apt-get install madwifi-drivers broadcom-sta r8187-drivers linux-source-2.6.34
apt-get clean
depmod -a
cd /usr/src/
rm -rf linux linux-source-2.6.30.9*
rm -rf /lib/modules/2.6.30.9/
tar jxpf linux-source-2.6.34.tar.bz2
ln -s linux-source-2.6.34 linux
cd linux
cp /boot/config-2.6.34 .config - here i got the error
ln -s /usr/src/linux /lib/modules/2.6.34/build
make scripts && make prepare
apt-get clean && updatedb
reboot # dont forget to reboot!
the reason i doing this upgrade is because i have read that this will solve the problem
with my wireless adapter bcm4312, vmware doesnt recognize it and backtrack too.
Re: Error updating kernel 2.6.34
Quote:
Originally Posted by
muts
apt-get update
apt-get dist-upgrade
reboot
then try again.
it didnt help, still get this error.
Re: Error updating kernel 2.6.34
Quote:
Originally Posted by
StasNep
reboot # dont forget to reboot!
.
Did you try that? I don't see any errors myself.
Re: Error updating kernel 2.6.34
Just manually go there and check for the file ... see if it's there.
Re: Error updating kernel 2.6.34
if got the same error. the folder /boot/config-2.6.34 is'nt in the root@backtrack:/usr/src/linux/
I find only under the directory /src/linux-source-2.6.34/arch/* "/boot" directories. Nowhere the file config-2.6.34
And, yes, I have tried a reboot.
Re: Error updating kernel 2.6.34
I have the same problem but i try to update kernel 2.6.34.1
http://img695.imageshack.us/i/bt420100722114642.png
I use VMware 7 workstation without Internet acces and used sugestion mentioned above but.... no succes!
Edit:
I found this post and it helped me!!
Quote:
Originally Posted by zarth, 07-22-2010 06:54 PM
I was having the same updating problems, but have resolved them.
Use aptitude
Code:
aptitude full-upgrade
and it will prompt you with a solution to remove linux-image. DO NOT say Y to this solution.
It will then prompt a solution to install the latest 2.6.34 kernel (ending with bt7). Say N to this, too.
The next will be 2.6.34-bt6. Say N.
The next solution should be 2.6.34-bt3. Agree to this solution. It will download 4 wireless firmware files in addition to the older 2.6.34 kernel. These files must establish the /lib/firmware that we keep getting errors on.
The kernel will install, etc. You can reboot and run a full apt-get or aptitude dist-upgrade and the bt7 version of the 2.6.34 kernel will load successfully. It will also remove the 4 wireless firmware packages.
I'm not sure, but you might be able to just install one of the wireless packages and then perform a full update. The packages that installed were firmware-iwlwifi, firmware-ipw, firmware-b43 and firmware-ar9170
Re: Error updating kernel 2.6.34
some one can upload the config file?