LS-HGL には USB ポートがあるので、、、ごにょごにょ。
BUFFALO INC. LinkStation series LS-HGL(SUININ) LS-HGL487 login: root root@LS-HGL487:~#
root@LS-HGL487:~# cd /mnt/disk1/share/debian/ root@LS-HGL487:/mnt/disk1/share/debian# ls -al drwxrwxrwx 2 nobody nogroup 68 Nov 1 00:13 . drwxrwxrwx 5 root root 40 Nov 1 00:13 .. -rwxr--r-- 1 root root 7292 Apr 5 2008 LS-HGL_hackkit_1.00.sh -rw-r--r-- 1 root root 70511788 Mar 17 2008 LS-HGL_hackkit_1.00.tar.gz root@LS-HGL487:/mnt/disk1/share/debian#何度もインストールしているので、既に置いてある。
root@LS-HGL487:/mnt/disk1/share/debian# head 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:/mnt/disk1/share/debian#
root@LS-HGL487:/mnt/disk1/share/debian# tail -f /var/log/messages : : /sbin/hotplug [usb] /sbin/hotplug [scsi_host] /sbin/hotplug [usb_device] /sbin/hotplug [usb] Jul 5 09:39:26 LS-HGL487 kernel: usb 1-1: new high speed USB device using ehci_platform and address 2 Jul 5 09:39:26 LS-HGL487 kernel: usb 1-1: configuration #1 chosen from 1 choice Jul 5 09:39:26 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] /sbin/hotplug [block] sd 2:0:0:0: Attached scsi disk sdb /sbin/hotplug [block] sd 2:0:0:0: Attached scsi generic sg1 type 0 /sbin/hotplug [scsi_generic] /sbin/hotplug [scsi_device] Jul 5 09:39:31 LS-HGL487 kernel: Vendor: ST325082 Model: 3ND06QAZ Rev: Jul 5 09:39:31 LS-HGL487 kernel: Type: Direct-Access ANSI SCSI revision: 02 Jul 5 09:39:31 LS-HGL487 kernel: SCSI device sdb: 488397168 512-byte hdwr sectors (250059 MB) Jul 5 09:39:31 LS-HGL487 kernel: sdb: Write Protect is off Jul 5 09:39:31 LS-HGL487 kernel: sdb: assuming drive cache: write through Jul 5 09:39:31 LS-HGL487 kernel: SCSI device sdb: 488397168 512-byte hdwr sectors (250059 MB) Jul 5 09:39:31 LS-HGL487 kernel: sdb: Write Protect is off Jul 5 09:39:31 LS-HGL487 kernel: sdb: assuming drive cache: write through Jul 5 09:39:31 LS-HGL487 kernel: sdb: sdb1 sdb2 sdb3 sdb4 Jul 5 09:39:31 LS-HGL487 kernel: sd 2:0:0:0: Attached scsi disk sdb Jul 5 09:39:31 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: checktime reached, running e2fsck is recommended /sbin/hotplug [block] ## STATE_CHANGED ## Jul 5 09:39:36 LS-HGL487 kernel: FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive! Jul 5 09:39:36 LS-HGL487 kernel: FAT: bogus number of reserved sectors Jul 5 09:39:36 LS-HGL487 kernel: VFS: Can't find a valid FAT filesystem on dev sdb. Jul 5 09:39:36 LS-HGL487 kernel: kjournald starting. Commit interval 5 seconds Jul 5 09:39:36 LS-HGL487 kernel: EXT3-fs warning: checktime reached, running e2fsck is recommended Jul 5 09:39:36 LS-HGL487 kernel: EXT3 FS on sdb1, internal journal Jul 5 09:39:36 LS-HGL487 kernel: EXT3-fs: mounted filesystem with ordered data mode. Jul 5 09:39:37 LS-HGL487 nmbd[1292]: [2008/07/05 09:39:37, 0] nmbd/nmbd.c:terminate(58) Jul 5 09:39:37 LS-HGL487 nmbd[1292]: Got SIGTERM: going down... /sbin/hotplug [module] /sbin/hotplug [module] /sbin/hotplug [module] Jul 5 09:39:38 LS-HGL487 kernel: NET: Registered protocol family 5自動的にマウントされたので、アンマウントする。
root@LS-HGL487:/mnt/disk1/share/debian# df Filesystem 1k-blocks Used Available Use% Mounted on /dev/root.old 15351 14705 646 96% /initrd /dev/sda2 4994004 244648 4749356 5% / /dev/ram1 15360 104 15256 1% /mnt/ram /dev/sda1 988212 24452 963760 2% /boot /dev/sda6 237067816 340220 236727596 0% /mnt/disk1 /dev/usbdisk1_1 194443 11649 172755 6% /mnt/usbdisk1 root@LS-HGL487:/mnt/disk1/share/debian# umount /mnt/usbdisk1/ /sbin/hotplug [block] root@LS-HGL487:/mnt/disk1/share/debian# df Filesystem 1k-blocks Used Available Use% Mounted on /dev/root.old 15351 14705 646 96% /initrd /dev/sda2 4994004 244724 4749280 5% / /dev/ram1 15360 104 15256 1% /mnt/ram /dev/sda1 988212 24452 963760 2% /boot /dev/sda6 237067816 340220 236727596 0% /mnt/disk1 root@LS-HGL487:/mnt/disk1/share/debian#
root@LS-HGL487:/mnt/disk1/share/debian# 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:/mnt/disk1/share/debian#もう既にインストールしたことがある HDD なので、 パーティションが切ってある。
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 : : 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#
/sbin/hotplug [block] root@LS-HGL487:/mnt/disk1/share/debian# KERNELMOn (PSW_off) CPU_STAT=normal_state ##### shutdown start : : buffalo_change_power_status > Read 0x7a buffalo_IsStopAtUbootStatus > MagicKey=0x7a buffalo_change_power_status > Read 0x7a buffalo_change_power_status > Read 0x7a buffalo_change_power_status > Writing 0x5c Please Press HDD power button to continue ...
|
← TAKARA TOMY CAUL(2) |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ LS-HGL ファームウェア Ver.1.02 でハックキット(2) 最初の設定 |