HDD はどうなった?

LS410D

マルチユーザの状態で無理やり switch_root を実行したら、 EM でしか起動しなくなった。

HDD がどうなってしまったか見てみる。

LS-QL に USB で接続

root@qube:~# tail -f /var/log/messages
	:
	:
Oct 8 20:50:46 qube kernel: usb 2-1: new high speed USB device using ehci_marvell and address 2
Oct 8 20:50:46 qube kernel: usb 2-1: configuration #1 chosen from 1 choice
Oct 8 20:50:46 qube kernel: scsi2 : SCSI emulation for USB Mass Storage devices
Oct 8 20:50:51 qube kernel: scsi 2:0:0:0: Direct-Access ViPowER VP-89118(SD1) 2.10 PQ: 0 ANSI: 4
Oct 8 20:50:51 qube kernel: sd 2:0:0:0: [sdd] 625000320 512-byte hardware sectors (320000 MB)
Oct 8 20:50:51 qube kernel: sd 2:0:0:0: [sdd] Write Protect is off
Oct 8 20:50:51 qube kernel: sd 2:0:0:0: [sdd] 625000320 512-byte hardware sectors (320000 MB)
Oct 8 20:50:51 qube kernel: sd 2:0:0:0: [sdd] Write Protect is off
Oct 8 20:50:51 qube kernel: sdd: sdd1 sdd2 sdd3 sdd4 sdd5 sdd6
Oct 8 20:50:51 qube kernel: sd 2:0:0:0: [sdd] Attached SCSI disk
Oct 8 20:50:51 qube kernel: sd 2:0:0:0: Attached scsi generic sg3 type 0

/

root@qube:~# mount /dev/sdd2 /tmp/root
root@qube:~# ls /tmp/root
mnt tmp
root@qube:~# ls /tmp/root/mnt
ram
root@qube:~# ls /tmp/root/tmp
ldconfig lighttpd utmp
root@qube:~#
なんだこれ??

/boot

root@qube:~# mkdir /tmp/boot
root@qube:~# mount /dev/sdd1 /tmp/boot
root@qube:~# ls /tmp/boot
conf_save.tgz initrd.buffalo u-boot.buffalo uImage.buffalo.orig
hddrootfs.buffalo.updated.done initrd.buffalo.orig uImage.buffalo
root@qube:~#
ここは無事?

/mnt

root@qube:~# mkdir /tmp/mnt
root@qube:~# mount /dev/sdd6 /tmp/mnt
mount: wrong fs type, bad option, bad superblock on /dev/sdd6,
 missing codepage or helper program, or other error
 In some cases useful info is found in syslog - try
 dmesg | tail or so
root@qube:~# mount -t xfs /dev/sdd6 /tmp/mnt
mount: wrong fs type, bad option, bad superblock on /dev/sdd6,
 missing codepage or helper program, or other error
 In some cases useful info is found in syslog - try
 dmesg | tail or so
root@qube:~#
ふげー。壊れてる

ブッチンしたからか??

復旧

ファームウェアアップデータで標準ファームを復旧。
/etc/sshd_config を修正して ssh 可能に



別パーティションに Debian の / を置く
ハックの記録
LinkStation/玄箱 をハックしよう
別パーティションに Debian の / を置く(2)

ツイート Tweet to @yasunari_y @yasunari_yをフォロー

Copyright (C) 2003-2013 Yasunari Yamashita. All Rights Reserved.
yasunari @ yamasita.jp 山下康成@京都府向日市

AltStyle によって変換されたページ (->オリジナル) /