root@LS-VL815:~#
root@LS-VL815:~# date Sun Jun 19 22:11:52 JST 2011 root@LS-VL815:~あってる
root@LS-VL815:~# ls -l /mnt/disk1/share/hackkit/ -rw-r--r-- 1 root root 33 Nov 28 2010 hackkit_config -rw-r--r-- 1 root root 91122062 Jan 3 15:04 hackkit_squeeze_110103.tar.gz -rwxrw-rw- 1 nobody nogroup 17737 Jan 12 00:26 hackkit_squeeze_110112.sh -rwxr-xr-x 1 root root 15920 Oct 26 2008 mkimage root@LS-VL815:~#以前に置いたものがある。
root@LS-VL815:~# df Filesystem 1k-blocks Used Available Use% Mounted on /dev/sda2 4923420 818468 3854856 18% / udev 10240 116 10124 1% /dev /dev/ram1 15360 144 15216 1% /mnt/ram /dev/sda1 992036 256288 685752 27% /boot /dev/usbdisk1_1 992036 30944 911096 3% /mnt/usbdisk1 /dev/disk1_6 237023872 582128 236441744 0% /mnt/disk1 tmpfs 8192 2032 6160 25% /mnt/ram/com.kernel.org root@LS-VL815:~# umount /mnt/usbdisk1 root@LS-VL815:~#
root@LS-VL815:~# parted -s /dev/sdb print Model: ViPowER VP-89118(SD1) (scsi) Disk /dev/sdb: 250GB Sector size (logical/physical): 512B/512B Partition Table: gpt Number Start End Size File system Name Flags 1 17.4kB 1024MB 1024MB ext3 primary 2 1024MB 6144MB 5120MB xfs primary 3 6144MB 7168MB 1024MB linux-swap primary 4 7168MB 250GB 243GB xfs primary root@LS-VL815:~#
root@LS-VL815:~# cd /mnt/disk1/share/hackkit/ root@LS-VL815:/mnt/disk1/share/hackkit# cat hackkit_config ADDRESS=192.168.2.55 HOSTNAME=vl root@LS-VL815:/mnt/disk1/share/hackkit#
root@LS-VL815:/mnt/disk1/share/hackkit# sh hackkit_squeeze_110112.sh
PRODUCTID = 0x00000016
MACHINE LSVL
formating hard drive ...
mke2fs 1.40.5 (27-Jan-2008)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
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
Writing inode tables: done
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 22 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
meta-data=/dev/sdb2              isize=256    agcount=8, agsize=156250 blks
         =                       sectsz=512   attr=0
data     =                       bsize=4096   blocks=1250000, imaxpct=25
         =                       sunit=0      swidth=0 blks, unwritten=1
naming   =version 2              bsize=4096
log      =internal log           bsize=4096   blocks=2560, version=1
         =                       sectsz=512   sunit=0 blks, lazy-count=0
realtime =none                   extsz=4096   blocks=0, rtextents=0
Setting up swapspace version 1, size = 1023995904 bytes
meta-data=/dev/sdb4              isize=256    agcount=16, agsize=3705337 blks
         =                       sectsz=512   attr=0
data     =                       bsize=4096   blocks=59285392, imaxpct=25
         =                       sunit=0      swidth=0 blks, unwritten=1
naming   =version 2              bsize=4096
log      =internal log           bsize=4096   blocks=28947, version=1
         =                       sectsz=512   sunit=0 blks, lazy-count=0
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/
	:
	:
lib/modules/2.6.31.8/modules.order
creating usb ...
update-rc.d: using dependency based boot sequencing
checking /dev/sdb1
fsck 1.40.5 (27-Jan-2008)
e2fsck 1.40.5 (27-Jan-2008)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sdb1: 11/62720 files (9.1% non-contiguous), 6399/249995 blocks
mounting /boot ...
copying /boot ...
initrd.buffalo
uImage.buffalo
editing initrd ...
167141+1 records in
167141+1 records out
gunziping /mnt/debinst/boot/initrd.gz ...
gziping /mnt/debinst/boot/initrd ... wait 5 minutes
Image Name:   initrd
Created:      Sun Jun 19 22:37:41 2011
Image Type:   ARM Linux RAMDisk Image (gzip compressed)
Data Size:    10648587 Bytes = 10399.01 kB = 10.16 MB
Load Address: 0x00000000
Entry Point:  0x00000000
unmount /boot ...
root@LS-VL815:/mnt/disk1/share/hackkit#
Linux 2.6.31.8 (x60l.yamasita.jp) (pts/2) vl login: guest Password: Linux vl 2.6.31.8 #10 Wed Jun 1 14:44:07 JST 2011 armv5tel 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@vl:/$
guest@vl:/$ su - root Password: root@vl:~#
root@vl:~# date Sun Jun 19 22:45:34 JST 2011 root@vl:~#
root@vl:~# tail -f /var/log/messages : : Jun 19 22:47:11 vl kernel: usb 1-1: new full speed USB device using ehci_marvell and address 2 Jun 19 22:47:11 vl kernel: usb 1-1: configuration #1 chosen from 1 choice Jun 19 22:47:11 vl kernel: scsi2 : SCSI emulation for USB Mass Storage devices Jun 19 22:47:17 vl kernel: scsi 2:0:0:0: Direct-Access eUSB Memory Stick 5.06 PQ: 0 ANSI: 2 Jun 19 22:47:17 vl kernel: sd 2:0:0:0: Attached scsi generic sg1 type 0 Jun 19 22:47:17 vl kernel: sd 2:0:0:0: [sdb] 126912 512-byte logical blocks: (64.9 MB/61.9 MiB) Jun 19 22:47:17 vl kernel: sd 2:0:0:0: [sdb] Write Protect is off Jun 19 22:47:18 vl kernel: sdb: sdb1 Jun 19 22:47:18 vl kernel: sd 2:0:0:0: [sdb] Attached SCSI removable disk Jun 19 22:47:48 vl kernel: usb 1-1: USB disconnect, address 2
Jun 19 22:48:31 vl kernel: usb 1-1: new high speed USB device using ehci_marvell and address 3 Jun 19 22:48:31 vl kernel: usb 1-1: configuration #1 chosen from 1 choice Jun 19 22:48:31 vl kernel: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x04B8 pid 0x0007 Jun 19 22:48:39 vl kernel: usb 1-1: USB disconnect, address 3 Jun 19 22:48:39 vl kernel: usblp0: removed
root@hackkit:~# shutdown -r now
| 
 | 
| ← ファームウェア Ver.1.42 の散歩(2) | ハックの記録 LinkStation/玄箱 をハックしよう | → ファームウェア Ver.1.42 でハックキット |