How I replace the HDD of mycloud gen2

Still no luck just not copying files to hdd.

You are still getting errors which means something is wrong with your setup (or Linux system) or commands being issued. Your screen shot shows your configuration/system isn’t mounting /dev/sdb1 to /mnt/usb properly. It is mounting it in read only mode for some reason.

Try using a Linux OS boot disc/USB flash drive. There are a number of Linux distro’s that will allow one to boot their computer into Linux using either a flash drive or CD/DVD disc. For example: https://ubuntu.com/download/desktop

Yes I’m only getting read only not sure why all that is on hdd is a boot file which is empty. Could the reason I only have read only be because of version of Ubuntu I’m using? It’s very frustrating.

Unknown what the exact cause for it is. Could be a configuration issue with the Linux OS that is write protecting the /mnt directory. Or if /dev/sdb1 is write protected it may cause that error and one may have to take ownership of /dev/sdb1 and change the permissions on it. Or maybe you need to include sudo in the execution of the command.

sudo mount /dev/sdb1 /mnt/usb

Could try the suggestion mentioned here and see if it fixes the issue:

sudo hdparm -r0 /dev/sdb

Ok so I have managed to boot into safe mode but when I load firmware I just get spinning circle with 0%. The light goes to solid red when trying to load firmware.

What firmware are you trying to load? You should be attempting loading the v2.x firmware for the second gen single bay My Cloud if one is able to load up the safe mode screen.

2.41.116 (12/08/2020)
https://downloads.wdc.com/nas/My_Cloud_GLCR_2.41.116.bin

If one is still having issues, try stepping through the directions again on the second gen single bay. One should not be getting errors if the hard drive was partitioned exactly as indicated in Fox’s directions and the commands were issued correctly for the second gen single bay.

Edit to add: If the latest OS3 firmware for the second gen single bay My Cloud fails to load, one can try using an older version of the v2.x second gen single bay firmware.

WD My Cloud v3.x, v4.x and v2.x Firmware Versions Download Links
https://community.wd.com/t/wd-my-cloud-v3-x-v4-x-and-v2-x-firmware-versions-download-links/148533

I have tried the 2.41.116 and older firmware, on boot of the cloud I get blue flashing light for approx 10>15sec then get flashing red, I then go to ip address then get safe mode I then load up firmware and then light goes to solid red and just stays 0%. Or sometimes shoots to 100% but nothing uploaded. I have tried with Microsoft Edge but does not find my ip, tried opera and Firefox the see ip etc, I have even tried in linux. Any help would be greatful.

After ou mount the two devices you should do a df command to show the size of each partition. You should also do an ls /mnt/usb and ls /mnt/root. Your list of commands is incomplete to see what went wrong.

Ok…I did go by fox’s tutorial but nothing on there to say this. So now confused on the commands you advised do these to in at the end. And would this help with upload of new firmware when using Web safe mode.

Out of curiosity you indicated you are using a new HDD. Is the drive an SSD drive or a hard disk drive? Don’t know about the second gen single bay, but I never was able to get a SSD to work in a first gen single bay. Always failed to boot and showed a red front LED. No issues using a hard disk drive, more than once however I had to re-run Fox’s directions before it worked.

In my case with a first gen, using an Ubuntu boot disk I typically had to use sudo in front of some of the terminal commands. Not sure if one has to do the same on the second gen directions.

And as a reminder. There are two sets of directions in Fox’s unbrick/new hard drive second gen single bay install method. In the first set of directions, one is using Telnet to connect their computer to the My Cloud and issue the various commands through the Telnet terminal window. The Alternative way directions is where one would use a Linux (or a Linux boot disk/boot USB flash drive) and use the Linux command line interface to issue commands. The steps for the Alternative way are different than the steps in the first set of directions using Telnet! Make sure to use the correct set of steps!

It’s a sata hdd not ssd, I had to use alternative way from fox’s site but saying that had to use formating from alternative steps and load files from step 6 as alternative steps would not work, this was using USB on pc and using them commands in step 6.

