WD Community

Clean OS (Debian), OpenMediaVault and other "firmwares"

today i restored using your backup. it worked! i have to deal with original firmware yes, but at least im not stuck in the bootloop of omv.

really thanks!!

For those using Clean Debian Jessie image WDMyCloud-Gen1/Clean%20debian/CleanDebian-Jessie.tgz, I’ve just gone through this exercise while resetting my myCloud with the new 18TB (currently using a split partition due to Linux 32-bit limitations), you may notice that running run_me_after_reboot.sh is probably not working properly.

Due to the time passed since, Debian Jessie is now out of support and so this includes APT’s ability to function using the defaults.

To fix this, you’ll need to do the following:

  1. Probably try running apt install debian-keyring debian-archive-keyring first if it works.

  2. Update /etc/apt/sources.list to include the following entries:

deb http://archive.debian.org/debian jessie main contrib non-free
deb-src http://archive.debian.org/debian/ jessie main contrib non-free
# Up to you if you want to continue using stable or comment/delete/keep whatever else.
  1. Since the WD myCloud NIC does not support IPv6, you will need to turn this off permanently. Create a file using nano /etc/apt/apt.conf.d/99force-ipv4
    Then put the following contents:
Acquire::ForceIPv4 "true";

Save and close.
Note: You may consider adding other settings if you really can’t deal with the GPG auth issues, but you can google that yourself as it’s at your own risk.

  1. Once all good, try running apt-get clean && apt update and see if you’re able to proceed further with the run_me_after_reboot.sh script.

Hi CarabouSpider

did you figure your problem out?

I had to reinstall my wd mycloud gen2, but it doesn’t connect (no ping, no ssh).

Couldn’t install it form USB stick, had to open it and copy the files to the hard-drive. (uImage, uRamdisk and jessie-rootfs.tar.gz).

Did something change? The manual doesn’t work anymore, or i got dumber in the meantime :wink:

Help would be appreciated

Also probably a dumb question, a usb stick, fat32, with uImage, uRamdisk and jessie-rootfs.tar.gz on it.

Why does the NAS sometimes boot from the USB-stick, but most of the time not. How can i influence that behavior?

(how does the reset button, 5 seconds and 40 seconds influence that or not)

No @evil77 , unfortunately not. The reason why I tried to install the Debian Jessie image is to be able to run my new 18 TB drive in my Gen 2, but eventually I gave up and bought an older Dell desktop and installed TrueNAS and reverted the Gen 2 back to the image I made of the My Cloud OS it had. Through all this I got actually pretty good and quick at loading images back and forth… :laughing:

You should be able to use an 18TB drive, but you will NOT be able to use a SINGLE partition larger than 16TB (Since these units are armv7 which only run 32-bit Linux). You need to split them.

Understood, and thinking back that is what I ran into. The MyCloud OS couldn’t recognize an 18 TB partition if I forced creating one after removing the HDD and installed it in a PC using a Linux distro. And that was when I realized the 32-bit limitation (kind of a duh moment) and that the armv7 was obviously 32-bit. So I figured to just buy a Dell desktop PC to run TrueNAS instead and be able to run Jellyfin, Home Assistant etc. that would not have been able on the Gen 2.

What i figured today;
the reset button seems to only work on WDs original OS, not on debian.
With debian the reset button seems to not have any function.

WDmyCloudGen2 seems to boot from USB stick if or when sda3 is missing or empty, probably when it can’t find uImage or uRamdisk.

Did a fresh install today, can’t access it. No ping, telnet or ssh. after 1-2 hours the router doesn’t display the IP anymore (it takes probably time till the router forgets the connection/IP from the time i accessed it with telnet)

That is strange because i did everything the same way i did it a few years ago

i made a recovery to original OS with
https://fox-exe.ru/WDMyCloud/WDMyCloud-Gen2/_Unbricking_en.txt

set it up to access, copied necessary files on it for debian, installed debian according to
https://fox-exe.ru/WDMyCloud/WDMyCloud-Gen2/Debian/_howto_en.txt

and got the same problem, no network access. (no ssh, ping etc.)

so maybe the new downloads (files) are broken or not the same as they have been bevor Fox_exe took them down two years ago?

Hi,
I have a my cloud home duo, could I use Fox_exe 文件 |/WDMyCloud/WDMyCloud-Home/Debian/ 的内容 (fox-exe.ru)on my device?
and Where should I start? Or check out the guide?

please help me

I really should have checked the previous replies first but there are 1912 of them which is way too many sorry

I have the My Cloud Home with OMV installed.

Now I want to go back to the original firmware, but if I read correctly WD doesn’t provide one.

What is the best strategy back?

The My Cloud Home is an entirely different device than the My Cloud line. It uses a different operating system than the My Cloud line. You should ask your question in the dedicated subforum for the My Cloud Home and hope someone can answer how to restore that device to it’s original firmware. Do not attempt to use methods to restore the operating system to the single bay/single drive My Cloud units on a My Cloud Home unit.

1 Like

Devuan 5 (fork Debian 12) and Gentoo for MCG1

Debian 12 and Gentoo for MCG2

1 Like

