使うのは、ちょっとでも速いかなと LS-XHL。
使い込んでもいないし。
brick:/mnt/share/hackkit# date 022422252009 Tue Feb 24 22:25:00 JST 2009 brick:/mnt/share/hackkit#
brick:/mnt/share/hackkit# mkdir root brick:/mnt/share/hackkit# cd root brick:/mnt/share/hackkit/root# tar zxvf ../hackkit_081209.tar.gz : :速いわ。
brick:/mnt/share/hackkit/root# chroot . brick:/#
brick:/# apt-get update Get:1 http://security.debian.org lenny/updates Release.gpg [189B] Get:2 http://security.debian.org lenny/updates Release [40.7kB] Get:3 http://ftp.jp.debian.org lenny Release.gpg [386B] Get:4 http://ftp.jp.debian.org lenny Release [63.2kB] Ign http://security.debian.org lenny/updates/main Packages/DiffIndex Ign http://security.debian.org lenny/updates/main Sources/DiffIndex Get:5 http://security.debian.org lenny/updates/main Packages [35.4kB] Ign http://ftp.jp.debian.org lenny/main Packages/DiffIndex Ign http://ftp.jp.debian.org lenny/main Sources/DiffIndex Get:6 http://security.debian.org lenny/updates/main Sources [12.0kB] Get:7 http://ftp.jp.debian.org lenny/main Packages [6700kB] Get:8 http://ftp.jp.debian.org lenny/main Sources [2978kB] Fetched 9830kB in 15s (643kB/s) Reading package lists... Done brick:/#速い、速い。
brick:/# apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be upgraded: apt apt-utils aptitude base-files base-passwd debian-archive-keyring dhcp3-client dhcp3-common dpkg ed gcc-4.2-base gcc-4.3-base iptables libattr1 libc6 libcwidget3 libgcc1 libgnutls26 libncurses5 libncursesw5 libpam-modules libpam-runtime libpam0g libreadline5 libssl0.9.8 libstdc++6 locales man-db ncurses-base ncurses-bin openbsd-inetd perl-base procps readline-common rsyslog tasksel tasksel-data xfsprogs 38 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 25.7MB of archives. After this operation, 369kB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://ftp.jp.debian.org lenny/main gcc-4.3-base 4.3.2-1.1 [104kB] Get:2 http://ftp.jp.debian.org lenny/main libgcc1 1:4.3.2-1.1 [23.6kB] Get:3 http://ftp.jp.debian.org lenny/main libstdc++6 4.3.2-1.1 [268kB] : :えーわ、この速さ。
Installing new version of config file /etc/init.d/procps ... Installing new version of config file /etc/sysctl.conf ... Setting kernel variables (/etc/sysctl.conf)...Error: /proc must be mounted To mount /proc at boot you need an /etc/fstab line like: /proc /proc proc defaults In the meantime, run "mount /proc /proc -t proc" failed. Setting up locales (2.7-18) ... Generating locales (this might take a while)... ja_JP.EUC-JP... done ja_JP.UTF-8... done Generation complete. Setting up openbsd-inetd (0.20080125-2) ... Installing new version of config file /etc/init.d/openbsd-inetd ... Stopping internet superserver: inetd. Starting internet superserver: inetd. Setting up xfsprogs (2.9.8-1lenny1) ... Setting up tasksel-data (2.78) ... Setting up tasksel (2.78) ... brick:/#あら、エラーになった。
brick:/# exit exit brick:/mnt/share/hackkit/root# cd .. brick:/mnt/share/hackkit# mv root root.bad brick:/mnt/share/hackkit# rm -fr root.bad & [1] 8015 brick:/mnt/share/hackkit#リネームしてバックグラウンドで消すと並行処理できる。
brick:/mnt/share/hackkit# mkdir root brick:/mnt/share/hackkit# cd root brick:/mnt/share/hackkit/root# tar zxvf ../hackkit_081209.tar.gz : :ジェイルなので、気楽にやり直しができてよい。
./media/ ./initrd/ [1]+ Done rm -fr root.bad (wd: /mnt/share/hackkit) (wd now: /mnt/share/hackkit/root) brick:/mnt/share/hackkit/root# brick:/mnt/share/hackkit/root# chroot . brick:/#/proc をマウントする
brick:/# mount /proc /proc -t proc brick:/# brick:/# apt-get update : : brick:/# apt-get upgrade : : Setting up procps (1:3.2.7-11) ... Installing new version of config file /etc/init.d/procps ... Installing new version of config file /etc/sysctl.conf ... Setting kernel variables (/etc/sysctl.conf)...done. Setting up locales (2.7-18) ... Generating locales (this might take a while)... ja_JP.EUC-JP... done ja_JP.UTF-8... done Generation complete. Setting up openbsd-inetd (0.20080125-2) ... Installing new version of config file /etc/init.d/openbsd-inetd ... Stopping internet superserver: inetd. Starting internet superserver: inetd. Setting up xfsprogs (2.9.8-1lenny1) ... Setting up tasksel-data (2.78) ... Setting up tasksel (2.78) ... brick:/#今度は成功。
brick:/# apt-get clean brick:/#
brick:/# exit exit brick:/mnt/share/hackkit/root# rm root/.bash_history brick:/mnt/share/hackkit/root# rm -fr var/log/* brick:/mnt/share/hackkit/root#
brick:/mnt/share/hackkit/root# tar zcvf ../hackkit_090224.tar.gz . : :できた。
yasunari@ude:/home/linkstation/HackKit/unified$ diff -c hackkit_090223.sh hackki t_090224.sh *** hackkit_090223.sh Mon Feb 23 20:48:53 2009 --- hackkit_090224.sh Tue Feb 24 22:55:20 2009 *************** *** 18,24 **** fi WORK=/mnt/disk1/share/hackkit ! HACKKIT=$WORK/hackkit_081209.tar.gz MOUNTPOINT=/mnt/debinst BOOTPARTITION=/dev/sdb1 --- 18,24 ---- fi WORK=/mnt/disk1/share/hackkit ! HACKKIT=$WORK/hackkit_090224.tar.gz MOUNTPOINT=/mnt/debinst BOOTPARTITION=/dev/sdb1 yasunari@ude:/home/linkstation/HackKit/unified$
さあ、全機種動作確認せねば。すんなりいけばいいのだが。。。
← LS-1.0TGL-R |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ LS-XHLシリーズ ファームウェア アップデータ Ver.1.04β |