OpenBlockSSのHDD起動
用意するもの
- OpenBlockSS本体 (定価59800円が、2002年歳末大特価で45800円)
- IBMの2.5インチHDD 20MB (「24時間連続運転をサポート」だったので、IC25N020ATCS05を買う。)
HDDの取り付け
OpenBlockSSを分解し、コンパクトフラッシュスロットを取り外してからHDDを取り付ける。
コンパクトフラッシュスロットの取り外しは慎重に!
HDDの取り付け自体は簡単でした。HDDを取り付けるネジはコンパクトフラッシュスロットを取り外したときについていたネジを使います。
ファームウェアのアップデート
まず電源を入れて telnet で OpenBlockSS にログインしてください。
ファームウェアのアップデート方法は、買ったときについてきた紙を参考のこと。
2003/01/07にダウンロードしたバージョンを入れた状態
[root]# uname -a
Linux LinuxServer.localdomain.co.jp 2.4.10 #1 Wed Oct 16 15:44:03 JST
2002 ppc unknown |
2003/04/13にダウンロードしたバージョンを入れた状態
[root]# uname --all
Linux LinuxServer.localdomain.co.jp 2.4.10 #1 Mon Mar 31 13:12:06 JST 2003
ppc unknown
|
HDDの設定
HDDの設定作業は、ユーザーズガイドの第4章にある「ハードディスクからのブート」を読めば、特に難しいことはありませんでした。
下記はfdiskの実行についてですが、コマンドの詳細な説明はどこか詳しいページでも探してください。
パーティションの切り直しはいくらでもできるので、fdiskの操作がよくわからない方は、ハードディスクイメージを入れる前にいろいろ試してみましょう。コマンドは、p,
n, t ぐらいしか使わないと思います。
[root]# fdisk /dev/hda
The number of cylinders for this disk is set to 38760.
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): m
Command action
a toggle a bootable flag
b edit bsd disklabel
c toggle the dos compatibility flag
d delete a partition
l list known partition types
m print this menu
n add a new partition
o create a new empty DOS partition table
p print the partition table
q quit without saving changes
s create a new empty Sun disklabel
t change a partition's system id
u change display/entry units
v verify the partition table
w write table to disk and exit
x extra functionality (experts only)
|
私の最終的な状態。
Command (m for help): p
Disk /dev/hda: 16 heads, 63 sectors, 38760 cylinders
Units = cylinders of 1008 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 38500 19403968+ 83 Linux
/dev/hda2 38501 38760 131040 82 Linux swap
|
HDD起動に変更
HDDのパーティションを切り終わったら、ハードディスクイメージを入れ、起動をHDDに変更すれば基本的な設定は終了。
/etc/hosts
/etc/hosts に自分のマシン名を入れる。
127.0.0.1 localhost localhost.localdomain
192.168.1.10 server1 server1.xxx.net
|
追加パッケージ
http://openlab.plathome.co.jp/OpenBlockSS/download.html にある追加パッケージを必要に応じてインストールする。