User:666threesixes666

examples because im a forgetful dummie.

kernel stuff
install

ircserver
freenode uses ircd-seven-1.1.3

= webcam = webcams require kernel driver support. uvc is most common in new webcams.

Kernel Configuration
laptop users might also need to enable

~ = 666threesixes666 (talk) 21:46, 7 August 2013 (UTC)

kernel repairs for systemd
For UEFI system you'll also need to enable the following:

= Alternate install =

This wiki is intended to make deployment of gentoo on alternate live media quick and easy. This is not a substitute of reading the handbook, but a skimmed version of it adapted to xubuntu's live desktop media, with high performance JFS file system, xfce4, network-manager, firefox, irc chat, grub2, porthole package management and pidgin. Just like your live media, preferably dropped in via unetbootin. (note. 'emerge -av -j5 package' will merge 5 jobs at once for a quad core, if you have a dual core, emerge -av -j3, 6core emerge -av -j7)  (note. try xubuntu with out installing.)  (get your xubuntu desktop iso from here.  http://mirror.anl.gov/pub/ubuntu-iso/CDs-Xubuntu/12.04/release/ x86 if working on old hardware amd64 if newer than 2006)

=Install=

step1
Boot xubuntu live rescue cd or live usb thumb drive.

step2
Attach to any network desired, with internet access to gentoo mirrors, through nm-applet and networkmanager provided by the xubuntu live media.

step3
Open a terminal (top left mouse icon > accessories > terminal emulator) & run. (root command, as in sudo su your terminal)


 * make new > primary > 150mb > beginning > bootable flag > /dev/sda1
 * highlight free space > new > primary > 1000mb > beginning > /dev/sda2 > highlight type and press enter 3 times to enter it as a swap mode partition.
 * highlight free space > primary > rest of drive space, just press enter.


 * write > yes > press enter > quit

step4
With partitions squared away format them for instillation. storage

Y > enter > Y > enter

swap

If mkswap fails, go back to step 3 and cfdisk the drive again. If you recieve messages to reboot do so.

step5
Mount storage and activate swap partition.

step6
Get stage3 ready for chrooting.

Launch firefox, and go to http://www.gentoo.org/main/en/mirrors2.xml and select a local mirror.

Go to releases/YOUR COMPUTERS ARCH!/current-stage3, grab stage3-yourarch-datemade.tar.bz2 & stage3-yourarch-datemade.tar.bz2.DIGESTS.

Check stage3 checksum.

If it checks OK procede.

step7
Wrap up chrooting, mounting, and chroot.

(HERE COMES GENTOO!)

