日記/2007-04-22 の変更点


*玄箱Debian化 [#od0d1721]
**まずはDebianWoody化 [#p5931446]
***玄箱側の準備 [#s2b9272f]
+EMモードにする
++電源が入った状態で裏のリセットボタンを前面のランプが全点灯するまで押し続ける。
++電源ボタンを押し電源を切る。
++電源を投入する。
***ホスト側の準備 [#k0fc6167]
+[[玄箱うぉううぉう♪>http://kuro.dsk.jp/]]のサイトからimageを落とす。
+落としたイメージのファイル名を「debian_日付.tgz」から「tmpimage.tgz」へ変更する。
+その「tmpimage.tgz」をZip圧縮し「image.zip」とする。
+「KuroBoxSetup.exe」のあるディレクトリの「image.zip」と置き換える。
+ホスト側のIPを「192.168.11.0」のネットワークに設定する。(ex.192.168.11.1など)
+玄箱とクロスケーブルで接続
+「KuroBoxSetup.exe」を起動させセットアップする。
++このとき、ほかのイーサネットアダプタは切っておく
++無線も同じ
+Woody化完了
**Sarge化 [#m6cfa3c3]
+まずはネットにつなげるように設定する
++「/etc/hosts」「/etc/hosts.allow」[/etc/resolv]「/etc/network/interface」を変更する
++「ifdown eth0 ; ifup eth0」をし変更を適用させる。
++設定したIPでログインする
+apt-getを設定する
++「/etc/apt/source.list」を変更する
++「deb http://archive.debian.org/debian-archive/ woody contrib main non-free」のみに変更する。
++「apt-get update」が実行できることを確認する
**Sage化する [#fdd8c45f]
***Sage化する [#fdd8c45f]
詳細は[[Debian GNU/Linux 3.1 (`sarge') リリースノート (PowerPC 用) >http://www.jp.debian.org/releases/sarge/powerpc/release-notes/]]
を参照

+「apt-get update」を実行する。
+「apt-get install aptitude」を導入する
+「apt-get upgrade」を実行する
+「aptitude install aptitude」を実行する
+「aptitude -f --with-recommends dist-upgrade」する。
**etchへアップグレードする [#i6872f76]
詳細は[[Release Notes for Debian GNU/Linux 4.0 ("etch"), PowerPC>http://www.jp.debian.org/releases/stable/powerpc/release-notes/]]
を参照

+aptのSource.listを早いサーバーにする
++「aptitude install apt-spy」を実行する
++「apt-spy -s jp -d (Dist名ex.etsh or stable)」を実行する
++これで、「/etc/apt/source.list」が更新された。
+開始
++「aptitude update」を実行する
++「aptitude -y -s -f --with-recommends dist-upgrade」を実行
++「aptitude upgrade」を実行
++「aptitude install linux-image-2.6-(Arch名ex.powerpc)」を実行
++「aptitude dist-upgrade」を実行
++「aptitude update」を実行
++終了