Tag Archives: arch

Arch Linux on a T400 – Log

Trying out Arch Linux on a Lenovo T400!

First step after getting the T400 Dual Core Centrino 2.26GHz 4GB RAM: replace the 160GB spinning rust to a 120GB Samsung 840. Very easy to take out the old disk and put the new SSD in the carrier.

https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_T400 has some details.

https://wiki.archlinux.org/index.php/Installation_Guide and the Beginner’s Guide are quite helpful.

To make it easy, the partition layout I created with parted was:

mklabel: MSDOS
mkpart: pri, 0%, 300M /boot ext4 – flag bootable
mkpart: pri, 300M, 100%, /, ext4
No swap!

Install base and some important packages to disk after mkfs and mounting and setting up mirrors:

pacstrap /mnt base dialog iw wpa_supplicant grub parted sudo alsa-utils vim ttf-dejavu openssh screen

Beginners’_Guide had sufficient instructions to set up the boot loader, except this was needed or the grub-mkconfig would fail with syntax error.

echo “GRUB_DISABLE_SUBMENU=y” >> /etc/default/grub

After successful boot time to get a graphical display up and running :)

Beginner’s guide to the rescue: Beginners’_Guide#Graphical_User_Interface

Lightdm was easy to set up and worked right out of the box, which GDM did not. DWM was easy too, I think I can get used to using the ABS/makepkg stuff. Nicer than compiling it and copying the binary around.

Windows key is Mod4Key in config.h for DWM.

Packages and getting chromium-pepper-flash working:

  1. Install all the dependencies for Aura
  2. Download aura and makepkg -i install it
  3. aura -A chromium-pepper-flash

alsamixer and pressing “m” mutes/unmutes a channel :)

Asus Eee Pad Transformer TF 101 + root + arch in chroot

Just got one of these – thought it would be a great tool when going to conferences for example or somewhere where I would need a small computer but don’t want to bring a long my normal heavy laptop.

Normally I prefer pen and paper when going to meetings or conferences, but if there’s a lot of information needed to be written down or if I want to check something online it sounds quite nice.

Got a keyboard with it too. The stuff I’ve wanted do to so far works perfectly and it is very nice to play around with – though I haven’t done any serious work or task for any longer period of time yet. If I can do that without any/much issues I will be very happy about it.

Rooted it without any problems (from a Windows 7 x64 PC). Needed to install the USB drivers from Asus’s page –  (choose OS android).

It would also be nice to have a Linux chroot terminal running inside Android. This tutorial works pretty great – at least to get a basic setup :) Still need to play some more with it to get things working (vpn perhaps?). After you got the sshd running on the android you can connect to localhost with an ssh client, for example irssi connectbot. In there you run the commands outlined in the last link.

After you create a user you need to add the user to the appropriate group. At least if you want network access.
What was strange was that if my user was in only aid_inet I could ssh and irssi to an IP-address, but I could not ping said address. Neither could I ping or ssh to a dns-name. After adding group aid_net_raw and your user to that group that was possible.

After that you can use ‘pacman -S irssi’ to install for example irssi!

Happy transformer arching!