Hi all, I am trying to update my kernel version from 2.6.31.5 to 2.6.31.12 (I am trying to get my wireless card to work, as I posted here. I have been following a tutorial. I am stuck on this step:
"5 Configure The Kernel
It’s a good idea to use the configuration of your current working kernel as a basis for your new kernel. Therefore we copy the existing configuration to /usr/src/linux:
make mrproper
cp /boot/config-`uname -r`
./.config
"
The make command was not installed at first, so I ran zypper install make, but now when I input “make mrproper,” Output: make: *** No rule to make target `mrproper’. Stop.
Does anybody know what “make mrproper” is supposed to do, why it isn’t working on my machine and how I can make it work/bypass this step? Thanks so much.
It said access denied, so I logged into root (although he says to only use root for the install) and was able to run the three commands above.
When I then tried
make modules_install install
I got “make: *** No rule to make target `modules_install’. Stop.”
Right now, the contents of /home/upgrade/ are config, .config, and linux-2.6.31.12. Am I on the right track on far/ why isn’t make modules_install install working? Thanks for the help.
xait9@linux-1kp7:~/upgrade1> dir
total 108
-r--r--r-- 1 root root 103289 2010-05-17 18:42 config
drwxrwxr-x 23 root root 4096 2010-01-18 13:30 linux-2.6.31.12
xait9@linux-1kp7:~/upgrade1> make
make: *** No targets specified and no makefile found. Stop.
xait9@linux-1kp7:~/upgrade1> sudo make modules_install install
root's password:
make: *** No rule to make target `modules_install'. Stop.
Hi
OK, my apologies for missing the link you gave. First off you don’t
need to build the kernel from source unless (as was my impression) you
want to make some other specific changes to the current kernels
configuration.
In your case all your wanting to do is update your kernel, which means
all you need to do is run the online updates and it will pull the
latest kernel in???
Do you have the online updates repository enabled? If so all you need
to do is run the following;
sudo zypper ref
sudo zypper lu
sudo zypper up
The first command refreshes, second lists and the third applies all the
updates available. If it shows no updates, can you post the output from
the following commands;
uname -a
zypper lr -d
You should see the kernel update in the list? You will also need to
reboot your system
–
Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.2 (i586) Kernel 2.6.31.12-0.2-desktop
up 0:06, 2 users, load average: 0.62, 0.66, 0.37
ASUS eeePC 1000HE ATOM N280 1.66GHz | GPU Mobile 945GM/GMS/GME