@Fox_exe Hi, fox. I managed to install Debian 12 with the latest 6.1.x kernel on my wd cloud. However, I’m unable to apply the tweak you posted here https://fox-exe.ru/WDMyCloud/WDMyCloud-Gen2/Developing/.

root@wdmycloud:/etc/samba# ethtool -C eth0 pkt-rate-low 20000 pkt-rate-high 3000000 rx-frames 32 rx-usecs 1150 rx-usecs-high 1150 rx-usecs-low 100 rx-frames-low 32 rx-frames-high 32 adaptive-rx on
netlink error: cannot modify an unsupported parameter (offset 100)
netlink error: Invalid argument

Here are some other info

root@wdmycloud:/etc/samba# ethtool -i eth0
driver: mvpp2
version: 1.0
firmware-version: 
expansion-rom-version: 
bus-info: eth0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no
root@wdmycloud:/etc/samba# ethtool -c eth0                                                                                                                                
Coalesce parameters for eth0:                                                                                                                                             
Adaptive RX: n/a  TX: n/a                                                                                                                                                 
stats-block-usecs: n/a                                                                                                                                                    
sample-interval: n/a                                                                                                                                                      
pkt-rate-low: n/a                                                                                                                                                         
pkt-rate-high: n/a                                                                                                                                                        
                                                                                                                                                                          
rx-usecs: 1150                                                                                                                                                            
rx-frames: 32                                                                                                                                                             
rx-usecs-irq: n/a                                                                                                                                                         
rx-frames-irq: n/a                                                                                                                                                        
                                                                                                                                                                          
tx-usecs: 1000                                                                                                                                                            
tx-frames: 64                                                                                                                                                             
tx-usecs-irq: n/a                                                                                                                                                         
tx-frames-irq: n/a                                                                                                                                                        
                                                                                                                                                                          
rx-usecs-low: n/a                                                                                                                                                         
rx-frame-low: n/a                                                                                                                                                         
tx-usecs-low: n/a                                                                                                                                                         
tx-frame-low: n/a                                                                                                                                                         
                                                                                                                                                                          
rx-usecs-high: n/a                        
rx-frame-high: n/a                        
tx-usecs-high: n/a                        
tx-frame-high: n/a   
CQE mode RX: n/a  TX: n/a                 

root@wdmycloud:/etc/samba# ethtool -s eth0                                                                                                                                
root@wdmycloud:/etc/samba# ethtool eth0                                                                                                                                   
Settings for eth0:                        
        Supported ports: [ TP    MII ]                                               
        Supported link modes:   10baseT/Half 10baseT/Full                                                                                                                 
                                100baseT/Half 100baseT/Full                                                                                                               
                                1000baseT/Full         
        Supported pause frame use: No                                                
        Supports auto-negotiation: Yes                                               
        Supported FEC modes: Not reported                                            
        Advertised link modes:  10baseT/Half 10baseT/Full                                                                                                                 
                                100baseT/Half 100baseT/Full                                                                                                               
                                1000baseT/Full                                       
        Advertised pause frame use: No                                               
        Advertised auto-negotiation: Yes                                             
        Advertised FEC modes: Not reported                                           
        Link partner advertised link modes:  10baseT/Half 10baseT/Full                                                                                                    
                                             100baseT/Half 100baseT/Full                                                                                                  
                                             1000baseT/Half 1000baseT/Full                                                                                                
        Link partner advertised pause frame use: Symmetric                                                                                                                
        Link partner advertised auto-negotiation: Yes                                
        Link partner advertised FEC modes: Not reported                              
        Speed: 1000Mb/s                   
        Duplex: Full                      
        Auto-negotiation: on                                                         
        master-slave cfg: preferred slave                                            
        master-slave status: slave                                                   
        Port: MII                         
        PHYAD: 0                          
        Transceiver: external                                                        
        Link detected: yes 

root@wdmycloud:/etc/samba# modinfo mvpp2
name:           mvpp2
filename:       (builtin)
license:        GPL v2
file:           drivers/net/ethernet/marvell/mvpp2/mvpp2
author:         Marcin Wojtas <mw@semihalf.com>
description:    Marvell PPv2 Ethernet Driver - www.marvell.com
parm:           queue_mode:Set queue_mode (single=0, multi=1) (int)

Do you have idea what is wrong? Thanks a lot for your help

Hi folks!
Is anywhere full manual to update my PR4100 firmware and install clean Debian with OMV?

Thanks in advance!

I’m currently creating a bootable USB flash drive to install Debian 12 on the PR4100. Will be ready within 2 weeks.

Hi, I am rocking this debian installation with OMV.

Now I have a ned 24TB HDD available, is it possible to move the installation to a bigger HDD by cloning the whole setup?

new to the forum and i am the owner of a WDmyCloud OS3 with version 4xx. It is a 3TB hard disk version. I am lost on how to install OMV or any other OS to my box.

If anyone interested I just cloned the drive with dd and extended the file system accordingly.

1 Like
Support for Western Digital Hard Drives | Western Digital

Still Need Help?

Reach out to Support for more assistance.

Sign in to Your Support Account

Get up-to-date information about your products.

Western Digital Business Portal

Unlock benefits and tools for your business such as enterprise support, pricing and rebate tools, marketing, loyalty, rewards, and more.