Difference between revisions of "User:Danielv"

From Funtoo
Jump to: navigation, search
(adding content - danielv)
(formatting changes - daneilv)
Line 3: Line 3:
 
|Blogs=
 
|Blogs=
 
}}
 
}}
 +
 +
--[[User:Danielv|Danielv]] ([[User talk:Danielv|talk]]) 20:04, July 1, 2015 (UTC)<br />
 +
If you install Funtoo and don't get internet connectivity configured,
 +
<br />
 +
<console>
 +
###i## rc-update add dhcpcd default
 +
</console>
 +
<br />
  
 
--[[User:Danielv|Danielv]] ([[User talk:Danielv|talk]]) 20:07, June 29, 2015 (UTC)<br/>
 
--[[User:Danielv|Danielv]] ([[User talk:Danielv|talk]]) 20:07, June 29, 2015 (UTC)<br/>
 
re: '''kernels''' <br/>
 
re: '''kernels''' <br/>
 
FIrst see http://www.funtoo.org/Funtoo_Linux_First_Steps<br/>
 
FIrst see http://www.funtoo.org/Funtoo_Linux_First_Steps<br/>
<nowiki>#</nowiki> '''emerge -av app-portage/eix'''
+
<console>
 
+
###i## emerge -av app-portage/eix
To see avail kernels, I do this command for a brief listing<br/>
+
</console>
<nowiki>#</nowiki> "'''eix -# sys-kernel/'''"<br/>
+
<br />
 +
To see available kernel packages, I do this command for a brief listing<br/>
 +
<console>
 +
###i## eix -# sys-kernel/<br/>
 +
</console>
 
sys-kernel/alt-sources<br />
 
sys-kernel/alt-sources<br />
 
sys-kernel/aufs-sources<br />
 
sys-kernel/aufs-sources<br />
Line 51: Line 63:
  
 
or for more detail<br/>
 
or for more detail<br/>
<nowiki>#</nowiki> '''''eix -c sys-kernel/''''''<br/>
+
<console>
 
+
###i## eix -c sys-kernel/
 +
</console>
 +
<br />
 
This command puts out lots of content to the screen, and it has color...<br />
 
This command puts out lots of content to the screen, and it has color...<br />
'''eix -A sys-kernel/'''
+
<console>
 +
###i## eix -A sys-kernel/
 +
</console>
 +
<br />
  
 
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/''''''
+
<console>
 +
###i## eix sys-kernel/genkernel/
 +
</console>
 +
