注意:
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
User:Danielv
Jump to navigation
Jump to search
--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<br /> sys-kernel/aufs-sources<br /> sys-kernel/better-initramfs-bin<br /> sys-kernel/bliss-initramfs<br /> sys-kernel/bliss-kernel<br /> sys-kernel/centos7plus-sources<br /> sys-kernel/ck-sources<br /> sys-kernel/cryptodev<br /> sys-kernel/debian-sources<br /> sys-kernel/dkms<br /> sys-kernel/dracut<br /> sys-kernel/genkernel<br /> sys-kernel/genkernel-next<br /> sys-kernel/gentoo-sources<br /> sys-kernel/git-sources<br /> sys-kernel/hardened-sources<br /> sys-kernel/kccmp<br /> sys-kernel/kergen<br /> sys-kernel/linux-docs<br /> sys-kernel/linux-firmware<br /> sys-kernel/linux-headers<br /> sys-kernel/mips-sources<br /> sys-kernel/openvz-rhel6-stable<br /> sys-kernel/openvz-sources<br /> sys-kernel/pf-sources<br /> sys-kernel/raspberrypi-image<br /> sys-kernel/raspberrypi-sources<br /> sys-kernel/rhel7-sources<br /> sys-kernel/rsbac-sources<br /> sys-kernel/rt-sources<br /> sys-kernel/spl<br /> sys-kernel/std-sources<br /> sys-kernel/tuxonice-sources<br /> sys-kernel/vanilla-sources<br /> sys-kernel/vserver-sources<br /> sys-kernel/xbox-sources<br /> sys-kernel/zen-sources<br />
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!<br /> [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<br /> 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 \<br /> 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<br /> sys-kernel/genkernel-3.4.40.7-r6<br /> sys-kernel/gentoo-sources-3.18.16<br /> sys-kernel/gentoo-sources-4.1.0<br /> sys-kernel/linux-headers-4.0<br />
root # eselect kernel list [1] linux-3.18.16-gentoo *<br /> [2] linux-debian-sources-3.19.3<br />
root # cfg-update -u root # emerge -auDN @world root # emerge --depclean
--pretend
--update