LS-GL/HS-DHGL ハックキット 2.0 作り直し

HS-DHGL LS-GL

xfsprog を入れてアーカイブを作り直す。
もう何回目か。

アーカイブの作り直し

chroot

いつものハックキット作成環境へ chroot する。
ude:/mnt/share/HackKit-2.00# chroot .
ude:/#

apt-get update

インストール前には apt-get update
ude:/# apt-get update
Get:1 http://ftp2.jp.debian.org etch Release.gpg [378B]
Get:2 http://security.debian.org etch/updates Release.gpg [189B]
Get:3 http://ftp2.jp.debian.org etch-proposed-updates Release.gpg [189B]
Get:4 http://security.debian.org etch/updates Release [22.5kB]
Get:5 http://ftp2.jp.debian.org etch/updates Release.gpg [189B]
Get:6 http://ftp2.jp.debian.org etch Release [58.2kB]
Ign http://security.debian.org etch/updates/main Packages/DiffIndex
Ign http://security.debian.org etch/updates/contrib Packages/DiffIndex
Ign http://security.debian.org etch/updates/non-free Packages/DiffIndex
Ign http://security.debian.org etch/updates/main Sources/DiffIndex
Ign http://security.debian.org etch/updates/contrib Sources/DiffIndex
Ign http://security.debian.org etch/updates/non-free Sources/DiffIndex
Get:7 http://security.debian.org etch/updates/main Packages [60.0kB]
Hit http://security.debian.org etch/updates/contrib Packages
Hit http://security.debian.org etch/updates/non-free Packages
Get:8 http://security.debian.org etch/updates/main Sources [9339B]
Hit http://security.debian.org etch/updates/contrib Sources
Hit http://security.debian.org etch/updates/non-free Sources
Get:9 http://ftp2.jp.debian.org etch-proposed-updates Release [57.1kB]
Get:10 http://ftp2.jp.debian.org etch/updates Release [22.5kB]
Ign http://ftp2.jp.debian.org etch/main Packages/DiffIndex
Ign http://ftp2.jp.debian.org etch/contrib Packages/DiffIndex
Ign http://ftp2.jp.debian.org etch/non-free Packages/DiffIndex
Ign http://ftp2.jp.debian.org etch/main Sources/DiffIndex
Ign http://ftp2.jp.debian.org etch/contrib Sources/DiffIndex
Ign http://ftp2.jp.debian.org etch/non-free Sources/DiffIndex
Get:11 http://ftp2.jp.debian.org etch-proposed-updates/main Packages/DiffIndex [2023B]
Get:12 http://ftp2.jp.debian.org etch-proposed-updates/contrib Packages/DiffIndex [2023B]
Get:13 http://ftp2.jp.debian.org etch-proposed-updates/non-free Packages/DiffIndex [919B]
Get:14 http://ftp2.jp.debian.org etch-proposed-updates/main Sources/DiffIndex [2023B]
Get:15 http://ftp2.jp.debian.org etch-proposed-updates/contrib Sources/DiffIndex [919B]
Get:16 http://ftp2.jp.debian.org etch-proposed-updates/non-free Sources/DiffIndex [919B]
Hit http://ftp2.jp.debian.org etch/main Packages
Hit http://ftp2.jp.debian.org etch/contrib Packages
Hit http://ftp2.jp.debian.org etch/non-free Packages
Hit http://ftp2.jp.debian.org etch/main Sources
Hit http://ftp2.jp.debian.org etch/contrib Sources
Hit http://ftp2.jp.debian.org etch/non-free Sources
Ign http://ftp2.jp.debian.org etch/updates/main Packages/DiffIndex
Ign http://ftp2.jp.debian.org etch/updates/contrib Packages/DiffIndex
Ign http://ftp2.jp.debian.org etch/updates/non-free Packages/DiffIndex
Ign http://ftp2.jp.debian.org etch/updates/main Sources/DiffIndex
Ign http://ftp2.jp.debian.org etch/updates/contrib Sources/DiffIndex
Ign http://ftp2.jp.debian.org etch/updates/non-free Sources/DiffIndex
Get:17 http://ftp2.jp.debian.org etch-proposed-updates/main 2007-05-24-2019.29.pdiff [13.3kB]
Get:18 http://ftp2.jp.debian.org etch-proposed-updates/main 2007-05-24-2019.29.pdiff [4815B]
Get:19 http://ftp2.jp.debian.org etch-proposed-updates/main 2007-05-24-2019.29.pdiff [13.3kB]
Get:20 http://ftp2.jp.debian.org etch-proposed-updates/main 2007-05-24-2019.29.pdiff [4815B]
Get:21 http://ftp2.jp.debian.org etch-proposed-updates/main 2007-05-24-2019.29.pdiff [13.3kB]
Get:22 http://ftp2.jp.debian.org etch-proposed-updates/main 2007-05-24-2019.29.pdiff [4815B]
Get:23 http://ftp2.jp.debian.org etch/updates/main Packages [60.0kB]
Hit http://ftp2.jp.debian.org etch/updates/contrib Packages
Hit http://ftp2.jp.debian.org etch/updates/non-free Packages
Get:24 http://ftp2.jp.debian.org etch/updates/main Sources [9339B]
Hit http://ftp2.jp.debian.org etch/updates/contrib Sources
Hit http://ftp2.jp.debian.org etch/updates/non-free Sources
Get:25 http://ftp2.jp.debian.org etch-proposed-updates/main 2007-05-25-0838.42.pdiff [5873B]
Get:26 http://ftp2.jp.debian.org etch-proposed-updates/main 2007-05-25-0838.42.pdiff [5873B]
Get:27 http://ftp2.jp.debian.org etch-proposed-updates/main 2007-05-25-0838.42.pdiff [5873B]
Get:28 http://ftp2.jp.debian.org etch-proposed-updates/main 2007-05-25-0838.42.pdiff [816B]
Get:29 http://ftp2.jp.debian.org etch-proposed-updates/main 2007-05-25-0838.42.pdiff [816B]
Get:30 http://ftp2.jp.debian.org etch-proposed-updates/main 2007-05-25-0838.42.pdiff [816B]
Get:31 http://ftp2.jp.debian.org etch-proposed-updates/main 2007-05-28-2020.14.pdiff [2645B]
Get:32 http://ftp2.jp.debian.org etch-proposed-updates/main 2007-05-28-2020.14.pdiff [2645B]
Get:33 http://ftp2.jp.debian.org etch-proposed-updates/main 2007-05-28-2020.14.pdiff [2645B]
Get:34 http://ftp2.jp.debian.org etch-proposed-updates/main 2007-06-02-0811.08.pdiff [1238B]
Get:35 http://ftp2.jp.debian.org etch-proposed-updates/main 2007-06-02-0811.08.pdiff [1238B]
Get:36 http://ftp2.jp.debian.org etch-proposed-updates/main 2007-06-02-0811.08.pdiff [1238B]
Get:37 http://ftp2.jp.debian.org etch-proposed-updates/main 2007-06-02-2017.14.pdiff [29.9kB]
Get:38 http://ftp2.jp.debian.org etch-proposed-updates/main 2007-06-02-2017.14.pdiff [29.9kB]
Get:39 http://ftp2.jp.debian.org etch-proposed-updates/main 2007-06-02-2017.14.pdiff [29.9kB]
Get:40 http://ftp2.jp.debian.org etch-proposed-updates/main 2007-06-02-2017.14.pdiff [2945B]
Get:41 http://ftp2.jp.debian.org etch-proposed-updates/main 2007-06-02-2017.14.pdiff [2945B]
Get:42 http://ftp2.jp.debian.org etch-proposed-updates/main 2007-06-02-2017.14.pdiff [2945B]
Fetched 370kB in 17s (20.7kB/s)
Reading package lists... Done
W: Conflicting distribution: http://ftp2.jp.debian.org etch-proposed-updates Release (expected etch-proposed-updates but got proposed-updates)
W: You may want to run apt-get update to correct these problems
ude:/#
なんだか警告が。以前は出ていなかったのに、、、

