まずは、LS410D
[root@LS410D06E ~]# date Mon Nov 4 20:17:19 JST 2013 [root@LS410D06E ~]#あってる
[root@LS410D06E ~]# cd /mnt/disk1/share/hackkit/ [root@LS410D06E hackkit]# cat hackkit_config ADDRESS=192.168.2.57 HOSTNAME=ls410d GATEWAY=192.168.2.96 NAMESERVER=192.168.1.5 [root@LS410D06E hackkit]#
[root@LS410D06E hackkit]# sh hackkit_wheezy_131104.sh PRODUCTID = 0x0000001A MACHINE LS410D formating hard drive ... mke2fs 1.42.4 (12-June-2012) Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) Stride=0 blocks, Stripe width=0 blocks 62720 inodes, 249995 blocks 12499 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=260046848 8 block groups 32768 blocks per group, 32768 fragments per group 7840 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376 Allocating group tables: done Writing inode tables: done Creating journal (4096 blocks): done Writing superblocks and filesystem accounting information: done meta-data=/dev/sdb2 isize=256 agcount=4, agsize=312448 blks = sectsz=512 attr=2, projid32bit=0 data = bsize=4096 blocks=1249792, imaxpct=25 = sunit=0 swidth=0 blks naming =version 2 bsize=4096 ascii-ci=0 log =internal log bsize=4096 blocks=2560, version=2 = sectsz=512 sunit=0 blks, lazy-count=1 realtime =none extsz=4096 blocks=0, rtextents=0 Setting up swapspace version 1, size = 1000444 KiB no label, UUID=64254cd1-05b7-4ed3-9140-b0b583d74bf9 meta-data=/dev/sdb4 isize=256 agcount=4, agsize=14824896 blks = sectsz=512 attr=2, projid32bit=0 data = bsize=4096 blocks=59299584, imaxpct=25 = sunit=0 swidth=0 blks naming =version 2 bsize=4096 ascii-ci=0 log =internal log bsize=4096 blocks=28954, version=2 = sectsz=512 sunit=0 blks, lazy-count=1 realtime =none extsz=4096 blocks=0, rtextents=0 mounting root file system ... extracting hackkit archive ... ./ ./var/ ./var/lib/ ./var/lib/apt/ ./var/lib/apt/lists/ ./var/lib/apt/lists/partial/ : : root/.params root/.params/sysctl root/.params/sysctl/0x0000300B root/.params/sysctl/0x0000001A root/.params/sysctl/0x0000300C mnt mnt/.gitkeep sys sys/.gitkeep home home/default debugtool debugtool/diskfill debugtool/echopat www www/cgi-bin www/cgi-bin/resume.cgi www/cgi-bin/query.cgi 52829 blocks 52803 blocks gziping /mnt/disk1/debinst/boot/initrd ... wait 5 minutes Image Name: initramfs Created: Mon Nov 4 20:21:13 2013 Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 11827862 Bytes = 11550.65 kB = 11.28 MB Load Address: 0x00000000 Entry Point: 0x00000000 unmount /boot ... [root@LS410D06E hackkit]#問題なし。
Linux 3.3.4 (shinjuw.yamasita.jp) (pts/0) ls410d login: guest Password: Linux ls410d 3.3.4 #1 Thu Jul 4 22:16:52 JST 2013 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. No directory, logging in with HOME=/ guest@ls410d:/$
guest@ls410d:/$ su - root パスワード: root@ls410d:~#
root@ls410d:~# date 2013年 11月 4日 月曜日 20:25:11 JST root@ls410d:~#あってる
root@ls410d:~# tail -f /var/log/messages : : Nov 4 20:25:50 ls410d kernel: usb 1-1: new full-speed USB device number 2 using ehci_marvell Nov 4 20:25:50 ls410d kernel: usb-storage 1-1:1.0: Quirks match for vid 0ea0 pid 6828: 20 Nov 4 20:25:50 ls410d kernel: scsi2 : usb-storage 1-1:1.0 Nov 4 20:25:51 ls410d kernel: scsi 2:0:0:0: Direct-Access BUFFALO ClipDrive 1.88 PQ: 0 ANSI: 2 Nov 4 20:25:51 ls410d kernel: sd 0:0:0:0: Attached scsi generic sg0 type 0 Nov 4 20:25:51 ls410d kernel: sd 2:0:0:0: Attached scsi generic sg1 type 0 Nov 4 20:25:52 ls410d kernel: ready Nov 4 20:25:52 ls410d kernel: sd 2:0:0:0: [sdb] 64000 512-byte logical blocks: (32.7 MB/31.2 MiB) Nov 4 20:25:52 ls410d kernel: sd 2:0:0:0: [sdb] Write Protect is off Nov 4 20:25:52 ls410d kernel: sdb: sdb1 Nov 4 20:25:52 ls410d kernel: sd 2:0:0:0: [sdb] Attached SCSI removable disk Nov 4 20:26:11 ls410d kernel: usb 1-1: USB disconnect, device number 2OK
Nov 4 20:26:49 ls410d kernel: usb 1-1: new high-speed USB device number 3 using ehci_marvell Nov 4 20:26:49 ls410d kernel: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x04B8 pid 0x0007 Nov 4 20:26:55 ls410d kernel: usb 1-1: USB disconnect, device number 3 Nov 4 20:26:55 ls410d kernel: usblp0: removedOK
root@ls410d:~# shutdown -r now無事再起動してきた。
That's it!
|
← armel, armhf 両方のハックキットを一気に作る |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ LinkStation 400シリーズファームウェア アップデーター Ver.1.30 |
Copyright (C) 2003-2013 Yasunari Yamashita. All Rights Reserved.
yasunari @ yamasita.jp 山下康成@京都府向日市