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

WD make a great device with cheap price, but its not so functional for me. So i make few alternatives and here is they:

Whats done now?

Recovery and roll back:
If something went wrong, please read “Replace HDD” instruction - its help you reupload firmware to HDD or change internal HDD to another one (Yes, need disassemble device)
Or use “Recovery” package for unbrick devise without opening.


  • WOL not supported by Hardware.
  • Be careful with network settings - sometime OMV erase network settings (/etc/network/interfaces)
  • On first login you can get “Error 404: Not found”. Just clear browser cache and check URL (There is no “/UI” string in path anymore)
  • When you using Autoinstall script - all your data will be saved (Because 4rd partition not formatted)
  • **User / Password for login (WebGui, SSH, etc…) is root/mycloud or admin/mycloud
  • For OMV: After install - go to Storage -> File systems -> Unmount /dev/sda4 and mount it again, then create “Shared folders” and setup other things (Samba, ftp, ssh etc…)
  • For other questions - check this thread. I think all questions already answered.
  • For donations: Just visit my website and use available methods… Or just click to advertisment :slight_smile:
Alternative Firmware (Debian Jessie, Synology DSM6)
Has anyone tried to overwrite MyCloud NAS with Ubuntu Server?
Debian for my WD myCloud EX2 Ultra?
Apt-get update bricked drive
Recover user files Openmediavault installation
Turning WD My Cloud into a NextCloud Box
Alternative Software
Can I use alternative software on my My Cloud
Alternative Firmware (Debian Jessie, Synology DSM6)
Help me Unbrick my WD Mycloud 3TB
OpenMediaVault question - after install, getting a solid red light
Restore Image - bloatware removed + transmission
Possible bricked - latest guide?
Synology OS on WD my Cloud - new Hope
Nas os
Any actual alternative software?
Config file
Using Plex Media Server with My Cloud
New firmware for mycloud
[DISCUSSION] Debian on mycloud
Festplattenwechsel bei WD MyCloud / Woher den Kernel bekommen?
Has anyone updated their My Cloud linux OS?
Mainline kernel (>=4.11.x) for WD My Cloud Gen2
My Cloud not loading (Solid white light)
Unbrick MyCloud Once and For All - Lets Make A Clear Tutorial for Everyone!
Adding new App
WD My Cloud device completely broken (help!)
Home automation - Z-wave
My Cloud gen2 easily install Transmission
OpenVPN and myCloud
WD My Cloud - File System type - Ubuntu connection question
WDMycloud and Western Digital softwares
WD Sync and macOS High Sierra
Necesito reinstalar el sistema operativo debian 7 de my cloud 3tb
WD My cloud reliability
Problems after FW upgrade: WDMYCLOUD
WD - Frequently asked questions
WD - Frequently asked questions
How to install MySQLi on gen1
[GUIDE] Install MiniDLNA on WD My Cloud (firmware series 3)
Why are apps only on the ex2?
Running VPN Server on My cloud
Cant connect to the my cloud dashboard
Can you update firmware from 2.x to 4.x on MyCloud Device?
Cannibalizing 4tb mycloud
Question from New User- WD My Cloud - 2TB
Manage sub-folders permissions
Image file with GCC?
Turn off/ Shut Down WD My Cloud using Android?
OS X or Window 10 network boot
Change disk for a smaller
Viewing files from a removed hard drive
How to download Torrents directly
Media server MyCloud 1st Gen
Newbie: Plex and Single-Bay MyCloud
How can I pull images from and show them in my website?
Outline server
Help With apache2 in Debian OS
How to run a user boot script at MyCloud Gen2 (2.11.xx) devices
Backup an network drive to my remote My Cloud on win 10
Not able to see download option in apps section for WD Cloud
So... What do I do with this thing now?
Is there a way to set maximum Share sizes in MyCloud?
Docker for Gen1 and Gen2 devices?
Unofficial Patch for OS3 Zero Day RCE Vulnerability
USB ext4 drive not recognized, why?
Totally Useless bit of kit. Scans whole drive everytime I add something and takes a week to scan
Using of Subvision
Unrar at V4+
Does my 1st gen single bay My Cloud share the vulnerability that is hitting My Book Live devices?
Anyone upgraded their My Cloud Firmware to 4.01.02-41​7? Is this still buggy?
My Cloud Stuck on White LED
Loop module
Tracking/Monitoring use on My Cloud
Optware on MyCloud?
Security?! why is the latest firmware so full of unpatched vulnerabilities?
Help/Advice for Clean Install Debian (from scratch)
Unbrick MyCloud Once and For All - Lets Make A Clear Tutorial for Everyone!
Install Debian on WD My Cloud home
Cant update firmware "Invalid firmware file type"
Access My Cloud via ASPX code
How to increase my partition?
Rdiff-backup and point-in-time backups

Additions : Replace Samba 3 to Samba 4:

In simple:

Download compiled bin’s:

apt-get install samba
service samba stop
tar xvfz samba4_binary.tar.gz -C /usr/sbin/
service samba start

In /etc/samba/smb.conf edit/replace:

