Debian on USB stick for WD My Cloud Gen2
I’m thinking about the howto. But everybody, who can use it, needs only this simple:
- download uRamdisk from GitHub - Johns-Q/wdmc-gen2: WD My Cloud Gen2 (Kernel / Distribution / Information) drop
- download uImage from same link
- download jessie-rootfs.tar.gz from http://anionix.ddns.net/WDMyCloud/WDMyCloud-Gen2/Debian/
- get an empty USB 2.0 stick (USB 3.0 sticks have boot problems)
- make a DOS partition table on the usb stick
- make a FAT32 (LBA) partition ~1GB on the usb stick
- make a linux partition remaining space on the usb stick
- make a FAT32 filesystem on the FAT32 partition
- make a EXT4 filesstem on the linux partition
- make a directory /boot on the FAT32 partition
- copy uRamdisk and uImage into /boot on the FAT32 partition
- extract jessie-rootfs.tar.gz in the root / of the EXT4 partition
- remove etc/udev/rules.d/70-persistent-net.rules from the EXT4 partition
- insert usb stick into the WD My Cloud Gen2 and reboot
- have dhcp server on your network running
- login using ssh get ip from your router log (root/mycloud)
- change root password
Much fun playing arround.
Johns