Help request: how to install/config Mybook Live software on a new/non-stock hard drive

I have the Mybook Live enclosure and a NEW UNFORMATTED drive (320 GB).

I read a while back that it will require connecting the new drive to a Linux pc.

Is there a how-to on this and if so, where.

I could only find de-bricking guides

Thanks.

A 320GB SATA drive?  Good luck with that…

The MBL firmware is designed only for 1T to 4T drives.  

The de-bricking guides would be what you’d use.

1 Like

Sorry but I did not need luck…just the correct answer which I found.

It is now up and running with a 320GB SATA drive.

I used the below instruction:

This instructions was written base on the Ubuntu 12.10 Live CD.
If you use a different distro, you might need to modify the script and intruction.

You’ll need to have the following programs installed: mdadm and parted.

Files included:

  1. freshInstall.sh - A Script to automate most of the commands.
  2. swap   - Program to modify the endianess of the partition

You’ll also need to download the Latest Firmware from here

http://download.wdc.com/nas/apnc-024105-034-20130215.deb

The file is about 200mb and unpacks to 2GB so be sure you have enough room.

********************************************************
********************  INSTRUCTION **********************
********************************************************

  1. Plug in your disk via SATA cable (external enclosures work also, but you might need to find drivers)

  2. Boot into Ubuntu

  3. Find out the name of your disk as it was detected by Ubuntu  

In my case, it was /dev/sda as it was the only disk.

  1. Modify freshInstall.sh with the name of your disk if needed.

#Replace with your disk name
disk=/dev/sda

  1. Change the files premission to executable:

chmod +x freshInstall.sh
chmod +x swap

  1. Run freshInstall.sh  

./freshInstall.sh

(Note if you get the following error, just select yes)

Warning: blocksize 65536 not usable on most systems.
mke2fs 1.42 (29-Nov-2011)
mkfs.
ext4: 65536-byte blocks too big for system (max 4096)
Proceed anyway? (y,n)

Once the script is done, there should be 4 partition.

  1. Extract the firmware file

ar x apnc-024105-034-20130215.deb

  1. Extract the file in which the image comes

tar --lzma -xvf data.tar.lzma

  1. navigate to the folder in which rootfs.img is located

cd CacheVolume/upgrade)

  1. Copy the image to your hard drive

dd if=rootfs.img of=/dev/md0 bs=1M

  1. When this is done, mount your filesystem

mkdir /mnt/rootfs
mount /dev/md0 /mnt/rootfs

  1. Copy the boot file to its folder

cp /mnt/rootfs/usr/local/share/bootmd0.scr /mnt/rootfs/boot/boot.scr

  1. Enable ssh

echo “enabled” > /mnt/rootfs/etc/nas/service_startup/ssh

  1. Sync and unmount:

sync
umount /mnt/rootfs

  1. Modify the endianness of the boot partitions

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

************************************************************
*************** END INSTRUCTION ****************************
************************************************************

The hard drive is now prepared and is ready to be inserted into the My Book Live.