How I replace the HDD of mycloud gen2


#3

Yes, but there’s a big clue here:

Note the ‘Gen2’ in the path name…

To the OP: make sure the partiton sizes ae sensible for your replacement disk. Try doing 4 and 40 second resets.


#4

Workout with this commands:

sudo su

parted /dev/sdb

mklabel gpt
mkpart primary 1049kB 2149MB
mkpart primary 8591MB -1MB
mkpart primary 7517MB 8591MB
mkpart primary 2149MB 3222MB
mkpart primary 3222MB 4296MB
mkpart primary 4296MB 6443MB
mkpart primary 6443MB 7517MB

q

mkswap /dev/sdb1
mkfs.ext4 /dev/sdb2

dd if=/media/mint/4C9462439462301E/wd/sdb3.img of=/dev/sdb3
dd if=/media/mint/4C9462439462301E/wd/sdb4.img of=/dev/sdb4
dd if=/media/mint/4C9462439462301E/wd/sdb5.img of=/dev/sdb5
dd if=/media/mint/4C9462439462301E/wd/sdb6.img of=/dev/sdb6
dd if=/media/mint/4C9462439462301E/wd/sdb7.img of=/dev/sdb7

Found it on a Russian Forum


#5

User Fox_exe has posted unbricking directions for several My Cloud including gen 2 My Clouds. Here is the link for the gen 2:
https://drive.google.com/drive/folders/0B_6OlQ_H0PxVRXllYjY5RG1CZEU

Link to English directions: https://drive.google.com/open?id=0B_6OlQ_H0PxVQVhnLVJOdDZISUU

# Use Debian/ubuntu or any other linux distro (USB/CD Live image)
# All "/dev/sda" change to your disk! (List disks in system: "parted -l")
# If this is new disk or damaged (formatted) old, recreate partitions first:
parted /dev/sda
mklabel gpt
mkpart primary 1049kB 2149MB
mkpart primary 8591MB -1MB
mkpart primary 7517MB 8591MB
mkpart primary 2149MB 3222MB
mkpart primary 3222MB 4296MB
mkpart primary 4296MB 6443MB
mkpart primary 6443MB 7517MB
q
mkswap /dev/sda1
mkfs.ext4 /dev/sda3

# Download and unpack files from WDMyCloud/WDMyCloud-Gen2/Developing: uImage-wdrecovery and uRamdisk-wdrecovery
# Write it disk:
mkdir /mnt/boot
mount /dev/sda3 /mnt/boot
mkdir /mnt/boot/boot
cp uImage-wdrecovery /mnt/boot/boot/uImage
cp uRamdisk-wdrecovery /mnt/boot/boot/uRamdisk

# Done. Connect disk back to WDMC and turn on.
# After few minutes WDMC boots to "WD Recovery". Go to webgui and upload official firmware.
# Done!

As always its a good idea to do a 40 second reset or do a System Only Factory Restore through the Dashboard after unbricking either a gen 1 or a gen 2 My Cloud.


Unbricking without opening
#6

Those are the instructions the OP followed. I suspected they may be Fox_exe’s instructions…


#7

Yes they are Fox’s directions. I was posting the full links (hot) and directions in full for others who read this thread and because the information luiz_Balestreri posted is slightly different (for example mkfs.ext4 /dev/sdb2) than Fox’s information (for example mkfs.ext4 /dev/sda3).


#8

Bennor, the Fox_exe instructions didnt work for me, the one I posted after worked.

I found it here (used google translator, because it’s in russian):

http://4pda.ru/forum/index.php?showtopic=467828&st=3280

Link for the files:

Instructions:

#use live ubuntu or another linux OS

sudo su

#change the sdB for the letter of your disk. Ex sdA,sdB,sdC… (List disks in system: “parted -l”)
parted /dev/sdb

mklabel gpt
mkpart primary 1049kB 2149MB
mkpart primary 8591MB -1MB
mkpart primary 7517MB 8591MB
mkpart primary 2149MB 3222MB
mkpart primary 3222MB 4296MB
mkpart primary 4296MB 6443MB
mkpart primary 6443MB 7517MB

