Difference between revisions of "User:Danielv"

From Funtoo
Jump to: navigation, search
(adding content)
(notes)
Line 19: Line 19:
 
Let's say you want to look at sys-kernel/genkernel<br/>
 
Let's say you want to look at sys-kernel/genkernel<br/>
 
<nowiki>#</nowiki> '''''eix sys-kernel/genkernel/''''''
 
<nowiki>#</nowiki> '''''eix sys-kernel/genkernel/''''''
 +
 +
--[[User:Danielv|Danielv]] ([[User talk: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
 +
 +
* IMPORTANT: 2 news items need reading for repository 'gentoo'.
 +
* Use eselect news to read news items.
 +
 +
---------------------
 +
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

Revision as of 19:03, June 29, 2015




--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

* IMPORTANT: 2 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.

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


  1. genkernel --menuconfig all
  2. make modules_install
  3. make install
sh ./arch/x86/boot/install.sh 3.18.16-gentoo arch/x86/boot/bzImage \
  System.map "/boot"

script runs automatically

  1. 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