(Your terminal prompt should now be blood red saying xubuntu / #) (Chroot makes your /mnt/gentoo act as system root / step 8 - step 14  require you to be in chroot.  You are in and building your gentoo system up at this point.)

step8
Set environment up.

Password, set a root password don't be locked out when you restart

When you enter your password, the block will not move, this is normal

step9
Sync to Merge.

step10
Open another terminal tab. (ctrl + shift + t with terminal in the foreground & highlighted)

again chroot to set some settings while sync is loading up.

set time zone (example is USA DETROIT)

step11
Arange grub2 and merge system up.


 * If your going to be using nvidia propietary drivers mask latest kernels

step12
Re-compile the linux kernel. open a new terminal tab & chroot again. (ctrl + shift + t with terminal in the foreground & highlighted)

If you have a predefined .config for your system load it to /usr/src/linux/.config now.

Exit out completely of the blue kernel menuconfig once all settings are set.

(make sure step 11 is completely finished merging)


 * finish merging the system.

step13
Finish configuring and turn on services.

Post install
Reboot into your shiny new gentoo.

You will most likely want to make a non privileged user account.

You will most likely want to add it to groups also.

Enter the users new password two times, the block will not move, this is normal behavior.

Mirror selection will help speed up package fetching.

Error Recovery
If your system fails to boot don't delete just yet. open a terminal and become root

emerge & recompile your kernel to more stable settings.

Rebuild kernel take 2
If kernel failed to compile the first time follow these steps. (in chroot environment/error recovery)

reconfigure to a solvent state

remove boot media and reboot.

Kernel Protips
Live media generally use kernel modules.

To see what modules are loaded...

Dmesg is also your friend, you can find ethernet and wireless modules like this.

lspci is your friend also

when in menuconfig / will search for modules and print information about them, including where to navigate to in the menu to activate them, and any other options required to activate them.

=nouveau-drm=

*  CONFIG_FB_NVIDIA:	 should not be set. But it is. *  CONFIG_I2C_ALGOBIT:	 is not set when it should be.

CAN_PEAK_PCIEC [=n] && NET [=y] && CAN [=n] && CAN_DEV [=n] && CAN_SJA1000 [=n] && CAN_PEAK_PCI [=n] || SFC [=n] && NETDEVICES [=y] && ETHERNET [=y] && PCI [=y] || IGB [=n] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_INTEL [=n] && PCI [=y] || I2C_VIA [=n] && I2C [=y] && HAS_IOMEM [=y] && PCI [=y] || I2C_HYDRA [=n] && I2C [=y] && HAS_IOMEM [=y] && PCI [=y] && PPC_CHRP || I2C_GPIO [=n] && I2C [=y] && HAS_IOMEM [=y] && GPIOLIB [=n] || I2C_PUV3 [=n] && I2C [=y] && HAS_IOMEM [=y] && UNICORE32 && ARCH_PUV3 || I2C_SIMTEC [=n] && I2C [=y] && HAS_IOMEM [=y] || I2C_VERSATILE [=n] && I2C [=y] && HAS_IOMEM [=y] && (ARCH_VERSATILE || ARCH_REALVIEW || ARCH_VEXPRESS) || I2C_PARPORT [=n] && I2C [=y] && HAS_IOMEM [=y] && PARPORT [=n] && GENERIC_HARDIRQS [=y] || I2C_PARPORT_LIGHT [=n] && I2C [=y] && HAS_IOMEM [=y] && GENERIC_HARDIRQS [=y] || I2C_ACORN [=n] && I2C [=y] && HAS_IOMEM [=y] && ARCH_ACORN || SCx200_I2C [=n] && I2C [=y] && HAS_IOMEM [=y] && SCx200_GPIO [=n] || VIDEO_AU0828 [=n] && MEDIA_SUPPORT [=n] && MEDIA_USB_SUPPORT [=n] && (MEDIA_ANALOG_TV_SUPPORT [=n] || MEDIA_DIGITAL_TV_SUPPORT [=n]) && I2C [=y] && INPUT [=y] && DVB_CORE [=n] && USB [=y] || VIDEO_IVTV [=n] && MEDIA_SUPPORT [=n] && MEDIA_PCI_SUPPORT [=n] && MEDIA_ANALOG_TV_SUPPORT [=n] && VIDEO_V4L2 [=n] && PCI [=y] && I2C [=y] && RC_CORE [=n] || VIDEO_CX18 [=n] && MEDIA_SUPPORT [=n] && MEDIA_PCI_SUPPORT [=n] && (MEDIA_ANALOG_TV_SUPPORT [=n] || MEDIA_DIGITAL_TV_SUPPORT [=n]) && VIDEO_V4L2 [=n] && DVB_CORE [=n] && PCI [=y] && I2C [=y] && RC_CORE [=n] || VIDEO_CX23885 [=n] && MEDIA_SUPPORT [=n] && MEDIA_PCI_SUPPORT [=n] && (MEDIA_ANALOG_TV_SUPPORT [=n] || MEDIA_DIGITAL_TV_SUPPORT [=n]) && DVB_CORE [=n] && VIDEO_DEV [=n] && PCI [=y] && I2C [=y] && INPUT [=y] && SND [=y] && RC_CORE [=n] || VIDEO_CX25821 [=n] && MEDIA_SUPPORT [=n] && MEDIA_PCI_SUPPORT [=n] && (MEDIA_ANALOG_TV_SUPPORT [=n] || MEDIA_DIGITAL_TV_SUPPORT [=n]) && VIDEO_DEV [=n] && PCI [=y] && I2C [=y] || VIDEO_CX88 [=n] && MEDIA_SUPPORT [=n] && MEDIA_PCI_SUPPORT [=n] && (MEDIA_ANALOG_TV_