q

mkswap /dev/sdb1
mkfs.ext4 /dev/sdb2

#change the “/media/mint/4C9462439462301E/wd/” for the path to your files

dd if=/media/mint/4C9462439462301E/wd/sdb3.img of=/dev/sdb3
dd if=/media/mint/4C9462439462301E/wd/sdb4.img of=/dev/sdb4
dd if=/media/mint/4C9462439462301E/wd/sdb5.img of=/dev/sdb5
dd if=/media/mint/4C9462439462301E/wd/sdb6.img of=/dev/sdb6
dd if=/media/mint/4C9462439462301E/wd/sdb7.img of=/dev/sdb7

PS: the instructions are based on fox_exe one, all credits go to he and User KOCTET of 4pad.ru forum


Red Led flashing on My Cloud
[GUIDE] How To Unbrick your 2TB/3TB/4TB My Cloud
[My Cloud Gen2] Using an 8TB HDD and Formatting Failure (Error Code: 600)
#9

Hello,

i follow this instructions… the cloud station is started and works with the web interface - also with the new firmware… but the volume of storage - HDD is not detected - so which program can i use and how to make the right patition in right format on my HDD for the storage… just for explain, the parts of the system working, only the storage is away…
It was a completely new HDD

I follow exactly this instructions:

If this is new disk or damaged (formatted) old, recreate partitions first:
parted /dev/sda
mklabel gpt
mkpart primary 1049kB 2149MB
mkpart primary 8591MB -1MB
mkpart primary 7517MB 8591MB
mkpart primary 2149MB 3222MB
mkpart primary 3222MB 4296MB
mkpart primary 4296MB 6443MB
mkpart primary 6443MB 7517MB
q
mkswap /dev/sda1
mkfs.ext4 /dev/sda3

Download and unpack files from WDMyCloud/WDMyCloud-Gen2/Developing: uImage-wdrecovery and uRamdisk-wdrecovery
Write it disk:
mkdir /mnt/boot
mount /dev/sda3 /mnt/boot
mkdir /mnt/boot/bootq
cp uImage-wdrecovery /mnt/boot/boot/uImage
cp uRamdisk-wdrecovery /mnt/boot/boot/uRamdisk

Done. Connect disk back to WDMC and turn on.
After few minutes WDMC boots to “WD Recovery”. Go to webgui and upload official firmware.
Done!


My Cloud blinkt rot
#10

Hello,

i got it… everything was fine, i´m only to fast by the first start with klicks the raid assistant away. And the assistant is only one time there.
Now working all.

Thanks.


#11

Hello people,

how can I get 1TB image for the WD My Cloud?


#12

Hello,
I followed the instruction step by step
When I add the last 2 commands

cp uImage-wdrecovery /mnt/boot/boot/uImage
cp uRamdisk-wdrecovery /mnt/boot/boot/uRamdisk

I get an error no file or folder found.
Did I miss something?
Please advise.


Hoping someone here can help me with a build
#13

Did you do the following step?

# Download and unpack files from WDMyCloud/WDMyCloud-Gen2/Developing: uImage-wdrecovery and uRamdisk-wdrecovery

Did you unpack the file to the directory from where you ran those two commands? That’s an instruction in English, not in linux. You will have to complete that instruction yourself, from fox_exe’s repository.

Those commands are copy commands. You must copy the file uImage-wdrecovery to the location /mnt/boot/boot/uImage, and the file uRamdisk-wdrecovery to the location /mnt/boot/boot/uRamdisk. If you are not in the directory where those files are stored when you execute the two copy (cp) commands, the files will not be found.


#14

As cpt_paranoia indicated did you download and unpack the two files (uImage-wdrecovery and uRamdisk-wdrecovery) to your My Cloud first before running those two commands?

uImage-wdrecovery: https://drive.google.com/open?id=0B_6OlQ_H0PxVRzM2YjlQUE9KMkE

uRamdisk-wdrecovery: https://drive.google.com/open?id=0B_6OlQ_H0PxVZGZRc3ZFdzh6bTg


#15

Thank you for your quick reply.
I did download the file and placed them on a USB drive

