Note

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

User:Danielv

From Funtoo
Revision as of 19:08, June 29, 2015 by Danielv (talk | contribs) (formatting changes - daneilv)
Jump to navigation Jump to search




--Danielv (talk) 18:45, June 27, 2015 (UTC)
re: kernels
FIrst see http://www.funtoo.org/Funtoo_Linux_First_Steps
# emerge -av app-portage/eix

To see avail kernels, I do this command
# "eix -# sys-kernel/"
for a brief listing

or
# eix -c sys-kernel/'
for more detail

Let's say you want to look at sys-kernel/genkernel
# eix sys-kernel/genkernel/'

--Danielv (talk) 19:03, June 29, 2015 (UTC)


emerge -ajv @module-rebuild

These are the packages that would be merged, in order:

Calculating dependencies ... done!
[ebuild R ] sys-kernel/debian-sources-3.19.3:3.19.3 USE="binary -rt" 0 kB
[ebuild R ] x11-drivers/nvidia-drivers-352.21 USE="X gtk2 gtk3 (multilib) tools -acpi -pax_kernel -uvm" 0 kB

Total: 2 packages (2 reinstalls), Size of downloads: 0 kB


grep -r nvidia /etc/portage
/etc/portage/make.conf:VIDEO_CARDS="nvidia"


genkernel --menuconfig all
make modules_install
make install

sh ./arch/x86/boot/install.sh 3.18.16-gentoo arch/x86/boot/bzImage \
System.map "/boot"

script runs automatically
boot-update

emerge x11-drivers/nvidia-drivers
352.21

add it to /etc/conf.d/modules


eix-installed all |grep nvidia
x11-drivers/nvidia-driver-352.21


eix-installed all |grep kernel
sys-kernel/debian-sources-3.19.3
sys-kernel/genkernel-3.4.40.7-r6
sys-kernel/gentoo-sources-3.18.16
sys-kernel/linux-headers-4.0


eselect kernel list
[1] linux-3.18.16-gentoo *
[2] linux-debian-sources-3.19.3


cfg-update -u
emerge -auDN @world
emerge --depclean

--pretend
--update