Jump to content

WD MyCloud Gen2 (wd-glacier)

From postmarketOS Wiki
WD MyCloud Gen2
fastfetch running wd-glacier
fastfetch running wd-glacier
Manufacturer WD
Name MyCloud Gen2
Codename wd-glacier
Released 2015
Type nas
Hardware
Chipset Marvell Armada 375 (88F68720)
CPU Dual-core 1.2 GHz Cortex-A9
Storage 4TB/2TB
Memory 512MB
Architecture armv7
Software
Original software
The software and version the device was shipped with.
WD My Cloud OS 3
Extended version
The most recent supported version from the manufacturer.
WD My Cloud OS
Optional software Debian
postmarketOS
Category testing
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
yes
pmOS kernel
The kernel version that runs on the device's port.
6.16.0
Initial MR
Initial merge request.
pmaports!7259
Features
Connectivity
Ethernet
Works
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Untested
USB-A
Whether the full-sized USB-A port works.
Broken
SATA/eSATA
Works

Booting

pmOS wouldn't boot automatically when it got powered on.Therefore we need to manually boot pmos from uboot shell (modifying the default boot behavior is not possible)

USB Stick

Note Due to the kernel is too big, the initramfs cant be loaded in memory.Therefore pmOS boot without inittemfs . Hence you need to put root=/dev/sdX2 in the kernel parameters.
Note usb dont work

Run these commands to manually boot pmOS from USB Stick:

# usb reset;setenv bootargs 'root=/dev/sdX2 console=ttyS0,115200' ; ext4load usb 0:1 0xa00000 uImage;bootm 0xa00000

SATA

Run these commands to manually boot pmOS from sata drive:

# setenv bootargs 'root=/dev/sdX2 console=ttyS0,115200' ; ext4load ide 0:1 0xa00000 uImage;bootm 0xa00000

Storage

This device contain two internal storage : one is the spi chip (which for u-boot) , one is the hdd chip (which for os and data)

Partition Tablet

Disk /dev/sda: 3.64 TiB, 4000787030016 bytes, 7814037168 sectors
Disk model: WDC WD40EFRX-68W
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 889A0603-A18D-4DA7-8E7A-E8DB3967566B

Device        Start        End    Sectors  Size Type
/dev/sda1      2048    4196351    4194304    2G Linux swap # A swap in raid why raid?
/dev/sda2  16779264 7814037134 7797257871  3.6T Microsoft basic data # data
/dev/sda3  14682112   16779263    2097152    1G Microsoft basic data # boot
/dev/sda4   4196352    6293503    2097152    1G Microsoft basic data # twonkymedia stuff
/dev/sda5   6293504    8390655    2097152    1G Microsoft basic data # boot_recovery
/dev/sda6   8390656   12584959    4194304    2G Microsoft basic data # blank
/dev/sda7  12584960   14682111    2097152    1G Microsoft basic data # config

Partition table entries are not in disk order.

See Also

Debian Mainline Port