注意:

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

Difference between revisions of "User:Danielv"

From Funtoo
Jump to navigation Jump to search
(notes)
(formatting changes - daneilv)
Line 22: Line 22:
--[[User:Danielv|Danielv]] ([[User talk:Danielv|talk]]) 19:03, June 29, 2015 (UTC)
--[[User:Danielv|Danielv]] ([[User talk:Danielv|talk]]) 19:03, June 29, 2015 (UTC)
---------------------
---------------------
emerge -ajv @module-rebuild
'''emerge -ajv @module-rebuild'''


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


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


Total: 2 packages (2 reinstalls), Size of downloads: 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
'''grep -r nvidia /etc/portage'''<br />
/etc/portage/make.conf:VIDEO_CARDS="nvidia"
/etc/portage/make.conf:VIDEO_CARDS="nvidia"


---------------------
---------------------


# genkernel --menuconfig all
'''genkernel --menuconfig all'''<br />
# make modules_install
'''make modules_install'''<br />
# make install
'''make install'''<br />
  sh ./arch/x86/boot/install.sh 3.18.16-gentoo arch/x86/boot/bzImage \
  sh ./arch/x86/boot/install.sh 3.18.16-gentoo arch/x86/boot/bzImage \<br />
   System.map "/boot"
   System.map "/boot"


script runs automatically
script runs automatically<br />
# boot-update
'''boot-update'''


emerge x11-drivers/nvidia-drivers
'''emerge x11-drivers/nvidia-drivers'''<br />
352.21
352.21


Line 56: Line 53:
---------------------
---------------------


eix-installed all |grep nvidia
'''eix-installed all |grep nvidia'''<br />
x11-drivers/nvidia-driver-352.21
x11-drivers/nvidia-driver-352.21


---------------------
---------------------


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


---------------------
---------------------


eselect kernel list
'''eselect kernel list'''<br />
[1] linux-3.18.16-gentoo *
[1] linux-3.18.16-gentoo *<br />
[2] linux-debian-sources-3.19.3
[2] linux-debian-sources-3.19.3<br />


---------
---------
cfg-update -u
'''cfg-update -u'''<br />
emerge -auDN @world
emerge -auDN @world<br />
emerge --depclean
emerge --depclean<br />


--pretend
'''--pretend'''<br />
--update
'''--update'''

Revision as of 19:08, 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


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