ログインできるようにするは、もうできているので、 次の インストールの手順から実行する。
root@LS-HGL487:~# ls /mnt/disk1/share/debian/ LS-HGL_hackkit_1.00.sh LS-HGL_hackkit_1.00.tar.gz root@LS-HGL487:~#
root@LS-HGL487:~# date Thu Nov 1 00:02:45 JST 2007 root@LS-HGL487:~# date 081317252008 Wed Aug 13 17:25:00 JST 2008 root@LS-HGL487:~#
root@LS-HGL487:~# head /mnt/disk1/share/debian/LS-HGL_hackkit_1.00.sh #! /bin/sh -x ADDRESS=192.168.2.44 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 root@LS-HGL487:~#
root@LS-HGL487:~# tail -f /var/log/messages : : /sbin/hotplug [usb] /sbin/hotplug [usb] /sbin/hotplug [scsi_host] /sbin/hotplug [usb_device] Aug 13 17:29:56 LS-HGL487 kernel: usb 1-1: new high speed USB device using ehci_platform and address 2 Aug 13 17:29:56 LS-HGL487 kernel: usb 1-1: configuration #1 chosen from 1 choice Aug 13 17:29:56 LS-HGL487 kernel: scsi2 : SCSI emulation for USB Mass Storage devices Vendor: ST325082 Model: 3ND06QAZ Rev: Type: Direct-Access ANSI SCSI revision: 02 /sbin/hotplug [scsi] SCSI device sdb: 488397168 512-byte hdwr sectors (250059 MB) sdb: Write Protect is off sdb: assuming drive cache: write through /sbin/hotplug [block] SCSI device sdb: 488397168 512-byte hdwr sectors (250059 MB) sdb: Write Protect is off sdb: assuming drive cache: write through /sbin/hotplug [block] /sbin/hotplug [block] sd 2:0:0:0: Attached scsi disk sdb /sbin/hotplug [block] /sbin/hotplug [block] sd 2:0:0:0: Attached scsi generic sg1 type 0 /sbin/hotplug [scsi_generic] /sbin/hotplug [scsi_device] Aug 13 17:30:01 LS-HGL487 kernel: Vendor: ST325082 Model: 3ND06QAZ Rev: Aug 13 17:30:01 LS-HGL487 kernel: Type: Direct-Access ANSI SCSI revision: 02 Aug 13 17:30:01 LS-HGL487 kernel: SCSI device sdb: 488397168 512-byte hdwr sectors (250059 MB) Aug 13 17:30:01 LS-HGL487 kernel: sdb: Write Protect is off Aug 13 17:30:01 LS-HGL487 kernel: sdb: assuming drive cache: write through Aug 13 17:30:01 LS-HGL487 kernel: SCSI device sdb: 488397168 512-byte hdwr sectors (250059 MB) Aug 13 17:30:01 LS-HGL487 kernel: sdb: Write Protect is off Aug 13 17:30:01 LS-HGL487 kernel: sdb: assuming drive cache: write through Aug 13 17:30:01 LS-HGL487 kernel: sdb: sdb1 sdb2 sdb3 sdb4 Aug 13 17:30:01 LS-HGL487 kernel: sd 2:0:0:0: Attached scsi disk sdb Aug 13 17:30:01 LS-HGL487 kernel: sd 2:0:0:0: Attached scsi generic sg1 type 0 DEVNAME=sdb 2 GUID=152d23380000222238d061a0 usb_disk1=152d23380000222238d061a0 in mount_usbdisk(): param 1 BASENAME=usbdisk1 MPT=/mnt/usbdisk1/ /sbin/hotplug [module] /sbin/hotplug [module] FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive! FAT: bogus number of reserved sectors /sbin/hotplug [block] EXT3-fs warning: maximal mount count reached, running e2fsck is recommended /sbin/hotplug [block] ## STATE_CHANGED ## Aug 13 17:30:07 LS-HGL487 kernel: FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive! Aug 13 17:30:07 LS-HGL487 kernel: FAT: bogus number of reserved sectors Aug 13 17:30:07 LS-HGL487 kernel: VFS: Can't find a valid FAT filesystem on dev sdb. Aug 13 17:30:07 LS-HGL487 kernel: kjournald starting. Commit interval 5 seconds Aug 13 17:30:07 LS-HGL487 kernel: EXT3-fs warning: maximal mount count reached, running e2fsck is recommended Aug 13 17:30:08 LS-HGL487 kernel: EXT3 FS on sdb1, internal journal Aug 13 17:30:08 LS-HGL487 kernel: EXT3-fs: mounted filesystem with ordered data mode. Aug 13 17:30:11 LS-HGL487 nmbd[1271]: [2008/08/13 17:30:11, 0] nmbd/nmbd.c:terminate(58) Aug 13 17:30:11 LS-HGL487 nmbd[1271]: Got SIGTERM: going down... /sbin/hotplug [module] /sbin/hotplug [module] /sbin/hotplug [module] Aug 13 17:30:11 LS-HGL487 kernel: NET: Registered protocol family 5自動的にマウントされるので、アンマウントする。
root@LS-HGL487:~# df Filesystem 1k-blocks Used Available Use% Mounted on /dev/root.old 15351 14796 555 96% /initrd /dev/sda2 4994004 245496 4748508 5% / /dev/ram1 15360 104 15256 1% /mnt/ram /dev/sda1 988212 24436 963776 2% /boot /dev/sda6 237067816 340728 236727088 0% /mnt/disk1 /dev/usbdisk1_1 194443 11628 172776 6% /mnt/usbdisk1 root@LS-HGL487:~# umount /mnt/usbdisk1/ /sbin/hotplug [block] root@LS-HGL487:~#
root@LS-HGL487:~# fdisk /dev/sdb The number of cylinders for this disk is set to 30401. 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/sdb: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdb1 1 25 200781 83 Linux /dev/sdb2 26 281 2056320 83 Linux /dev/sdb3 282 313 257040 82 Linux swap /dev/sdb4 314 30401 241681860 83 Linux Command (m for help): q root@LS-HGL487:~#
root@LS-HGL487:~# cd /mnt/disk1/share/debian/ root@LS-HGL487:/mnt/disk1/share/debian# sh LS-HGL_hackkit_1.00.sh formating hard drive ... mke2fs 1.27 (8-Mar-2002) Filesystem label= OS type: Linux Block size=1024 (log=0) Fragment size=1024 (log=0) 50200 inodes, 200781 blocks 10039 blocks (5.00%) reserved for the super user First data block=1 25 block groups 8192 blocks per group, 8192 fragments per group 2008 inodes per group Superblock backups stored on blocks: 8193, 24577, 40961, 57345, 73729 Writing inode tables: done Creating journal (4096 blocks): done Writing superblocks and filesystem accounting information: : : :creating miconapl ... creating usb ... creating kernelmon ... creating network_interfaces ... creating resolv.conf ... creating hosts ... creating hostname ... /sbin/hotplug [block] root@LS-HGL487:/mnt/disk1/share/debian#
|
← LS-HGLシリーズファームウェア Ver.1.04 のインストール |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ 標準ファーム Ver.1.04 でハックキット(2)最初の設定 |