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.

Notes:

  • 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:
52 Likes
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 Firmware (Debian Jessie, Synology DSM6)
Alternative Software
Possible bricked - latest guide?
Restore Image - bloatware removed + transmission
Can I use alternative software on my My Cloud
Help me Unbrick my WD Mycloud 3TB
Nas os
Config file
Any actual alternative software?
OpenMediaVault question - after install, getting a solid red light
Using Plex Media Server with My Cloud
Synology OS on WD my Cloud - new Hope
My Cloud not loading (Solid white light)
Mainline kernel (>=4.11.x) for WD My Cloud Gen2
WD My Cloud device completely broken (help!)
Unbrick MyCloud Once and For All - Lets Make A Clear Tutorial for Everyone!
New firmware for mycloud
[DISCUSSION] Debian on mycloud
Adding new App
Has anyone updated their My Cloud linux OS?
WD My Cloud - File System type - Ubuntu connection question
WDMycloud and Western Digital softwares
My Cloud gen2 easily install Transmission
OpenVPN and myCloud
WD Sync and macOS High Sierra
Necesito reinstalar el sistema operativo debian 7 de my cloud 3tb
WD My cloud reliability
Home automation - Z-wave
Media server MyCloud 1st Gen
Festplattenwechsel bei WD MyCloud / Woher den Kernel bekommen?
Change disk for a smaller
WD - Frequently asked questions
Image file with GCC?
Cannibalizing 4tb mycloud
Manage sub-folders permissions
Cant connect to the my cloud dashboard
Running VPN Server on My cloud
Turn off/ Shut Down WD My Cloud using Android?
Why are apps only on the ex2?
How to download Torrents directly
WD - Frequently asked questions
Problems after FW upgrade: WDMYCLOUD
Newbie: Plex and Single-Bay MyCloud
[GUIDE] Install MiniDLNA on WD My Cloud (firmware series 3)
Viewing files from a removed hard drive
Question from New User- WD My Cloud - 2TB
Optware on MyCloud?
Security?! why is the latest firmware so full of unpatched vulnerabilities?
Unbrick MyCloud Once and For All - Lets Make A Clear Tutorial for Everyone!
Can you update firmware from 2.x to 4.x on MyCloud Device?
Is there a way to set maximum Share sizes in MyCloud?
OS X or Window 10 network boot
Not able to see download option in apps section for WD Cloud
Backup an network drive to my remote My Cloud on win 10
How to run a user boot script at MyCloud Gen2 (2.11.xx) devices
How to install MySQLi on gen1
Help With apache2 in Debian OS
How can I pull images from mycloud.com and show them in my website?
Rdiff-backup and point-in-time backups
How to increase my partition?
Access My Cloud via ASPX code
Plex
Totally Useless bit of kit. Scans whole drive everytime I add something and takes a week to scan
Using of Subvision
Unrar at V4+
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

Additions : Replace Samba 3 to Samba 4:

In simple:

Download compiled bin’s: https://drive.google.com/file/d/0B_6OlQ_H0PxVVmNFWXVHYTZ3XzQ/edit?usp=sharing

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

Result:

Download speed: 60-70 MB/s*

Upload speed: 30-40 MB/s*

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

6 Likes

Aleluia!

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.

Thanks!!!

  • 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 

Thanks

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: http://phpbb.openmediavault.org/viewtopic.php?f=13&t=5048

* 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 http://ftp.ru.debian.org/debian wheezy main contrib non-free
deb http://ftp.ru.debian.org/debian wheezy-updates main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free

#updated sources list  /etc/apt/sources.list 
deb http://ftp.us.debian.org/debian stable main contrib non-free
deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free

deb http://security.debian.org/ wheezy/updates main contrib non-free

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

change first two lines that contain ftp.ru.debian…

Save and close out.

apt-get update

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

 I found it here: https://wiki.debian.org/ChangeLanguage

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?


EDIT

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