My WD Cloud stopped working clueless, I searched the forum and other sites to get a complete rebuilding, but got bits and pieces hence thought of putting the entire steps if it helps as it took me almost a week to figure out the correct steps and make the mycloud back in a working condition.
MOST IMPORTANT Use Linux_Reader to backup the data from the WD hard disk before continuing with the below steps. You will have to unbox the device use a SATA adapter to connect the WD hard disk to the USB of your PC
-
Download SystemRescueCd from SystemRescue - System Rescue Homepage
-
Write the image in to a file using CD burn software I used imageburn
-
Download vergin image from http://download.wdc.com/nas/sq-040401-112-20151013.deb.zip
-
Download 7z to unzip the file to get rootfs.img, folder structure where the file can be found sq-040401-112-20151013.deb\sq-040401-112-20151013\data\CacheVolume\upgrade
-
Unzip the Virgin Image, and copy the rootfs.img file to a USB Drive.
-
Change the boot sequence of the PC to boot SystemRescueCd from CD
-
After booting when prompted directly start the graphical environment (follow the instruction displayed in the screen , it is pretty intuitive)
-
Attach WD hard disk using SATA adapter to one of the USB drives
-
Connect the USB drive with the virgin image
-
In the terminal window Use parted to see what name you have for your WD’s HDD. Run parted utility: follow below steps
-
parted
1.1 Print all – this will display all the storage devices -
select /dev/sdb (assuming this the WD hard disk else use respective name)
-
Type “print” for see what partitions exist on disk
-
Remove all: Type “rm 1” (where 1 - number of partition, continue this for all partitions)
-
Crete new table:
mklabel gpt
mkpart primary 528M 2576M
mkpart primary 2576M 4624M
mkpart primary 16M 528M
mkpart primary 4828M -1M
mkpart primary 4624M 4724M
mkpart primary 4724M 4824M
mkpart primary 4824M 4826M
mkpart primary 4826M 4828M
set 1 raid on
set 2 raid on -
Ok, type “quit”
-
Format data partition:
7.1 mkfs -t ext4 /dev/sdb4
7.2 Use Gparted graphics window to format dev/sdb3 to linux-swap file system (right click on the partition you will get the option to format and the list of file system to use)
7.3 go to parted utility again,
parted
select /dev/sdb (assuming this the WD hard disk else use respective name)
set 3 msftdata on
set 4 msftdata on
set 5 msftdata on
set 6 msftdata on
set 7 msftdata on
set 8 msftdata on
8-1. Prepare main RAID partition (For rootfs): mdadm --create /dev/md0 --level=1 --metadata=0.9 --raid-devices=2 /dev/sdb1 /dev/sdb2
The above step may error in that case run mdadm --stop /dev/md127 (Sometimes you can see another numbers - see in: ls /dev | grep md)
Type “watch cat /proc/mdstat” and wait 100%. Then - [ctrl] + [c] for close. (Must complete this step)
8-2. Stop auto-loaded raid: mdadm --stop /dev/md127 (Sometimes you can see another numbers - see in: ls /dev | grep md)
8-3. Start normal raid (/dev/md0 is important!): mdadm -A /dev/md0 /dev/sdb1 /dev/sdb2 -
Mount USB drive
mkdir /mnt/usb
mount -t ntfs /dev/sdb1 /mnt/usb
ls /mnt/usb --should show rootfs.img -
dd if=rootfs.img of=/dev/sdb1
-
dd if=rootfs.img of=/dev/sdb2
-
Shutdown PC.
shutdown -p -H 0 -
Connect HDD to WD’s plate and turn on WDMyCloud. Wait ~5-10 min.
-
Once the blue light comes, got to http:\mywdcloud.local\UI\ click cancel if it asks to create username
-
Upgrade the firmaware from the UI console, after the WD MYcloud will boot automatically but http:\mywdcloud.local\UI\ may not come up
-
Do a system reset by, remove the power code, press the reset button, plug the power code back while the reset button is pressed, release the button after the LED blinks indicating restart (~40sec)
-
Once the WD MYcloud reboots you have a fresh WDMyCloud