4年前購入したMyBookLiveは、色々遊んでから、やっと文鎮化しました。
ネットで調べ、まず公式サイトのこんな記事
http://community.wdc.com/t5/My-Book-Live/GUIDE-How-to-unbrick-a-totally-dead-MBL/td-p/435724
でも、うちのデバイスはすでにNO CD-ROMだし、諦めます。
次はこの記事、完全に思う通りスッキリ解決案だ。
http://mybookworld.wikidot.com/mybook-live-debricking-guide-osx-and-windows
上記の手順で個人に時間掛かる部分を補足するだけのメモです:
事前準備
まず、完全に無料な解決案なし。。
http://www.amazon.co.jp/gp/product/B00XX4OM90
HDDスタンド(USB docking)が必要。
選んだ理由:2000円ぐらい安いし、USB3だし、8TBまでサポートだし。。
Step1
MyBookLiveの解体工事のビデオは7万あまりのアクセスあり、みんなよくMyBookLiveイジメますね。
Step2-4
エラー:「Failed to create a proxy device for the USB device」
原因:多分USB3のため
対策:
USB 3 をサポートするために、再新のVirtualBox・Ubuntuをインストールの上、
下記の2ステップ忘れずに:
https://community.oracle.com/message/13243480#13243480
また、VirtualBoxでUbuntuを電源OFF設定し、下記のUSB3のみ設定する必要。
Step5
Ubuntuでこんなエラーでるんです。心配なく、次へ。
---------------- ここまで着ましたらなら、復活の条件をクリア ------------------
Step6−7
解凍完了必要なファイル一覧:
$ ls
debrick.sh rootfs.img
mdadmとは、
http://www.ioss.jp/sohodiy/mdadm8-1_5.php
mdadmインストール際に、Tabキー「OK」を選択する。。。(恥ずかしい、知らなかった。。)
Step8
$ sudo fdisk -l
Disk /dev/sda(★注意:main disk、これじゃない): 8 GiB, 8589934592 bytes, 16777216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x87c1895e
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 15728639 15726592 7.5G 83 Linux
/dev/sda2 15730686 16775167 1044482 510M 5 Extended
/dev/sda5 15730688 16775167 1044480 510M 82 Linux swap / Solaris
The backup GPT table is corrupt, but the primary appears OK, so that will be used.
Disk /dev/sdb(★これだ、次のコマンドはこの文字列が必要): 2.7 TiB, 3000592981504 bytes, 5860533167 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: BCADFF66-E5CA-42BD-BFD5-E9363124A5C1
Device Start End Sectors Size Type
/dev/sdb1 1032192 5031935 3999744 1.9G Linux RAID
/dev/sdb2 5031936 9031679 3999744 1.9G Linux RAID
/dev/sdb3 30720 1032191 1001472 489M Microsoft basic data
/dev/sdb4 9031680 5860532223 5851500544 2.7T Microsoft basic data
Partition table entries are not in disk order.
Step9
$ sudo bash ./debrick.sh rootfs.img /dev/sdb
********************** DISK **********************
script will use the following disk:
Error: end of file while reading /dev/sdb
Model: Initio INIC-3609 (scsi)
Disk /dev/sdb: 3001GB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
is this REALLY the disk you want? [y] y
********************** IMAGE **********************
********************** IMPLEMENTATION **********************
everything is now prepared!
device: /dev/sdb
image_img: rootfs.img
destroy: false
this is the point of no return, continue? [y] y
mdadm: /dev/sdb1 appears to contain an ext2fs file system
size=1999808K mtime=Thu Jan 1 09:00:01 1970
mdadm: size set to 1999808K
mdadm: creation continuing despite oddities due to --run
mdadm: array /dev/md0 started.
mke2fs 1.42.12 (29-Aug-2014)
/dev/md0 contains a ext3 file system
last mounted on Thu Jan 1 09:00:01 1970
Proceed anyway? (y,n) y
Creating filesystem with 499952 4k blocks and 125184 inodes
Filesystem UUID: cd98ba9d-5086-4bbd-a330-def2a07b6ea3
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912
Checking for bad blocks (read-only test): 0.00% done, 0:00 elapsed. (0/0/0 errdone
Allocating group tables: done
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done
mdadm: added /dev/sdb2
synchronize raid... done
synchronize raid... done
copying image to disk...
3999616+0 records in
3999616+0 records out
2047803392 bytes (2.0 GB) copied, 719.599 s, 2.8 MB/s
mdadm: stopped /dev/md0
all done! device should be debricked!
ありえないミスが、途中Ctrl+C(Copyと思ってた)で処理中断された場合。
---- 再実行できない ---
$ sudo bash ./debrick.sh rootfs.img /dev/sdb
/dev/md0 already exists! you need to stop and remove it.
--- 次の処理再開するため ----
$ sudo mdadm --stop /dev/md0
mdadm: stopped /dev/md0
$ sudo mdadm --remove /dev/md0
Step10
復活に楽しみ