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.