Monday, 24 January 2011

Installing Gentoo on Dell Latitude X1 (2011) part3

Also check CrunchBang on Dell Latitude X1, distro I am using today!

At first I think it's because I forgot the firmware. So I emerge it:

# emerge ipw2200-firmawe

Upon restart I notice:

FATAL: Could not load /lib/modules/2.6.36-gentoo-r5/modules.dep: No such file or directory 

Aha! That means "make modules_install" failed. Weird. I repeat it in /usr/src/linux and this time it creates everything.

The box boots, however now my wireless is visible as eth0 not eth1. So bringing up interface eth1 fails. Fair enough.

In other words I need:

# cd /etc/init.d
# rc-update add net.eth0 default
# rc-update del net.eth1 default
# rm net.eth1

then change last lines in /etc/conf.d/net to:

wpa_supplicant_eth0=”-Dwext”
config_eth0=( "dhcp" )

reboot.
Two warnings:

* Your TIMEZONE in /etc/conf.d/clock is still set to Factory!
.
.
* WARNING: netmount is scheduled to start when net.eth0 has started

I edit /etc/conf.d/clock and uncomment the TIMEZONE line setting it to:

TIMEZONE="Europe/London"

And remove checks on net in /etc/rc.conf as it will always fail, cause it take a while to obtain address.

RC_NET_STRICT_CHECKING="none"

OMG, finally. Took me some time to figure out (3 hours hehe ;)

Now I'm creating my everyday user:

# useradd -m -G users,wheel,audio,cdrom,portage,usb,video -s /bin/bash bev
# passwd bev
Password: (Enter the password for bev)
Re-enter password: (Re-enter the password to verify)

Cleaning after installation:

# cd /
# rm stage3-*.tar.bz2*
# rm portage-latest.tar.bz2*

I'm proceeding with KDE installation as I've decided.

After modifying USE flags and adding a couple of flags...
And many hours later (390 packages to emerge - 28 hours and 23 minutes) I'm ready to emerge kdm, to be able to start x at boot.

emerge kde-base/kdm
emerge xorg-server

Edit /etc/conf.d/xdm so it chooses KDE as default:

DISPLAYMANAGER="kdm"

rc-update add xdm default

xorg.conf wasn't created by default, so as root I run:

X -configure

and then change in /etc/X11/xorg.conf driver intel to vesa

Section Device 
driver="vesa"

In order to get the native resolution of 1280x768 I have to emerge little patch, that has been marked as not entirely safe (yeah, been using it for ages)

echo "sys-apps/915resolution ~x86" >> /etc/portage/package.keywords
emerge 915resolution
vim /etc/conf.d/915resolution

in that last file make a change:

replace=("4d 1280 768 32")

and add that script to default level, so it starts with the laptop.

rc-update add 915resolution boot default

Reboot and I have working KDE... however there are a couple of tweaks left to do.

No comments:

Post a Comment

Real Time Web Analytics