You are not logged in.

#1 2018-12-16 01:04:03

manuel-909
Member
Registered: 2017-10-09
Posts: 62

kernel upgrade

ok i just did some reserch how to install the lastest kernel 4.19.9 so i install it on my netbook and main pc with no problem :
you need to download the kernel from linux kernel .
and what i did is :

xz -d -v linux-4.19.9.tar.xz
tar xvf linux-4.19.9.tar
cd linux-4.19.9
sudo apt-get install build-essential libncurses-dev bison flex libssl-dev libelf-dev
cp -v /boot/config-$(uname -r) .config
yes "" | make oldconfig
## use 4 core/thread ##
make -j 4
## get thread or cpu core count using nproc command ##
make -j $(nproc)
sudo make modules_install
sudo make install
sudo update-grub

Screenshot_2018-12-15_19-55-57.th.png

---Mod Edit: added [ code ] tags---

Last edited by damo (2018-12-16 01:30:01)

Offline

#2 2018-12-16 11:38:02

twoion
ほやほや
Registered: 2015-08-10
Posts: 2,344

Re: kernel upgrade

Hi. Instead of

make
make install
make modules_install

I'd recommend

make deb-pkg -j4

which will package everything for you into a Debian package which you then can normally install using dpkg. The advantage of this method is that you can also uninstall everything using the package manager, without having to keep the kernel tree and do make uninstall. Though your method of course works just fine.

Normally, I'd also recommend to read all make oldconfig output but I guess that's for the more curious or experienced, deciding what new features should be configured different from their defaults.


Im grünen Wald, dort wo die Drossel singt…

Offline

#3 2018-12-16 19:47:10

DeepDayze
Member
From: In Linux Land
Registered: 2017-05-28
Posts: 616

Re: kernel upgrade

twoion wrote:

Hi. Instead of

make
make install
make modules_install

I'd recommend

make deb-pkg -j4

which will package everything for you into a Debian package which you then can normally install using dpkg. The advantage of this method is that you can also uninstall everything using the package manager, without having to keep the kernel tree and do make uninstall. Though your method of course works just fine.

Normally, I'd also recommend to read all make oldconfig output but I guess that's for the more curious or experienced, deciding what new features should be configured different from their defaults.

So it is just a matter of unpacking the source tarball and then running that command? I would love to install 4.19 kernel series on Stretch, as only 4.18 is in the stretch backports.


Real Men Use Linux

Offline

#4 2018-12-16 20:17:57

manuel-909
Member
Registered: 2017-10-09
Posts: 62

Re: kernel upgrade

what i find that running make deb-pkg -j4 give some errors maybe missing dependences ....
and if you wan't  to install 4.18 from backports it brake your system i did already......

Last edited by manuel-909 (2018-12-16 20:33:19)

Offline

Board footer

Powered by FluxBB