Sometimes it happens, your Western Digital Mybook Live dies and you are left with a blinking blue/green light.  Perhaps it’s internal hard disk is making the famous click of death sound.  I won’t show you how to recover it, that’s an excercise for another time. Rebuild it by purchasing a new 3TB WD Red Drive. Here’s how to prepare the new disk, using Ubuntu linux.  I have copied the highlights of the famous debrick script.  Remove the bad disk from the WD MBL housing, and toss into a landfill or drop into your favourite ocean. Insert new 2TB sata disk in your favourite desktop PC’s SATA port, boot with Ubuntu USB drive, and then prepare the new WD disk using these steps.

You should boot from a Live CD or Live bootable USB, so that your disk is /dev/sda  I recommend using Ubuntu live CD on a USB drive
Assuming that your new disk is /dev/sda

parted /dev/sda --align optimal <<EOP
mklabel gpt
mkpart primary 528M  2576M
mkpart primary 2576M 4624M
mkpart primary 16M 528M
mkpart primary 4624M -1M
set 1 raid on
set 2 raid on
quit
EOP
sync
reboot
...
mdadm --create /dev/md0 --verbose --metadata=0.9 --raid-devices=2 --level=raid1 --run /dev/sda1 missing
mdadm /dev/md0 --add --verbose /dev/sda2
mdadm --wait /dev/md0
sync
mkdir /mnt/raid1
mount /dev/md0 /mnt/raid1
umount /mnt/raid1 
dd if=firmware/rootfs_010507.img of=/dev/md0
mount /mnt/raid1
cp /mnt/raid1/usr/local/share/bootmd0.scr /mnt/raid1/boot/boot.scr
more /mnt/raid1/etc/nas/service_startup/ssh 
echo "enabled" > /mnt/raid1/etc/nas/service_startup/ssh  

mdadm --stop /dev/md0
/root/swap.x /dev/sda1
/root/swap.x /dev/sda2

sync

At this point, you may insert the new WD back into the original WD Live chassis. But first shut it down with the shutdown command.

 

4 comments

  • Matt Wago

    Just Love it. great work again.

    Reply
  • Matt Wago

    Taking Amoxicillin On An Empty Stomach Dapoxetine Online Cialis Generico Visa Electron Www Viagraonlinepharmacyusa Keflex 500 Mg Tabs

    Reply
  • granny milf lingerie

    you are so great

    Reply
  • oprolevorter

    Hey there are using WordPress for your blog platform? I’m new to the blog world but I’m trying to get started and create my own. Do you need any html coding knowledge to make your own blog? Any help would be really appreciated!

    Reply

Leave a comment