security = user
lanman auth = no
main protocol = NT1
encrypt passwords = truesocket options = IPTOS_LOWDELAY TCP_NODELAY SO_KEEPALIVEwrite cache size = 2097152
use sendfile = true
getwd cache = ye


Download speed: 60-70 MB/s*

Upload speed: 30-40 MB/s*

* @ 1 GB/s network via Samba (CIFS, Windows shares)



Yes, you can upgrade to Jessie or “Sid” - All works fine.

And you can use “Clean debian” - Its run faster. (And install under that - WebMin or Newer version of OMV (1.0.8))

All instructions included in first message. (And more in Google Drive folder)

Now let’s wait for somebody to make an english tutorial so we can install it to our buggy wd cloud :smiley:

Thanks for the info!

An english tutorial would be highly appreciated!

Thanks for your effort.

Pardon my Linux ignorance, but what is it that you are doing? I am curious. Are you replacing the OS provided by WD? Does it modify the disk layout? Are you adding packages and functionality?

Pardon my Linux ignorance, but what is it that you are doing? I am curious. Are you replacing the OS provided by WD? Does it modify the disk layout? Are you adding packages and functionality?

  • Yes. Its really “Clean Debian Wheezy 7.6” with some important stuff (Ramlog, mdadm and some tweaks for work)
  • If you want - You can modify layout on you HDD what you want (But /dev/sda7 - Is important. He stored boot config). My “FW” dont modyfy anything. (Used original layout - yeasy for install or rewert)
  • OMV = OpenMediaVault - Its free NAS OS, include CIFS/Samba shares, FTP, SMART monitoring, E-Mail notifications, Sync (Backup) services and more stuff in addition repository from commynity - Transmission, Web server (NGinx, PHP5, MySQL5), BTSync, OwnCloud!, ISCSI Target, MiniDLNA and lots of other stuff!

But omv still have some small bugs. (Not important - All original stuff works aswell).

Sorry for bad english - Im not use Google translate :smiley:

Some questions.

Do you lose the data in DataVolume?

Can i install it using ssh or i have to dissasemble de HD and plug in on PC with linux.

Sorry for my bad english.


  • Data not loose. Just dont touch /dev/sda4 (Only remount it in new system)
  • For now - Installation only with dissasemble device. (You can use Ubuntu or Debian LiveCD at regulat desctop)
1 Like

Great work! I’m might try them one of these ‘free’ days…

So can you advise us how to install it from Linux please ? 

I am eager to try it 


openmediavalue is very functional solution.
I installed it on my WD.
Unfortunately, the samba transfer performance is pathetic.
Fixed error HTTP Error 504 Gateway timeout when you try to log on
(cookies cleared)

Do you know someone solve the above problems?

How do I change the language clean install of Debian with ru> en?

Read first post!

About 503 error - IUse this solution:

* First open of web gui - is 3 min. (But then - works fast)

1 Like

You need to change/update the sources list from russian to english.

#!! Create /etc/apt/sources.list
deb wheezy main contrib non-free
deb wheezy-updates main contrib non-free
deb wheezy/updates main contrib non-free

#updated sources list  /etc/apt/sources.list 
deb stable main contrib non-free
deb wheezy-updates main contrib non-free

deb wheezy/updates main contrib non-free

cd /etc/apt/sources.list
nano sources.list

change first two lines that contain…

Save and close out.

apt-get update

 Change you local language. You must be root for this to work.

 I found it here:

env | grep LANG

export LANG=en_US.UTF-8

dpkg-reconfigure locales

A window will ask you to select the languages you want to have available. Choose your own.

Changes may not show immediately, a reboot will be needed.

Let us know how it goes.

1 Like

hi there

I’m trying to install the image from a livecd of ubuntu.

I follow all the steps but I can not install fake-hdclock (there).

After installing mdadm I do not see any md127 or md0 device.

I have the hard drive connected via USB and I can see all the partitions sdx-sdx8

Any idea?

Thank you !!

Search md’s:

ls /dev/ | grep md

Or just start manually:

mdadm -A /dev/md0 /dev/sdb1 /dev/sdb2

Where sdb = you WD HDD.

I had to use a gparted livecd because k / ubuntu did not recognize my usb.

It seems that the partition sdb4 has gone. Some proble in partition table. gparted see the device sdb4 but i can`t mount it.

When starting WDMyCloud, the LED flashes white and appears to be doing a check disk.

Any recommendation?


I got to repair the partitions and install an image of wdmycloud.

The disk boot with the blue LED in seconds. Then install debian image and now the LED blinks all the time in white.

Is this normal?

This is great work.

How fast OpenMediaVault works on MyCloud?

Is it slower than official firmware?

* OMV and CleanDebian have green LED (For difference). Blinking white - not good (Cant boot). Check manual. (recreate raid as /dev/md0 - is important!)

* OMV runs very fast, but have 2 bugs:

  1. Samba v3 - so slow… Need some tuning and upgrade to v4 (Samba v3=30MBps)
  2. First open of WEB gui takes 3 min. (OMV trying to load somthing at start, but can’t. 3min - cooldown.)

All other stuff - works as well.

~ 1 mounth - Run stable. (OMV v1.0.8, update to 1.0.13 - no problems.)

1 Like