miniDebian/Desktop on Compact Flash =================================== Compact Flashから起動できるデスクトップ用途の小さなLinuxです。 DHCPで自動的にネットワークに接続し、X-Windowが起動します。 telnet,ftp,sshだけではなく、mozillaやvncviewerが利用でき ますので、手軽なネットワーク端末として利用していただけます。 普通のDebian GNU/Linuxですから普通に使うことができ、apt-get で自由に拡張できます。 特徴 ==== - 要求リソースが小さい Geode300MHz/128MB + 256MB CF - miniDebian である - Debian GNU/Linux 3.0r2 (apt-getで拡張可能) - Compact Flash bootable (HD不用) - Compact Flashの書き換え回数制限対応 - Window環境 - XFree86 4.3 - icewm - Network client - DHCP - telnet, ftp, ssh - mozilla - xvncviewer - Geodeへの最適化 - 三浦さんの Geode kernel patch - Eric Hustvedtさんの kernel patch (lck patch) - XFree86 "nsc" graphic driver カーネルやXFree86の設定をGeode用にしているため、Geode機に特化したものと なっておりますが、GRUBで汎用のKernelを選択し、XFree86のドライバの設定を 変更することにより、一般的なIntel互換機で動くと思います。 Bootable CFの作り方 =================== % wget http://www.takemaru.com/download/minideb256_20040909.img.gz % gunzip minideb256_20040909.img.gz % su root # dd if=./minideb256_20040909.img of=/dev/hdc Login ===== login : root password : Debian login : user password : user システムの構成詳細 ================== debian:~# df -k Filesystem 1k-blocks Used Available Use% Mounted on /dev/hdc1 242382 206364 23503 90% / tmpfs 32768 116 32652 1% /dev/shm /dev/shm/tmp 32768 116 32652 1% /tmp /dev/shm/tmp 32768 116 32652 1% /var/tmp /dev/shm/lock 32768 116 32652 1% /var/lock /dev/shm/log 32768 116 32652 1% /var/log /dev/shm/run 32768 116 32652 1% /var/run /dev/shm/data 32768 116 32652 1% /data debian:~# mount /dev/hdc1 on / type ext3 (rw,noatime,errors=remount-ro) proc on /proc type proc (rw) tmpfs on /dev/shm type tmpfs (rw,size=32m) /dev/shm/tmp on /tmp type none (rw,bind) /dev/shm/tmp on /var/tmp type none (rw,bind) /dev/shm/lock on /var/lock type none (rw,bind) /dev/shm/log on /var/log type none (rw,bind) /dev/shm/run on /var/run type none (rw,bind) /dev/shm/data on /data type none (rw,bind) debian:~# free total used free shared buffers cached Mem: 123552 30796 92756 0 2048 15116 -/+ buffers/cache: 13632 109920 Swap: 0 0 0 debian:~# ps -efw UID PID PPID C STIME TTY TIME CMD root 1 0 2 00:42 ? 00:00:04 init [2] root 2 1 0 00:42 ? 00:00:00 [keventd] root 3 1 0 00:42 ? 00:00:00 [ksoftirqd_CPU0] root 4 1 0 00:42 ? 00:00:00 [kswapd] root 5 1 0 00:42 ? 00:00:00 [bdflush] root 6 1 0 00:42 ? 00:00:00 [kupdated] root 7 1 0 00:42 ? 00:00:00 [khubd] root 8 1 0 00:42 ? 00:00:00 [kjournald] root 110 1 0 00:42 ? 00:00:00 [eth0] root 121 1 0 00:42 ? 00:00:00 /sbin/dhclient-2.2.x -q eth0 root 180 1 0 00:42 ? 00:00:00 /sbin/syslogd root 183 1 0 00:42 ? 00:00:00 /sbin/klogd root 191 1 0 00:42 ? 00:00:00 /usr/sbin/inetd root 200 1 0 00:42 ? 00:00:00 /usr/sbin/sshd daemon 203 1 0 00:42 ? 00:00:00 /usr/sbin/atd root 206 1 0 00:42 ? 00:00:00 /usr/sbin/cron root 213 1 0 00:42 tty1 00:00:00 /sbin/getty 38400 tty1 root 214 1 0 00:42 tty2 00:00:00 /sbin/getty 38400 tty2 root 215 1 0 00:42 ? 00:00:00 /usr/bin/X11/xdm root 217 215 5 00:42 ? 00:00:10 /usr/X11R6/bin/X vt7 -dpi 100 root 218 215 0 00:42 ? 00:00:00 -:0 root 227 218 0 00:42 ? 00:00:01 x-window-manager root 252 227 0 00:42 ? 00:00:00 /usr/bin/ssh-agent x-window-manager Debian(Woody) package source ============================ debian:~# cat /etc/apt/sources.list ----- # Default deb http://ftp.jp.debian.org/debian/ stable main deb-src http://ftp.jp.debian.org/debian/ stable main deb http://non-us.debian.org/debian-non-US stable/non-US main deb-src http://non-us.debian.org/debian-non-US stable/non-US main deb http://security.debian.org/ stable/updates main # Back ports for Woody deb http://www.backports.org/debian stable all # XFree86 4.3.0 for Woody deb http://people.debian.org/~nobse/xfree86 woody main # Mozilla with gtk1 deb http://debian.stdout.at/ ./ -----