Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 3340  / 3 Years ago, sat, october 23, 2021, 2:18:15

I'm using Ubuntu 12.10 installed alongside Windows and the default loader is GRUB.



I've downloaded kernel 3.8.5 tar.xz file and want to install without erasing the existing 3.5 kernel.



Following the instructions given in the README file it said ncurses library is required.



I extracted the file and did the following. The terminal output is shown below.



root@Ubuntu:/home/prasanna/linux-3.8.5# make O=/home/name/build/kernel menuconfig
HOSTCC scripts/basic/fixdep
GEN /home/name/build/kernel/Makefile
HOSTCC scripts/kconfig/conf.o
*** Unable to find the ncurses libraries or the
*** required header files.
*** 'make menuconfig' requires the ncurses libraries.
***
*** Install ncurses (ncurses-devel) and try again.
***
make[2]: *** [scripts/kconfig/dochecklxdialog] Error 1
make[1]: *** [menuconfig] Error 2
make: *** [sub-make] Error 2

After installing ncurses, I ran the command menuconfig a dialogue box appeared and coundn't proceed much. I tried with "config" selecting default optioins.

make O=/home/name/build/kernel
sudo make O=/home/name/build/kernel modules_install install


When I entered the first command of above got error and it read: run "make mproper". And this command said no configuration file.
I'm truly not understanding what's happening.



Please help me out suggesting any other easy way to install the same tar.xz file of Linux kernel with default options without erasing the older one so that I get choices of kernel at boot up.


More From » 12.10

 Answers
6

I'm a new Ubunutu(Linux) user. Sorry if Iam wrong. However this is how I install new kernels.



I download the deb files and cd to the directory containing them and just execute
$ sudo dpkg -i *.deb



What I have noticed is that, the new installed kernel will NOT erase the older one but only create a new entry in the boot loader and make itself default if it's newer. And if it already exists it would override it without making itself default.


[#31916] Saturday, October 23, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
smelrop

Total Points: 263
Total Questions: 122
Total Answers: 108

Location: Saudi Arabia
Member since Thu, Jan 28, 2021
3 Years ago
smelrop questions
Mon, Mar 13, 23, 07:22, 1 Year ago
Sun, Feb 5, 23, 13:02, 1 Year ago
Tue, Aug 31, 21, 00:50, 3 Years ago
Sat, Dec 18, 21, 15:18, 2 Years ago
;