I had to use alternative way as I had no network on the cloud as didn’t show up in router. Could not download telnet too as had problems reading the website.

The commands were to find out why you get the no space messages.

I have tried the alternative solution to install hdd in my cloud gen2 to no avail. The files to copy across to hdd are the files in question on the tutorial in which are place on usb in a boot folder.

These are commands I’m using

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

Can anyone shed some light where I’m going wrong please.

First. Make sure that one has a second generation single bay My Cloud. Check the bottom of the My Cloud enclosure for the P/N number (example: (P/N: WDBCTLxxxxxxx-10). That P/N number should end with “-10”. If it does not end with “-10” then it is not a second generation single bay My Cloud and the following directions will not work.

One suggestion. Connect the new hard drive to the computer and use the computer’s disk management program to delete all existing partitions on the new hard drive that will be used in the My Cloud.

Alternative way:

Use Debian/Ubuntu or any other linux distro (USB/CD Live/Boot disk image)

The following directions use /dev/sda. Change to match your hard drive location. To do so list the disks on your system by entering the following in the Linux terminal window:

parted -l

If this is new disk or damaged (formatted) old, recreate partitions first. DO NOT change any of the mkpart primary values, enter them exactly in the Linux terminal window:

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, on that same Linux computer using a web browser, the uImage-wdrecovery and uRamdisk-wdrecovery files from https://fox-exe.ru/WDMyCloud/WDMyCloud-Gen2/Developing/:
https://fox-exe.ru/WDMyCloud/WDMyCloud-Gen2/Developing/uImage-wdrecovery
https://fox-exe.ru/WDMyCloud/WDMyCloud-Gen2/Developing/uRamdisk-wdrecovery

Make a directory called /mnt/boot on the Linux computer, mount the /dev/sda3 (ext4) partition from the new hard drive to the newly created /mnt/boot directory on the Linux computer. Then create a subdirectory called /mnt/boot/boot. This will create a subdirectory called boot on the mounted /dev/sda3 partition. Then copy (and rename in the process) the file uImage-wdrecovery to /mnt/boot/boot/uImage and the file uRamdisk-wdrecovery to /mnt/boot/boot/uRamdisk:

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

Shut down Linux. Connect the hard drive to the My Cloud motherboard/back plane. Connect the Ethernet cable to the My Cloud Ethernet port and connect power to the My Cloud. The My Cloud should begin the boot process.

Wait a few minutes. Then open a browser window on the computer and go to the IP address for the My Cloud (or try http://wdmycloud or http://wdmycloud.local). If the “WD Recovery” page loads. In a separate browser window download the latest OS3 v2.x single bay My Cloud firmware file: https://downloads.wdc.com/nas/My_Cloud_GLCR_2.41.116.bin

Once downloaded return to the open browser window for the “WD Recovery” page and try to upload the My_Cloud_GLCR_2.41.116.bin file. Follow any on screen prompts during the upload process. If prompted to reboot the My Cloud, reboot the unit if the unit doesn’t reboot by itself after firmware uploaded.

After My Cloud reboot, wait a few minutes then try to open the My Cloud Dashboard via the My Cloud IP address or by http://wdmycloud or http://wdmycloud.local

Perform a System Only Restore through the My Cloud Dashboard > Settings > Utilities section.

Then log back into the My Cloud Dashboard after performing the System Only Restore and configure the My Cloud.

I will have another got at this tomorrow, I have been downloading all these files on win 10 pc an putting files onto memory stick then running Linux and running commands. Could this be my issues. Also when portioning hdd in linux I get red flag next to some of the partitions should this worry me? Yes definitely gen2

If you are downloading the files to a memory stick then inserting that memory stick into a computer running Linux, are you issuing the correct command (or have used a file manager) to move or copy the two files from the memory stick to the Linux computer? Or are you issuing the correct commands to navigate to the memory stick’s location in Linux where the files are located prior to issuing the cp uImage-wdrecovery /mnt/boot/boot/uImage and cp uRamdisk-wdrecovery /mnt/boot/boot/uRamdisk commands?

How are you partitioning the hard drive? The directions uses the Linux terminal window and the parted program. Or are you trying to use Gparted or similar graphical interface to partition the drive?

Hi guys,
I received a gen2 (-10 version) My Cloud single from a buddy of mine who moved the HDD to another enclosure with redundancy. Bought a brand new WD Red Plus 4TB HDD (WD40EFZX) and followed fox-exe instructions using the USB Flash drive. All is good up until I reboot. I’ve confirmed files are moved over correctly but once the device is rebooted (removing USB drive prior), nothing happens…just blinking red light. I cannot ping the IP and thus cannot pull up the web gui (have tried the IP, wdmycloud.local, wdmycloud.com) . If I reinsert the USB and power cycle it, I verified files are still there. Any idea why it can’t boot up?

Here are step 5 and 6 of what I’ve done:
5. Format HDD if need:
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

  1. Install original WD recovery and reboot:
    mkdir -p /mnt/usb /mnt/root
    mount /dev/sda3 /mnt/root
    mount /dev/sdb1 /mnt/usb
    cp -r /mnt/usb/boot /mnt/root/
    cd /mnt/root/boot
    rm uImage uRamdisk
    mv uImage-wdrecovery uImage
    mv uRamdisk-wdrecovery uRamdisk
    cd /
    umount /mnt/root /mnt/usb
    sync
    reboot -f

One other thing that I also attempted was to format /dev/sda2 with ext4 as suggested by someone above.

Confirmation the files are still in place:
/ # mkdir -p /mnt/boot
/ # mount /dev/sda3 /mnt/boot
/ # cd /mnt/boot/boot/
/mnt/boot/boot # ls
uImage uRamdisk
/mnt/boot/boot #

parted -l output:
/ # parted -l
Model: ATA WDC WD40EFZX-68A (scsi)
Disk /dev/sda: 4001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 2149MB 2147MB linux-swap(v1) primary
4 2149MB 3222MB 1074MB primary
5 3222MB 4296MB 1074MB primary
6 4296MB 6443MB 2147MB primary
7 6443MB 7517MB 1074MB primary
3 7517MB 8591MB 1074MB ext4 primary
2 8591MB 4001GB 3992GB ext4 primary

Model: SanDisk Cruzer (scsi)
Disk /dev/sdb: 8000MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number Start End Size Type File system Flags
1 16.4kB 8000MB 8000MB primary fat32

i download files on windows 10 system them unzip files then copy and paste onto memory stick STILL USING WIN10 which is formatted fat32,
i then shut down pc disconnect hdd which contains win10, i then attach hdd from my cloud to pc via sata cable then boot into Linux using a boot cd with ubuntu.
i then open terminal to format hdd and execute these commands,

parted -l to check drives
then
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

i then attempt to write files to disk using these commands with usb stick in usb 2.0 port

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

which does not work i can only get them to write to disk by using this command

mkdir -p /mnt/usb /mnt/root
mount /dev/sda3 /mnt/root
mount /dev/sdb1 /mnt/usb
cp -r /mnt/usb/boot /mnt/root/
cd /mnt/root/boot
rm uImage uRamdisk
mv uImage-wdrecovery uImage
mv uRamdisk-wdrecovery uRamdisk
cd /
umount /mnt/root /mnt/usb
sync
reboot -f

which is the commands for usb attached to my cloud via telnet, my usb stick is attached to pc and not via telnet as i can not connect to my router with ip that way as will not work on network until them files are on hdd.

What is the specific error that you get at that point for each of those commands?

Do you get the error (what ever it is) if you use these commands instead?

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

Not sure if anyone else has reported similar issues that you are experiencing when using Fox’s second gen directions. Most seem to be able to successfully use the directions to restore their second gen single bay My Cloud.

i get same error even when using sudo, i see that some people are replacing there drives with wd red drives for nas systems could this be an issue im only using a 500gb drive that was removed from a pc?