sda = 2TB
sdb = 8 Gig USB (boot drive)
sdc = 16 Gig USB (recovery files)

I did not copy the files to the location I ran the commands. Being that I’m new to the commands, I am not sure how to change drives and folders.


#16

cd <path>

To go to the top of the file system, use cd /
To see what the filesystem looks like, use ls

USB drives are likely to be in /mnt or /dev
From your notes, /dev/sdc

If you’re unclear, google for basic linux tutorials.

How are you running linux to perform this operation? From a LiveCD? From USB?


#17

I am running linux from a USB


#18

Thank you all for your comments.

After booting up with Ubuntu Desktop and copy and paste the commands, My cloud is back up but with the original issue.

I am not able to see any shares on the network, I can see the shares from the dashboard.
I have added a new share and cannot see this as well. I have set Public share in the on and off position and have the same results.

Added a new user and password no change.

This unit is for backup for my existing my cloud and will only be used internally.

If I turn on the DLNA media server, this will show on the network. I have updated the firmware to the latest.


#19

What exactly do you mean by ‘cannot see’?

Do you mean that they are not even visible to whatever computer/OS/file manager you are using (what are those, by the way)?

Or do you mean they are visible, but you are denied access?


#20


From the network I cannot see any folders that are shared from My Cloud, default or not. I can see my shared folders from my computer on the network

I have used both Windows 7 and Windows 10 and have the same results.

See images.


#21

If you haven’t already, double check the My Cloud network settings to ensure the My Cloud is using the same workgroup name as the rest of the devices on the local network. Also ensure the IP address the My Cloud has assigned is in the same IP address pool range (example: 192.168.1.x / 255.255.255.0).

Also, if you haven’t already done so, perform a 40 second reset. It is generally or typically recommended one do a 40 second reset after unbricking their drive.

https://support.wdc.com/knowledgebase/answer.aspx?ID=13986

On the Windows PC’s ensure the firewall isn’t blocking access to the My Cloud or local network. Also while the following is for Windows 10 some will apply to Windows 7; see, if you haven’t already, the following post and pay attention in particular to steps Windows 10 Specific Method 1 through Windows 10 Specific Method 5.

https://community.wd.com/t/compilation-of-windows-10-methods-steps-and-solutions/142576


#22

I have just installed a replacement 3tb drive in a v2 MyCloud, using the “alternative” method of this guide. If anyone else has a gen 2 MyBook, this may come in handy

Before starting, download these 2 files:

uImage-wdrecovery: https://drive.google.com/open?id=0B_6OlQ_H0PxVRzM2YjlQUE9KMkE
uRamdisk-wdrecovery: https://drive.google.com/open?id=0B_6OlQ_H0PxVZGZRc3ZFdzh6bTg

Format a usb stick as fat32. Not NTFS or exFat. Fat32.

Copy the 2 files to the fat32 formatted usb stick

Insert the usb stick in your pc

Do what it says here:

Use Debian/ubuntu or any other linux distro (USB/CD Live image)
All “/dev/sda” change to your disk! (List disks in system: “parted -l”)
If this is new disk or damaged (formatted) old, recreate partitions first:
parted /dev/sda
mklabel gpt
mkpart primary 1049kB 2149MB
mkpart primary 8591MB -1MB
mkpart primary 7517MB 8591MB
mkpart primary 2149MB 3222MB
mkpart primary 3222MB 4296MB
mkpart primary 4296MB 6443MB
mkpart primary 6443MB 7517MB
q
mkswap /dev/sda1
mkfs.ext4 /dev/sda3

mkdir /mnt/boot
mount /dev/sda3 /mnt/boot
mkdir /mnt/boot/boot
cd /mnt/usb
cp uImage-wdrecovery /mnt/boot/boot/uImage
cp uRamdisk-wdrecovery /mnt/boot/boot/uRamdisk

Done. Connect disk back to WDMC and turn on.
After few minutes WDMC boots to “WD Recovery”. Go to webgui and upload official firmware.
Done!

Thanks to whoever wrote the guide. It just needed updated a little bit. I hope this helps some of you have a successful outcome.