Loading...

Vanilla Kernel Compilation Tutorial (Ubuntu, Mint etc)

4,141 views

Loading...

Loading...

Transcript

The interactive transcript could not be loaded.

Loading...

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Jun 12, 2013

----------NOTES BELOW---------

https://www.kernel.org/

---deps needed---

search for and install libncurses and libncurses-dev along with build-essentials which should be sufficient

After compiling your kernel as shown in video... here is some notes about reinstalling the graphics card driver (for Nvidia)

According to my testing... this is what worked for me....


---From Nouveau to Nouveau---
Open Synaptic (or other package manager gui) search for nouveau to find exact names of nouveau packages installed... either mark them both for re installation or open a terminal and apply "sudo apt-get install --reinstall xxx (name of nouveau packages)

After rebooting into new kernel test for the nouveau module and if rendering works with the following....
"lsmod |grep nouv" It should come back with info about nouveau being loaded...

"glxinfo |grep render" It should show something like "render = yes" if not.. then 3d acceration is not working... try removing both nouveau packages and reinstalling them... "apt-get remove "xxx nouveau package names" Take note if other files get removed like cinnamon, gtk clutter etc..." reinstall that desktop environment if so... "apt-get install cinnamon" or "gnome-shell" (if you are using gnome-shell) It seems the gnome devs made nouveau a dependency of gnome-shell which is why it removes it... even with cinnamon it seems to remove other needed deps... after those steps are followed it should work

--- nouveau to nvidia---

Easy... just install nvidia with the drivers tool provided on mint or ubuntu...

---nvidia to nvidia---

easy... just reinstall nvidia packages...
go into /var/cache/apt/archives and search for the nvidia packages "ls |grep nvidia" then apply "sudo apt-get install --reinstall xxx nvidia package names"

---nvidia to nouveau---

easy... just use the driver tool provided in the distro...

There "may" be a blacklist on nvidia in /etc/modprobe.d/nvidiaxxx file... technically the driver tool "should" remove this file but if nvidia fails to boot... manually remove it... I doubt you will need to do so but just so you know....

I wrote this in a hurry.. but it should be accurate... inform me if you find any mistakes...

kaddy

Loading...

Advertisement
When autoplay is enabled, a suggested video will automatically play next.

Up next

to add this to Watch Later

Add to

Loading playlists...