Asus B202 mit Debian Linux
Entgegen den Aussagen auf der Debian-EEE Mailingliste funktioniert das Installations-Image wunderbar mit dem Asus EEE B202. Man läd sich einfach nur das aktuelle (Stand Dezember 2008) 16MB Image herunter und kopiert dieses auf eine SD-Card (ich benutze dafür eine 64MB mini-SD Karte in einem SD-Adapter). Wie das geht, steht hier beschrieben: http://wiki.debian.org/DebianEeePC/HowTo/Install
Aufbau & Inhalt der Festplatte
Vor dem Neuinstallieren mit Linux sollte man sich jedoch den Inhalt der Platte sichern, falls man ihn später mal irgendwann wieder braucht.
Hier der Aufbau der 160GB Festplatte in meinem Asus EEE B202:
# fdisk /dev/sdb The number of cylinders for this disk is set to 19457. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): p Disk /dev/sdb: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x01320131 Device Boot Start End Blocks Id System /dev/sdb1 * 1 5222 41945683+ 7 HPFS/NTFS /dev/sdb2 5223 5605 3076447+ 1b Hidden W95 FAT32 /dev/sdb3 5606 19457 111266190 f W95 Ext'd (LBA) /dev/sdb5 5606 19457 111266158+ 7 HPFS/NTFS Command (m for help): q
Wichtig scheint mir dabei nur die Partition 2 zu sein. Darauf befindet sich nämlich ein Norton Ghost nebst 2.3GB grossem Image, welches vermutlich die originale Installation ist (habe es aber nicht ausprobiert).
Der Inhalt der Partition 2 (NTFS) sieht so aus:
# ls -la /mnt/partition2/ total 2429712 drwx------ 1 root root 4096 2008-10-08 14:52 . drwxr-xr-x 6 root root 4096 2008-12-19 20:32 .. -rw------- 1 root root 2478224280 2008-06-19 05:51 ASUS.GHO -rw------- 1 root root 2770568 2006-12-04 08:32 GDISK32.EXE -rw------- 1 root root 5283464 2006-12-04 08:32 GHOST32.EXE drwx------ 1 root root 4096 2008-09-01 19:41 MININT -rw------- 1 root root 42 2007-05-03 11:22 NOTE.TXT -rw------- 1 root root 47772 2005-03-25 12:00 NTDETECT.COM -rw------- 1 root root 298096 2005-03-25 12:00 NTLDR drwx------ 1 root root 4096 2008-09-01 19:41 PERECOVER -rw------- 2 root root 889344 2007-01-30 03:04 PERECOVER.EXE -rw------- 2 root root 68 2007-05-03 10:23 PERECOVER.INI -rw------- 1 root root 84 2007-05-03 11:19 RCDGHOST.BAT drwx------ 1 root root 0 2008-10-08 14:52 System Volume Information -rw------- 1 root root 480467 2007-01-23 11:57 TXTSETUP.SIF -rw------- 1 root root 10 2005-03-25 12:00 WIN51 -rw------- 1 root root 10 2005-03-25 12:00 WIN51IS -rw------- 1 root root 10 2005-03-25 12:00 WIN51IS.SP1 -rw------- 1 root root 243 2006-03-08 01:21 WINBOM.INI
Vorbereiten der SD-Karte
Versuche hatten gezeigt, dass der Asus EEE B202 Probleme beim Booten vom USB-Stick bereitet. Zwar gibt es einige Blog- und Foren-Berichte, in denen von erfolgreichem Installieren via Stick gesprochen wurde, aber bei mir klappte das nicht.
Egal, welchen Stick ich ausprobierte, das System bootete immer in das chinesische Windows auf der Platte, obwohl die Settings im BIOS korrekt eingestellt waren. Dabei war es auch irrelevant, ob der Stick vorne oder hinten in den USB-Slot gesteckt wurde.
Geklappt hat es dann letztendlich mit SD-Karten: auch hier hatte ich verschiedene zur Auswahl, aber es ging mit allen. Ich empfehle also diese Methode.
Zum Installieren verwendete ich das Image debian-eeepc_20081207.img aus dem Dezember 2008, welches ich mit dd auf den Stick beförderte1):
dd if=debian-eeepc_20081207.img of=/dev/sdb
Booten von SD-Karte und installieren
.. bla bla bla
X11 Einrichten
.. bla bla bla
#
# X11 Konfiguration - asus-eee
#
# /etc/X11/xorg.conf
#
Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/usr/share/fonts/X11/misc"
EndSection
Section "Module"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "glx"
Load "int10"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
# Option "Emulate3Buttons" "true"
EndSection
Section "Device"
Identifier "Card0"
Driver "vesa"
VendorName "Intel Corporation"
BoardName "Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller"
# BusID "PCI:0:2:0"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
DisplaySize 338 211 # 96 DPI @ 1280x800
Option "DPMS"
HorizSync 28-64
VertRefresh 43-60
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Card0"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 16
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
Section "DRI"
Mode 0666
EndSection

