Hey guys,
I tried to install debian and omv by using these instructions and it bricked mt device. I have unbricked it and back to normal now.
I used these instructions are they the correct ones?
Source Code
-
Install:
-
- Go to web panel and install .bin file as regular firmware
-
- After reboot - device get new IP address, find it and connect via Telnet
-
- Run these commands for prepare HDD’s:
-
Disk 1: /dev/sda, Disk 2: /dev/sdb
-
Run it for both disks if you need raid and replace “missing” in mdadm command to 2nd disk (/dev/sdb)
- parted --script /dev/sda "mklabel gpt \
- mklabel gpt \
- mkpart primary 0% 512MB \
- mkpart primary 512MB 4096MB \
- mkpart primary 4096MB 100% \
- set 1 raid on \
- set 2 raid on \
- set 3 raid on"
-
Replace “Missing” to /dev/sdb* for use bith disks.
- mdadm --create /dev/md0 --level=1 --metadata=0.9 --raid-devices=2 /dev/sda1 missing
- mdadm --create /dev/md1 --level=1 --metadata=0.9 --raid-devices=2 /dev/sda2 missing
- mdadm --create /dev/md2 --level=1 --metadata=0.9 --raid-devices=2 /dev/sda3 missing
-
For add 2nd disk later
-
Format disk and run this:
- mdadm --manage /dev/md0 --add /dev/sdb1
- mdadm --manage /dev/md1 --add /dev/sdb2
- mdadm --manage /dev/md2 --add /dev/sdb3
-
Mount partitions and upload rootfs (Already include kernel):
- mkdir /mnt/root
- mount /dev/md1 /mnt/root
-
Upload rootfs archive to this partition and unpack:
- cd /mnt/root
- wget http://fox-exe.ru/WDMyCloud/WDMyCloud-Mirror-Gen2/Debian/Dev/debian-stretch-rootfs.tar.xz
- tar xvf debian-stretch-rootfs.tar.xz
-
Reboot device
- sync
- reboot -f
-
After reboot you can connect via SSH:
- Hostname: WDMCmg2
- User: root
- Passwd: mycloud
and the bin file from here: drive.google.com/drive/folders/0B_6OlQ_H0PxVN2FONUZISk02WGM
any advice would be great!