root@tate:~# date Thu Jan 1 09:01:42 JST 1970 root@tate:~# date 011219102011 Wed Jan 12 19:10:00 JST 2011 root@tate:~#
ADDRESS=192.168.2.47 NETWORK=192.168.2.0 NETMASK=255.255.255.0 BROADCAST=192.168.2.255 GATEWAY=192.168.2.1 NAMESERVER=192.168.1.2 HOSTNAME=hackkitという部分があります。この部分を環境に合わせます。
変数 | 内容 | デフォルト値 |
ADDRESS | LinkStation の IP アドレス | 192.168.2.47 |
NETWORK | LinkStation を接続するネットワークアドレス | 192.168.2.0 |
NETMASK | LinkStation を接続するネットワークのネットマスク | 255.255.255.0 |
BROADCAST | LinkStation を接続するネットワークのブロードキャストアドレス | 192.168.2.255 |
GATEWAY | デフォルトゲートウェイ | 192.168.2.1 |
NAMESERVER | ネームサーバの IP アドレス | 192.168.1.2 |
HOSTNAME | LinkStation のホスト名 | hackkit |
変更が必要な部分だけを hackkit_config というファイルに書いておく方法もあります。
root@LS-CL701:/mnt/disk1/share/hackkit# cat hackkit_config ADDRESS=192.168.2.47 HOSTNAME=tate root@LS-CL701:/mnt/disk1/share/hackkit#
# cd /mnt/disk1/share/hackkit # sh hackkit_YYMMDD.sh PRODUCTID = 0x00003002 building md... -- rebuild mdadm.conf for BOOT, ROOTFS -- md: md10 stopped. mdadm: /dev/disk2_1 has wrong uuid. mdadm: /dev/disk1_1 has wrong uuid. mdadm: /dev/disk2_2 has wrong uuid. mdadm: /dev/disk1_2 has wrong uuid. md: bind md: bind raid1: raid set md10 active with 2 out of 2 mirrors mdadm: /dev/md10md: md1 stopped. has been started with 2 drives. mdadm: /dev/disk2_1 has wrong uuid. mdadm: /dev/disk1_1 has wrong uuid. md: bind md: bind raid1: raid set md1 active with 2 out of 2 mirrors mdadm: /dev/md1 md: md0 stopped. has been started with 2 drives. md: bind md: bind raid1: raid set md0 active with 2 out of 2 mirrors mdadm: /dev/md0 has been started with 2 drives. -- setup max error counts -- /sys/block/md0/md/maxerr_cnt is setted to -1 /sys/block/md1/md/maxerr_cnt is setted to -1 /sys/block/md10/md/maxerr_cnt is setted to -1 mounting root file system ... XFS mounting filesystem md1 extracting hackkit archive ... ./ ./var/ ./var/lib/ ./var/lib/apt/ ./var/lib/apt/lists/ ./var/lib/apt/lists/partial/ : : ./initrd/ creating /etc/fstab ... creating miconapl ... creating kernelmon ... creating usb ... checking /dev/md0 fsck 1.27 (8-Mar-2002) e2fsck 1.27 (8-Mar-2002) Pass 1: Checking inodes, blocks, and sizes Deleted inode 11 has zero dtime. Fix? yes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information Block bitmap differences: -(32115--32767) -(33264--36711) Fix? yes Free blocks count wrong for group #0 (22842, counted=23495). Fix? yes Free blocks count wrong for group #1 (28824, counted=32272). Fix? yes Free blocks count wrong (211267, counted=215368). Fix? yes Inode bitmap differences: -11 Fix? yes Free inodes count wrong for group #0 (15691, counted=15692). Fix? yes Free inodes count wrong (125675, counted=125676). Fix? yes /dev/md0: ***** FILE SYSTEM WAS MODIFIED ***** /dev/md0: 20/125696 files (5.0% non-contiguous), 35608/250976 blocks mounting /boot ... editing initrd ... 88674+1 records in 88674+1 records out gunziping /mnt/debinst/boot/initrd.gz ... gziping /mnt/debinst/boot/initrd ... wait 5 minutes Image Name: initrd Created: Sat Dec 13 10:23:01 2008 Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 5674707 Bytes = 5541.71 kB = 5.41 MB Load Address: 0x00000000 Entry Point: 0x00000000 unmount /boot ... umount: /mnt/debinst/boot: device is busy umount: /mnt/debinst/boot: device is busy #エラーが出ない※ことを確認します。