基本的には、
LS-QVLの時と同じだが、
今回はシリアルコンソールがあるので、root でログインできるようにだけ。
Jul 22 09:58:11 vl kernel: usb 1-1.3: new high speed USB device using ehci_marvell and address 4 Jul 22 09:58:12 vl kernel: usb 1-1.3: configuration #1 chosen from 1 choice Jul 22 09:58:12 vl kernel: scsi2 : SCSI emulation for USB Mass Storage devices Jul 22 09:58:17 vl kernel: scsi 2:0:0:0: Direct-Access ViPowER VP-89118(SD1) 2.10 PQ: 0 ANSI: 4 Jul 22 09:58:17 vl kernel: sd 2:0:0:0: Attached scsi generic sg1 type 0 Jul 22 09:58:17 vl kernel: sd 2:0:0:0: [sdb] 195371568 512-byte logical blocks: (100 GB/93.1 GiB) Jul 22 09:58:17 vl kernel: sd 2:0:0:0: [sdb] Write Protect is off Jul 22 09:58:17 vl kernel: sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6 Jul 22 09:58:17 vl kernel: sd 2:0:0:0: [sdb] Attached SCSI disk
root@vl:~# mdadm --assemble -scan mdadm: /dev/md/LS-SL-EM9AF:10 has been started with 1 drive (out of 2). mdadm: /dev/md/LS-SL-EM9AF:1 has been started with 1 drive (out of 2). mdadm: /dev/md/0_0 has been started with 1 drive (out of 2). root@vl:~# cat /proc/mdstat Personalities : [linear] [raid0] [raid1] [raid6] [raid5] [raid4] md125 : active raid1 sdb1[0] 1000384 blocks [2/1] [U_] md126 : active raid1 sdb2[0] 4999156 blocks super 1.2 [2/1] [U_] md127 : active raid1 sdb5[0] 1000436 blocks super 1.2 [2/1] [U_] unused devices:root@vl:~# mkdir /tmp/root root@vl:~# mount /dev/md126 !$ mount /dev/md126 /tmp/root root@vl:~# ls -l !$ ls -l /tmp/root 合計 84 drwxr-xr-x 2 root root 4096 2012-06-18 19:01 bin drwxr-xr-x 2 root root 4096 2012-06-18 18:57 boot drwxr-xr-x 6 root root 12288 2012-06-18 18:58 dev drwxr-xr-x 34 root root 4096 2012-07-22 09:53 etc drwxrwxrwx 3 root root 4096 2012-06-18 19:00 home drwxr-xr-x 2 root root 4096 2012-06-18 18:57 initrd drwxr-xr-x 5 root root 4096 2007-11-01 00:21 lib drwx------ 2 root root 16384 2007-11-01 00:16 lost+found drwxrwxrwx 7 root root 4096 2012-07-22 09:43 mnt drwxr-xr-x 2 root root 4096 2009-05-01 14:49 proc drwx------ 3 root root 4096 2012-06-18 18:58 root drwxr-xr-x 2 root root 4096 2012-07-22 00:41 sbin drwxr-xr-x 2 root root 4096 2012-06-18 18:57 sys lrwxrwxrwx 1 root root 8 2012-07-22 00:41 tmp -> /mnt/ram drwxr-xr-x 11 root root 4096 2012-06-18 19:01 usr drwxr-xr-x 10 root root 4096 2012-07-22 00:41 var drwxr-xr-x 6 root root 4096 2012-06-18 18:58 www root@vl:~#
root@vl:~# vi /tmp/root/etc/shadow : : root@vl:~# grep '^root' !$ grep '^root' /tmp/root/etc/shadow root::11009:0:99999:7::: root@vl:~#
root@vl:/tmp/root/etc# cd / root@vl:/# umount /tmp/root root@vl:/#
BUFFALO INC. LinkStation series LS-SL9AF login: root root@LS-SL9AF:~#
|
← 廃品回収リベンジ(10)uImage-88f5182.buffalo で boot |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ ファームウェア 1.60 の散歩 |
Copyright (C) 2003-2012 Yasunari Yamashita. All Rights Reserved.
yasunari @ yamasita.jp 山下康成@京都府向日市