source.list の修正

/etc/apt/source.list の etch-proposed-updates を proposed-updates に 修正する。

もう一度 apt-get update

ude:/etc/apt# apt-get update
	:
	:
Hit http://security.debian.org etch/updates/non-free Sources
Fetched 137kB in 2s (50.2kB/s)
Reading package lists... Done
ude:/etc/apt#
今度は警告もなく終了。

xfsprog のインストール

ude:/# apt-get install xfsprogs
Reading package lists... Done
Building dependency tree... Done
Suggested packages:
  xfsdump attr dvhtool quota
The following NEW packages will be installed:
  xfsprogs
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1385kB of archives.
After unpacking 2986kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  xfsprogs
Install these packages without verification [y/N]? y
Get:1 http://ftp2.jp.debian.org etch/main xfsprogs 2.8.11-1 [1385kB]
Fetched 1385kB in 2s (633kB/s)
Selecting previously deselected package xfsprogs.
(Reading database ... 8614 files and directories currently installed.)
Unpacking xfsprogs (from .../xfsprogs_2.8.11-1_arm.deb) ...
Setting up xfsprogs (2.8.11-1) ...

ude:/#

ついでに apt-get upgrade

ude:/# apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
The following packages will be upgraded:
  libc6 locales nano
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 8362kB of archives.
After unpacking 109kB disk space will be freed.
Do you want to continue [Y/n]? y
Get:1 http://ftp2.jp.debian.org proposed-updates/main libc6 2.3.6.ds1-13etch2 [3847kB]
Get:2 http://ftp2.jp.debian.org proposed-updates/main nano 2.0.2-1etch1 [549kB]
Get:3 http://ftp2.jp.debian.org proposed-updates/main locales 2.3.6.ds1-13etch2 [3967kB]
Fetched 8362kB in 7s (1067kB/s)
Preconfiguring packages ...
(Reading database ... 8660 files and directories currently installed.)
Preparing to replace libc6 2.3.6.ds1-13 (using .../libc6_2.3.6.ds1-13etch2_arm.deb) ...
Unpacking replacement libc6 ...
Setting up libc6 (2.3.6.ds1-13etch2) ...

