WD Community

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

All information deleted.

Just because a whole world hates me… Just because i’m Russian…

58 Likes
Alternative Firmware (Debian Jessie, Synology DSM6)
Has anyone tried to overwrite MyCloud NAS with Ubuntu Server?
Apt-get update bricked drive
Recover user files Openmediavault installation
Turning WD My Cloud into a NextCloud Box
Can I use alternative software on my My Cloud
Alternative Software
Help me Unbrick my WD Mycloud 3TB
Restore Image - bloatware removed + transmission
Alternative Firmware (Debian Jessie, Synology DSM6)
OpenMediaVault question - after install, getting a solid red light
New firmware for mycloud
Possible bricked - latest guide?
Any actual alternative software?
Using Plex Media Server with My Cloud
Config file
Festplattenwechsel bei WD MyCloud / Woher den Kernel bekommen?
Running VPN Server on My cloud
My Cloud gen2 easily install Transmission
Help/Advice for Clean Install Debian (from scratch)
Unbrick MyCloud Once and For All - Lets Make A Clear Tutorial for Everyone!
WD My Cloud device completely broken (help!)
My Cloud not loading (Solid white light)
WD My Cloud - File System type - Ubuntu connection question
WDMycloud and Western Digital softwares
Adding new App
Synology OS on WD my Cloud - new Hope
Has anyone updated their My Cloud linux OS?
Home automation - Z-wave
Mainline kernel (>=4.11.x) for WD My Cloud Gen2
Necesito reinstalar el sistema operativo debian 7 de my cloud 3tb
OS X or Window 10 network boot
OpenVPN and myCloud
WD Sync and macOS High Sierra
Media server MyCloud 1st Gen
WD My cloud reliability
Cant connect to the my cloud dashboard
Problems after FW upgrade: WDMYCLOUD
Security?! why is the latest firmware so full of unpatched vulnerabilities?
Manage sub-folders permissions
Outline server
So... What do I do with this thing now?
Turn off/ Shut Down WD My Cloud using Android?
Cannibalizing 4tb mycloud
Viewing files from a removed hard drive
How to download Torrents directly
Why are apps only on the ex2?
Wd my cloud
Image file with GCC?
Cant update firmware "Invalid firmware file type"
How to install MySQLi on gen1
[GUIDE] Install MiniDLNA on WD My Cloud (firmware series 3)
Anyone upgraded their My Cloud Firmware to 4.01.02-417? Is this still buggy?
Question from New User- WD My Cloud - 2TB
My Cloud Stuck on White LED
Esxi on WD MYCLOUD
WD - Frequently asked questions
Newbie: Plex and Single-Bay MyCloud
WD Mycloud - Loading UBUNTU on device
Can you update firmware from 2.x to 4.x on MyCloud Device?
Unbrick MyCloud Once and For All - Lets Make A Clear Tutorial for Everyone!
Advice on reformatting options for 4TB My Cloud
Help With apache2 in Debian OS
[DISCUSSION] Debian on mycloud
Debian for my WD myCloud EX2 Ultra?
Does my 1st gen single bay My Cloud share the vulnerability that is hitting My Book Live devices?
USB ext4 drive not recognized, why?
Gentoo Linux on MyCloud
Access My Cloud via ASPX code
WD - Frequently asked questions
New life for my NAS?
How to increase my partition?
Totally Useless bit of kit. Scans whole drive everytime I add something and takes a week to scan
Using of Subvision
Unrar at V4+
Rdiff-backup and point-in-time backups
Loop module
Tracking/Monitoring use on My Cloud
Optware on MyCloud?
Docker for Gen1 and Gen2 devices?
How can I pull images from mycloud.com and show them in my website?
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
Options now support has ended
Is there a way to set maximum Share sizes in MyCloud?
Unofficial Patch for OS3 Zero Day RCE Vulnerability

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)

7 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.

2 Likes

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
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.