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 :

Monday, January 7, 2008

Arch Linux woes.

From a core install, I have had to do the following.

nano /etc/locale.gen and uncomment:

en_US.UTF-8 UTF-8
en_US ISO-8859-1

save and exit.

Default network config is all screwy, not going to run through everything, I'll just post the worknig version of rc.conf.

See below.

REMEMBER TO CHANGE eth1 to eth0 if you are using a default motherboard NIC (Network/Lan card).

# /etc/rc.conf - Main Configuration for Arch Linux

# -----------------------------------------------------------------------
# -----------------------------------------------------------------------
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages

# -----------------------------------------------------------------------
# -----------------------------------------------------------------------
# Scan hardware and load required modules at bootup
# Module Blacklist - modules in this list will never be loaded by udev
# Modules to load at boot-up (in this order)
# - prefix a module with a ! to blacklist it
MODULES=(atl1 mii slhc ac97_bus snd-mixer-oss snd-pcm-oss snd-seq-oss snd-seq-device snd-seq-midi-event snd-seq snd-hwdep snd-page-alloc snd-pcm snd-rawmidi snd-timer snd snd-ac97-codec snd-emu10k1 snd-hda-intel soundcore snd-util-mem)
# Scan for LVM volume groups at startup, required if you use LVM

# -----------------------------------------------------------------------
# -----------------------------------------------------------------------
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available
# interfaces.
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
# - no hyphens in your interface names - Bash doesn't like it
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
gateway="default gw"
# Enable these network profiles at boot-up. These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
# Network profiles are found in /etc/network-profiles

# -----------------------------------------------------------------------
# -----------------------------------------------------------------------
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
DAEMONS=(syslog-ng network netfs crond)

# End of file

After this pacman -Sy nvidia
pacman -S fluxbox
pacxman -S openbox
pacman -S gedit

Now nano ~/.xinitrc
exec fluxbox or openbox, you're choice.

Working xorg for this rig somewhere on this site.

Monday, October 15, 2007


Consider this.

Column A).
Windows users are considered bound and chained by people in the free software movement(note that I do not use the terminology “Open-source” as they are 2 very different things).
The free software (and open-source) movements set to relief people of their cuffs/chains and set them free in to a world where every thing is only limited by their own imagination.

Column B).
Now consider me, someone who has relieved themselves of their social chains and moved past everything and anything socially “subscribed” where appearance and self exploration is only limited by my own imagination – oh, and I forgot to mention, I am a fond free-software advocate and promoter (just to push the emphasis envelope). - and supposedly, I'm a stereo-type?

Now consider the folk from column A. insulting, well, me – from column B.
Now how the fuck do you work that out?

And for the very/EXACT same reasons free-software/open-source/Linux exist – you have pretty much asserted your entire metaphorical leg down your own throat.


Tuesday, July 31, 2007

Console/Framebuffer goodies for your *nix

get these from the ubuntu repo's using synaptic or aptget.
Both work in framebuffer/console so you dont even need X to use them, quite neat.