(Reading database ... 8660 files and directories currently installed.)
Preparing to replace nano 2.0.2-1 (using .../nano_2.0.2-1etch1_arm.deb) ...
Unpacking replacement nano ...
Preparing to replace locales 2.3.6.ds1-13 (using .../locales_2.3.6.ds1-13etch2_all.deb) ...
Unpacking replacement locales ...
Setting up nano (2.0.2-1etch1) ...

Setting up locales (2.3.6.ds1-13etch2) ...
Generating locales (this might take a while)...
  ja_JP.EUC-JP...
  ja_JP.UTF-8... done
Generation complete.

ude:/#

less も入れとこ

ude:/# apt-get install less
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
  less
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 113kB of archives.
After unpacking 283kB of additional disk space will be used.
Get:1 http://ftp2.jp.debian.org etch/main less 394-4 [113kB]
Fetched 113kB in 0s (334kB/s)
Selecting previously deselected package less.
(Reading database ... 8660 files and directories currently installed.)
Unpacking less (from .../archives/less_394-4_arm.deb) ...
Setting up less (394-4) ...

ude:/# 

掃除

ude:/# apt-get clean
ude:/#

exit

ude:/# exit
exit
ude:/mnt/share/HackKit-2.00#

ヒストリを消す

ude:/mnt/share/HackKit-2.00# rm root/.bash_history
ude:/mnt/share/HackKit-2.00#

アーカイブの作成

ude:/mnt/share/HackKit-2.00# tar zcvf ../LS-GL_hackkit_2.00.tar.gz .
	:

インストール

もう何度目か、インストールして確認。

起動

標準ファーム 1.10 の入った HDD を接続して起動

LS-GL ハックキットのファイルの転送

ログイン

カスタマイズ

必要なし

HDD の接続

また、ファームウェア 1.02 の時に使った HDD を接続

パーティションの設定

この間、ファームウェア 1.02 の時に使った HDD なので、 既にパーティションは切ってある。

インストール

スクリプトを実行

LS-160GL
楽天市場
Amazon
Yahoo!ショッピング
ソフマップ
ツクモネットショプ
livedoor デパート
ドスパラ


HS-DH320GL
楽天市場
Yahoo!ショッピング
somap.com
TSUKUMO ネットショップ
ValuMore!
ムラウチドットコム
アット・ニフティストア icon
Joshin web icon


LS-GL ファームウェア 1.10 でハックキット 2.0
ハックの記録
LinkStation/玄箱 をハックしよう

フライング?

Copyright (C) 2003-2007 Yasunari Yamashita. All Rights Reserved.
yasunari @ yamasita.jp 山下康成@京都府向日市