Nota: ci sono ulteriori dettagli e aggiornamenti sulle istruzioni in Arch Wiki.
Kernel e pacchetti dei moduli per Eee sono disponibili in AUR.
Tratterò due metodi per installare Arch Linux sull'Eee:
Ci sono altri metodi che non tratterò, come l'installazione da unità USB. Il sito Arch Linux wiki risulterà ultile per questo (oltre a quel che ho duplicato quì…).
Cominciamo:
E' importante essere sicuri di poter rimuovere tutto sull'SSD del tuo Eee senza perdere i dati di cui hai bisogno. Indipendentemente da quello che sarà fatto. Il modo più veloce per ripristinare sarà anche cancellare, così, se vorrai ripristinare Xandros, avrai bisogno del DVD in dotazione.
Il materiale del kernel di Arch Linux non include i driver per alcune delle schede di rete degli Eee. Questo rende difficile proseguire dopo l'installazione del sistema di base. Un'opzione per superare questo è scaricare i sorgenti per i driver necessari prima dell'installazione e poi compilarli subito dopo l'installazione di base. L'altra opzione è scaricare il pacchetto del kernel modificato dal repository della [community] da installare sempre dopo l'installazione di base. La seconda opzione è ovviamente più semplice della prima, ma riceverai istruzioni per eseguire entrambe le opzioni e vedrai dove sono i sorgenti di tutti i driver e come sono da installare. Se vuoi usare il kernel preconfigurato, vai al punto 2b. Se vuoi installare tutti driver da solo, leggi di seguito:
svn checkout svn://svn.berlios.de/linux-uvc/linux-uvc/trunk mv trunk linux-uvc
Tutti questi file potranno essere disponibili su di un CD, penna USB, o scheda SD per il tuo Eee dopo l'installazione.
Vai nella pagina del download di Arch. Scarica l'immagine dell'installazione del cuore di Arch Linux. Il kernel è nel repository [community]. Per scaricare il pacchetto, scegliere uno dei siti mirror in basso e andare nella directory community. Troverai un file chiamato kernel26eee-qualchecosa. Scarica l'ultima versione e salvalo su di un CD, penna USB o scheda SD.
First you have to burn the Arch Linux ISO image file to a CD. Then, start the Eee with the CD-ROM drive connected and the CD inserted. When the ASUS Eee BIOS startup screen appears, press Esc quickly, to get into the boot menu. Choose to boot from the CD. When the CD boot prompt appears, just press Enter.
After a while, you'll get to a prompt again. On my Eee there was something wrong with the partition table, so I had to create a new one before starting the install script. To do this write:
cfdisk -z
cfdisk has a quite user-friendly interface, so you shouldn't have any problems with creating one primary partition that takes all the space on the disk. Make it bootable too, just to be sure. Write it, then exit.
To start the Arch Linux installation script, write:
/arch/setup
Then go through the menus from the top and down. This is all very well-explained in the Arch Linux documentation, so I'll not go through it here. Just remember to choose ext2 as file system.
After everything is installed, reboot.
Here again, you follow this section, 6a, if you are installing all the drivers yourself, and the next section, 6b, if you want to use the custom kernel.
Here's simple instructions on how to install the driver for the wired card here. If you need instructions for the wifi, see further down for instructions.
I'll suppose you have some Linux console knowledge for this. If not, ask in the forum, or search the internet. It's not as difficult as it looks.
First, mount the CD or disk with the files you downloaded in Section 2. Copy the atl2-2.0.3.tar.gz file to a folder on the Eee drive and unpack it:
tar -xzf atl2-2.0.3.tar.gz
Go into the atl-2.0.3 folder and write:
make
Wait. There will be no errors. If there are any errors. Then seek a zen master.
Write:
insmod atl2.ko
Your ethernet card driver is loaded.
Connect the USB drive or insert the CD or SD card where you saved the kernel package. Mount the drive, and go into the directory where the package is. Write as root:
pacman -U kernel26eee*
Then add something similar to this to the file /boot/grub/menu.lst:
title kernel26-eee root (hd0,0) kernel /boot/vmlinuz26-eee root=/dev/sda1 ro
Reboot, and choose kernel26-eee. You now have a kernel which should support all the hardware on the Eee.
Arch Linux is a rolling distro. It's made for being updated regularly. The good thing about this is that you never have to upgrade to the next version. The next version is always what you have after updating. You can install a quite-old CD installer, do a system upgrade, and you will be as up-to-date as anyone else.
First we must connect to the Internet. Here are instructions for connecting to a wired network:
Connect the wire and write either:
dhcpcd eth0
if you have automatic IP, or:
ifconfig eth0 x.x.x.x # x.x.x.x is ip address echo y.y.y.y > /etc/resolv.conf # y.y.y.y is dns address route add default gw z.z.z.z # z.z.z.z is default route
if you have a static IP.
Then for system upgrade write:
pacman -Syu
You'll probably be asked if you want to update pacman before the system upgrade. Say yes to this, and then do a system upgrade again.
The system update is finished. If you chose lilo as boot manager, which you shouldn't have, you have to run this command before rebooting:
lilo
Then reboot.
You can skip this section if you installed the kernel26eee package.
Since you did a system upgrade, and most likely your kernel was updated, the network driver you installed is gone. So you have to go through everything again:
You probably still have the driver source on your Eee. Go there and write:
make clean make cp ath2.ko /lib/modules/2.6.23-ARCH/kernel/drivers/net # Change 2.6.23 as fits depmod
Copy the files madwifi-ng-r2756-20071018.tar.gz and madwifi-ng-0933.ar2425.20071130.i386.patch to a directory and write:
tar -xzf madwifi-ng-r2756-20071018.tar.gz cd madwifi-ng-r2756-20071018 patch -p0 < ../madwifi-ng-0933.ar2425.20071130.i386.patch make make install
You have to get connected to the internet. Install unrar:
pacman -Sy unrar
Copy the files ASUS_ACPI_071126.rar and acpi.patch to a directory and write:
unrar e ASUS_ACPI_071126.rar tar -xzf asus_acpi.tar.gz cd asus_acpi patch -p0 < ../acpi.patch
Edit the first line of the file Makefile so it points to 2.6.23-ARCH or whatever your kernel version is. Then write:
make
When it's finished, write:
cp asus_acpi.ko /lib/modules/2.6.23-ARCH/kernel/drivers/acpi depmod
Copy the linux-uvc directory to the Eee's drive. Write this:
make make install
Write this line in the file /etc/rc.local
echo 1 > /proc/acpi/asus/camera
Now all the Eee-specific things are taken care of. For the rest of getting your Arch Linux running exactly as you want it to, I refer you to the Arch Linux wiki. Good luck. :)
I'll write something here soon, or someone else… Meanwhile look at this forum thread:
http://forum.eeeuser.com/viewtopic.php?id=5855
Pre-prepared images are availabe here http://archeeemage.coderseffigy.com/