Monday, March 9, 2009

Arch linux Hal

For keyboard/ mouse to work after an Arch Linux install, you need to do this :

pacman -S hal dbus

then go in to /etc/rc.conf and put hal in the DEAMONS line like this :
DAEMONS=(syslog-ng hal network netfs ...)

Gentoo kernel command

make && make modules_install && make install && module-rebuild rebuild

Hell with Gentoo : A complete and utter retards guide to installing.

Hell with Gentoo : A complete and utter retards guide to installing.

Install from Live CD.
open up a console and Issue emerge --sync && emerge -uDN world
Wait a few hours for completion.
Open a console and issue the following commands :
rm /usr/src/linux
rm /boot/vm-TAB
rm everything in here except for Grub (the directory) (so at the command line issue rm /boot/ then hit tab a few times and just remove all of it (not Grub)

CD in to /usr/src/l-TAB Where l is the beggining of the file starting with l and tab completes it. This is your kernel (one of the things you just deleted) source.

You should now be in /usr/src/linux-2.*.** (these numbers could be anything)

At the command line, issue genkernel --menuconfig all

It will shit it's self a few seconds, then provide you with a prompt with many many options that will no doubt cause your very person to implode in to the temporal-flux of the space-time contiuum cuasing your gravemtric sub-systems to flush in to a temporal rift. Right now, I know how you feel. You're not alone, I knew less then you (trust me) so bare with me :

There should be many things selected (little (*)'s next to them) that's good. To make these selections, hit space, make sure they are not M's because that's a module and we want the kernal to have everything built in for now.

OK, so, go to device drivers in that menu thing you're in. If it looks like you may have something you see, enable it (space) if it looks like there's not much chance you'll have it, enable it. Infact - for the purpose of this guide, I really want you to just not worry about how much stuff you enable (within reason) in these device drivers/network /sound and all those really important kind of options. Later on down the track you can rebuild your own custom kernel and do what you want but for now we want to get you in to Gentoo.

OK, exit the kernl dialogue you are in using it's exit option untill all exits have been exhasuted, it will ask you if you want to save the config, select yes.

It will now shit it'self again for a time. When it stops, issue the following commands :

ln -s /usr/src/(type l then hit TAB) /usr/src/linux
nano /boot/grub/menu.lst
Here you change the kernel line in the somewhat complicated lines of crapola to be the same kernel you just made. To know what to put there, issue ls /boot/ in a command and you'll see the new kernel you just made.. if you can't tell, it will be the one with the higher number .. something like kernel-genkernel etc etc (but a higher version) append that to the grub file you opened where it makes sense (so over the other bit with different kernel version)

now emerge nvidia-drivers

At OS selection, hit e
go to the init row, hit e
delete it all, type in init TAB /inTAB and select the highest version hitting tab untill it completes.
hit enter (or esc) but don't esc out of that screen, stay in it and hit b
you will now boot in to your new kernel but nvidia will not work yet.

issue the following MAGIC command
eselect opengl set nvidia

You just installed Gentoo in roughly 3.2 billion hours less than me and my collectives "Q" esqueue conglomerate.

This really should not be on tuxmachines, it was made in a fit of rage and slightly tongue in cheek.

Professional blog :