<br />
  
 
--[[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)
---------------------
+
<console>
'''emerge -ajv @module-rebuild'''
+
###i## emerge -ajv @module-rebuild
 +
</console>
  
 
These are the packages that would be merged, in order:
 
These are the packages that would be merged, in order:
Line 72: Line 93:
  
 
---------------------
 
---------------------
'''grep -r nvidia /etc/portage'''<br />
+
<console>
 +
###i## grep -r nvidia /etc/portage
 +
</console>
 
/etc/portage/make.conf:VIDEO_CARDS="nvidia"
 
/etc/portage/make.conf:VIDEO_CARDS="nvidia"
  
 
---------------------
 
---------------------
 
+
<console>
'''genkernel --menuconfig all'''<br />
+
###i## genkernel --menuconfig all
'''make modules_install'''<br />
+
</console>
'''make install'''<br />
+
<console>
 +
###i## make modules_install
 +
</console>
 +
<console>
 +
###i## make install
 +
</console>
 
  sh ./arch/x86/boot/install.sh 3.18.16-gentoo arch/x86/boot/bzImage \<br />
 
  sh ./arch/x86/boot/install.sh 3.18.16-gentoo arch/x86/boot/bzImage \<br />
 
   System.map "/boot"
 
   System.map "/boot"
  
 
script runs automatically<br />
 
script runs automatically<br />
'''boot-update'''
+
<console>
 
+
###i## boot-update
'''emerge x11-drivers/nvidia-drivers'''<br />
+
</console>
 +
<console>
 +
###i## emerge x11-drivers/nvidia-drivers
 +
</console>
 
352.21
 
352.21
  
 
add it to /etc/conf.d/modules
 
add it to /etc/conf.d/modules
 
---------------------
 
---------------------
 
+
<console>
'''eix-installed all |grep nvidia'''<br />
+
###i## eix-installed all |grep nvidia
 +
</console>
 
x11-drivers/nvidia-driver-352.21
 
x11-drivers/nvidia-driver-352.21
  
 
---------------------
 
---------------------
 
+
<console>
'''eix-installed all |grep kernel'''<br />
+
###i## eix-installed all |grep kernel
 +
</console>
 
sys-kernel/debian-sources-3.19.3<br />
 
sys-kernel/debian-sources-3.19.3<br />
 
sys-kernel/genkernel-3.4.40.7-r6<br />
 
sys-kernel/genkernel-3.4.40.7-r6<br />
Line 105: Line 138:
  
 
---------------------
 
---------------------
 
+
<console>
'''eselect kernel list'''<br />
+
###i## eselect kernel list
 +
</console>
 
[1] linux-3.18.16-gentoo *<br />
 
[1] linux-3.18.16-gentoo *<br />
 
[2] linux-debian-sources-3.19.3<br />
 
[2] linux-debian-sources-3.19.3<br />
  
 
---------
 
---------
'''cfg-update -u'''<br />
+
<console>
emerge -auDN @world<br />
+
###i## cfg-update -u
emerge --depclean<br />
+
###i## emerge -auDN @world
 
+
###i## emerge --depclean
 +
</console>
 
'''--pretend'''<br />
 
'''--pretend'''<br />
'''--update'''
+
'''--update'''<br />

Revision as of 20:04, July 1, 2015




--Danielv (talk) 20:04, July 1, 2015 (UTC)
If you install Funtoo and don't get internet connectivity configured,

root # rc-update add dhcpcd default


--Danielv (talk) 20:07, June 29, 2015 (UTC)
re: kernels
FIrst see http://www.funtoo.org/Funtoo_Linux_First_Steps

root # emerge -av app-portage/eix


To see available kernel packages, I do this command for a brief listing

root # eix -# sys-kernel/<br/>

sys-kernel/alt-sources
sys-kernel/aufs-sources
sys-kernel/better-initramfs-bin
sys-kernel/bliss-initramfs
sys-kernel/bliss-kernel
sys-kernel/centos7plus-sources
sys-kernel/ck-sources
sys-kernel/cryptodev
sys-kernel/debian-sources
sys-kernel/dkms
sys-kernel/dracut
sys-kernel/genkernel
sys-kernel/genkernel-next
sys-kernel/gentoo-sources
sys-kernel/git-sources
sys-kernel/hardened-sources
sys-kernel/kccmp
sys-kernel/kergen
sys-kernel/linux-docs
sys-kernel/linux-firmware
sys-kernel/linux-headers
sys-kernel/mips-sources
sys-kernel/openvz-rhel6-stable
sys-kernel/openvz-sources
sys-kernel/pf-sources
sys-kernel/raspberrypi-image
sys-kernel/raspberrypi-sources
sys-kernel/rhel7-sources
sys-kernel/rsbac-sources
sys-kernel/rt-sources
sys-kernel/spl
sys-kernel/std-sources
sys-kernel/tuxonice-sources
sys-kernel/vanilla-sources
sys-kernel/vserver-sources
sys-kernel/xbox-sources
sys-kernel/zen-sources


or for more detail

root # eix -c sys-kernel/


This command puts out lots of content to the screen, and it has color...

root # eix -A sys-kernel/


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

root # eix sys-kernel/genkernel/


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

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


root # grep -r nvidia /etc/portage

/etc/portage/make.conf:VIDEO_CARDS="nvidia"


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

script runs automatically

root # boot-update
root # emerge x11-drivers/nvidia-drivers

352.21

add it to /etc/conf.d/modules


root # eix-installed all |grep nvidia

x11-drivers/nvidia-driver-352.21


root # 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/gentoo-sources-4.1.0
sys-kernel/linux-headers-4.0


root # eselect kernel list

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


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

--pretend
--update