玄箱初期イメージをバックアップ
まず最初に、玄箱のHDDの初期イメージをバックアップしておきます。
玄箱の初期化されたHDDをとりはずし、ボロPCのスレーブに取り付ける。fdiskで、HDDのパーティションを見てみます。
# fdisk /dev/hdb The number of cylinders for this disk is set to 19457. 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): p Disk /dev/hdb: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hdb1 1 261 2096451 83 Linux /dev/hdb2 262 293 257040 82 Linux swap / Solaris /dev/hdb3 294 19457 153934830 83 Linux Command (m for help): q
してみると、/dev/hda1がルート、/dev/hda3が共有ファイル用、/dev/hda2がスワップということでしょうか。
/dev/hdb1と/dev/hdb3をマウントして、バックアップしておきます。
# mkdir /mnt/kuro_hda1 /mnt/kuro_hda3 # mount /dev/hdb1 /mnt/kuro_hda1 # mount /dev/hdb3 /mnt/kuro_hda3 # cd /mnt/kuro_hda1 # tar zcvf /home/kuro/kuro_hda1.tgz . # cd /mnt/kuro_hda3 # tar zcvf /home/kuro/kuro_hda3.tgz .
パーティションを切り直して、これを戻してやれば、立ち上がるだろうか?
CD-ROMのversion.txtを見ると、このイメージは、1.01のようです。玄人志向の1.02のアップデータがあったので、これを当てて、/dev/hda1をkuro_hda1_102.tgzとして再度バックアップしました。
眠くなったので、とりあえず今日はここまで。

先日、衝動買いした玄箱です。