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

I have a very simply question that I could not find by searching the thread. Is the access to my device from the WD mycloud.com website still possible after this OS/Firm change?

Thanks!

Hey, Have the DSM 5.2 running on my wd cloud 2t. Does anyone know how to get the usb port working? I would like to plug an external stroage to it.

I am having an issue. I upgraded my kernel to 3.2.68, with iptables_filter. I am not sure how to add ipset in the kernel. would you be able to help me out Fox. Thanks

WDMyCloud-Gen2
3TB version
Copy uImage, uRamdisk and rootfs-jessie.tar.xz to /boot/boot (Overwrite all)
then Reboot
the LED became red and yellow, can not boot

open the box connect the HDD to ubuntu OS

cp uImage-wdrecovery /mnt/boot/boot/uImage
cp uRamdisk-wdrecovery /mnt/boot/boot/uRamdisk

the WDMy Cloud-GEN2 resume to normal

how can i change it to debian and OMV firmware

Telnet accessable? (Device will get NEW IP, because MAC address changes).

check the router log , no client get the IP
My GEN2 CPU is Marvell Armada 375

Does it support clean Debian ?

Yes. (WDMC Gen2 in my terminology).
https://ftp.anionix.ru/WDMyCloud/WDMyCloud-Gen2/Debian/

Hello Fox,

I have been following your posts in WD forum for quite sometime now and found your explanations much easier.

I would like to seek your guidance to host a web server with few websites running.

From past 3 months I was spending time learning Linux technology as I wanted to setup a mini scale web server hosting couple of websites only, as such I learnt Fedora and Apache.

Eventually, I purchased WD My Cloud v2.21.111 and was under the impression that I could implement the webserver and pages…but to my distress I did not even understand this infrastructure; however, I have understood from all these posts that there is a possibility.

Hence, would you please guide or point me to a direction to know how can I implement this - need Apache + Joomla or Drupal + OwnCloud.

Regards
Raj

Hi Fox,

thanks for your guide ,my WDMC Gen2 installed OMV
but now the OMV can not add a shared folder for instance, I have no device listed. It shows blank.
check the OMV file system . the /dev/sda2 automatic mouted , can not umount and delete

Need unmount data volume in fstab and mount it from WebGui (This add’s new, correct, record to fstab and omv database)

I get this error while trying to run apt-get command via chroot - bash-4.3

Error Message: apt-get: error while loading shared libraries: libapt-pkg.so.4.12: cannot open shared object file: No such file or directory.

Hi Fox!

Thanks for your effort in the first place. I managed to get DSM installed and running for now… but i have a little problem, if i reboot, it only will reboot if i put the usb stick in for 10 seconds while booting. otherwise it will give me a red light.

i tried to create a boot folder in the / directory and put the same uImage and uRamdisk in it that i have on the usb… but didnt work. is there any way to get this fixed? thanks!

Need put this files to 3rd partition (/dev/sda3, /boot folder). sda3 mounted as /volume1 (if I am not mistaken).

yeah that did the trick. shame on me for not trying this ^^

i got one more for you haha, i managed to setup a cronjob that mounts the sda3 on reboot… but here it comes, after i reboot, my shares in the filestation disapear. you have any idea whats wrong here?

Hi,
I installed clean Debian and OMV on my myCloud Gen1. It works perfect.
Thanks a lot to @Fox_exe

The only issue I’m facing to, is that the disc never spins down. I had a look with iotop on that. My guess is that OMV writes to the system disk too much to spin down.

Can anyone confirm that? Or was anyony able to spin down the disc with OMV?

Thank

SOLVED

Hi!

First of all thanks for your work! I’m running CleanOS with OMV on one of my WD MyCloud 1st Gen. 3TB. Today I tried to install it on my second MyCloud (same config as the first). But something went wrong :frowning2:

The LED stayed White for more than one hour and nothing happened. I tried reading the disk on ubuntu but I also failed at this one.
So I erased all partitions and followed the steps for replacing the HDD.
First parted states that he can’t
mkpart primary 4824M 4826M
and gives me an option to place it in another sector range.
For
mkpart primary 4826M 4828M
I get an performance warning. Also when running
mdadm -A /dev/md0 /dev/sdb1 /dev/sdb2
I get
“no recognizable superblock on / dev / sdb1”

So I went on with:
mdadm --assemble /dev/md0 /dev/sdb1
mdadm --add /dev/md0 /dev/sdb1

Afterwards everything went smooth until:
touch /mnt/hdd/etc/.fresh_install

Here i get:
“nothing to touch”

Reassembling the NAS and starting it returned a red LED.

So I think I’m at a point where my only option is to restoring via HDD.
But what am I doing wrong?

Thanks :slight_smile:

SOLVED!


UPDATE:
I finally succeeded by downloading a “virgin” image of the WD Mycloud 2TB. But I’m still convinced that i was failing in the first place because of the sector size. After I now successfully installed clean debian I looked at parted -l and also here it says logical = 512, physical = 4096.
So since it’s now working, I would say never mind :smiley:

For WD MyCloud Gen2 now available Synology DSM v6.0.2-8451!

  • Almost all works perfect.
  • Blue led = standbuy, Red = Alarm/Error, Green (cyan/lt.blue) = Disk activity
  • Awesome network speed (samba) - 100-110 MBps! (Full Gygabyte/s!)
  • Working Autoupdate (Autoupdate firmware from my website).

Bugs:

  • USB works, but DSM can’t see usb drives (But in SSH all accessable / can be mounted). Fix: mount usb drive via SSH to any empty folder in already shared folders. If someone find why this happends - tell me please.
  • If HDD less than 4TB - install from webgui format HDD to MBR. Its not supported by bootloader and device can’t boot. Fix: Use parted (from debian fw) and reformat disk to GPT, then recreate partitions with same size (run fsck for part. 1 and 3 just in case)

Hello Fox!
Thanks for your effort.
BTW I have installed debian on MC gen2, but it seems it doesn’t detect usb.
Does usb work on your debian?