Skip to content

edsoncms/WD-ShareSpace-Boot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WD ShareSpace — Boot Files (Linux Kernel 3.10.0+)

Boot files for the Western Digital ShareSpace (WD ShareSpace / WD4000E035-00), a discontinued 4-bay NAS device no longer supported by Western Digital.

This repository preserves the files needed to restore or update the device's boot, which may be useful for anyone still running this hardware in a home or lab environment.


📦 Contents of boot.zip

File Size Date Description
config-3.10.0+ ~117 KB 2016-07-05 Kernel build configuration
System.map-3.10.0+ ~1.1 MB 2016-07-06 Kernel symbol map (function and variable addresses)
vmlinuz-3.10.0+ ~1.4 MB 2016-07-06 Compressed Linux kernel image (zImage/ARM format)
vmlinuz-3.10.0+.withmagic ~1.4 MB 2017-02-09 Kernel with ARM magic bytes prepended for bootloader compatibility
vmlinuz.magic 8 bytes 2017-02-09 Raw ARM magic bytes used to produce the .withmagic file
initrd.img-3.10.0+ ~9.5 MB 2017-02-09 Initial RAM disk — temporary filesystem used during boot
uImage ~1.4 MB 2017-02-09 Kernel in U-Boot format (loaded directly by the device bootloader)
uInitrd ~8.7 MB 2017-02-09 Initial RAM disk in U-Boot format

uImage and uInitrd are the files actually loaded by the WD ShareSpace bootloader.


🔧 Kernel technical details

  • Kernel version: Linux 3.10.0+
  • Architecture: ARM (32-bit)
  • Platform: Marvell Orion5X (CONFIG_ARCH_ORION5X=y)
  • Machine target: CONFIG_MACH_SHARESPACE=y
  • Kernel compression: XZ (CONFIG_KERNEL_XZ=y)

🚀 How to use — Restoring / Updating the boot

Prerequisites

  • SSH access to the WD ShareSpace (as root)
  • The device must be functional enough to accept a network connection
  • An SCP/SFTP client (e.g. scp, FileZilla, WinSCP)

Step 1 — Identify the boot partition

Connect via SSH and check the partitions:

cat /proc/mtd

Or, if the system uses disk partitions:

fdisk -l
df -h

The boot partition is usually /dev/sda1 or a specific MTD volume. Note the mount point (typically /boot).

Step 2 — Back up the current boot files

Always back up before making any changes!

cp -r /boot /boot.bak

Step 3 — Transfer the files to the device

From your computer, send the files via SCP:

scp uImage uInitrd root@<NAS-IP>:/boot/

Replace <NAS-IP> with your WD ShareSpace's IP address on the network.

To copy all files at once:

scp config-3.10.0+ System.map-3.10.0+ vmlinuz-3.10.0+ \
    vmlinuz-3.10.0+.withmagic vmlinuz.magic \
    initrd.img-3.10.0+ uImage uInitrd \
    root@<NAS-IP>:/boot/

Step 4 — Check file permissions

On the device, confirm the correct permissions:

chmod 644 /boot/uImage /boot/uInitrd

Step 5 — Reboot the device

reboot

Wait for the device to restart (may take a few minutes). Monitor the front panel LEDs — normal behavior is a solid green power LED once the boot is complete.


⚠️ Important warnings

  • Discontinued device: The WD ShareSpace is no longer officially supported by Western Digital. Use this information at your own risk.
  • Always back up your original files before replacing anything.
  • These files were compiled for the Marvell Orion5X platform — they are not compatible with NAS devices of different architectures.
  • Kernel 3.10.0+ is an old EOL version. It is not recommended to expose this device directly to the internet.

📚 References


🤝 Contributing

Contributions are welcome! If you have additional information about the WD ShareSpace, complementary files, or corrections, feel free to open an issue or submit a pull request.


📄 License

This project is licensed under the MIT License — see the LICENSE file for details.

MIT License

Copyright (c) 2024

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


WD ShareSpace — Arquivos de Boot (Kernel Linux 3.10.0+)

Arquivos de boot para o Western Digital ShareSpace (WD ShareSpace / WD4000E035-00), um NAS de 4 baias descontinuado pela Western Digital e que não possui mais suporte oficial.

Este repositório preserva os arquivos necessários para restaurar ou atualizar o boot do equipamento, podendo ser útil para quem ainda utiliza o dispositivo em ambiente doméstico ou de laboratório.


📦 Conteúdo do arquivo boot.zip

Arquivo Tamanho Data Descrição
config-3.10.0+ ~117 KB 05/07/2016 Configuração usada na compilação do kernel Linux
System.map-3.10.0+ ~1,1 MB 06/07/2016 Mapa de símbolos do kernel (endereços de funções e variáveis)
vmlinuz-3.10.0+ ~1,4 MB 06/07/2016 Imagem comprimida do kernel Linux (formato zImage/ARM)
vmlinuz-3.10.0+.withmagic ~1,4 MB 09/02/2017 Kernel com magic bytes adicionados para compatibilidade com o bootloader
vmlinuz.magic 8 bytes 09/02/2017 Magic bytes ARM utilizados para criar o arquivo .withmagic
initrd.img-3.10.0+ ~9,5 MB 09/02/2017 Initial RAM disk — sistema de arquivos temporário usado na inicialização
uImage ~1,4 MB 09/02/2017 Kernel no formato U-Boot (para carregamento pelo bootloader do equipamento)
uInitrd ~8,7 MB 09/02/2017 Initial RAM disk no formato U-Boot

Os arquivos uImage e uInitrd são os utilizados diretamente pelo bootloader do WD ShareSpace.


🔧 Informações técnicas do kernel

  • Versão do kernel: Linux 3.10.0+
  • Arquitetura: ARM (32-bit)
  • Plataforma: Marvell Orion5X (CONFIG_ARCH_ORION5X=y)
  • Machine target: CONFIG_MACH_SHARESPACE=y
  • Compressão do kernel: XZ (CONFIG_KERNEL_XZ=y)

🚀 Como utilizar — Restaurando / Atualizando o boot

Pré-requisitos

  • Acesso SSH ao WD ShareSpace (usuário root)
  • O equipamento deve estar funcional o suficiente para aceitar conexão de rede
  • Um cliente SCP/SFTP (ex: scp, FileZilla, WinSCP)

Passo 1 — Identificar a partição de boot

Conecte-se via SSH ao dispositivo e verifique as partições:

cat /proc/mtd

Ou, se o sistema usar partições de disco:

fdisk -l
df -h

A partição de boot geralmente é /dev/sda1 ou um volume MTD específico. Anote o ponto de montagem (normalmente /boot).

Passo 2 — Fazer backup dos arquivos de boot atuais

Antes de qualquer alteração, faça backup!

cp -r /boot /boot.bak

Passo 3 — Transferir os arquivos para o equipamento

No seu computador, envie os arquivos via SCP:

scp uImage uInitrd root@<IP-DO-NAS>:/boot/

Substitua <IP-DO-NAS> pelo endereço IP do seu WD ShareSpace na rede.

Caso prefira copiar todos os arquivos:

scp config-3.10.0+ System.map-3.10.0+ vmlinuz-3.10.0+ \
    vmlinuz-3.10.0+.withmagic vmlinuz.magic \
    initrd.img-3.10.0+ uImage uInitrd \
    root@<IP-DO-NAS>:/boot/

Passo 4 — Verificar permissões

No equipamento, confirme as permissões corretas dos arquivos:

chmod 644 /boot/uImage /boot/uInitrd

Passo 5 — Reiniciar o equipamento

reboot

Aguarde o equipamento reiniciar (pode levar alguns minutos). Monitore os LEDs do painel frontal — o comportamento normal é o LED de power ficar verde e constante após o boot completo.


⚠️ Avisos importantes

  • Equipamento descontinuado: O WD ShareSpace não possui mais suporte oficial da Western Digital. Utilize estas informações por sua conta e risco.
  • Faça sempre backup dos arquivos originais antes de substituir qualquer coisa.
  • Estes arquivos foram compilados para a plataforma Marvell Orion5X — não são compatíveis com outros equipamentos NAS de arquiteturas diferentes.
  • O kernel 3.10.0+ é uma versão antiga (EOL). Não é recomendado expor o equipamento diretamente à internet.

📚 Referências


🤝 Contribuições

Contribuições são bem-vindas! Se você tem informações adicionais sobre o WD ShareSpace, arquivos complementares ou correções, fique à vontade para abrir uma issue ou enviar um pull request.


📄 Licença

Este projeto está licenciado sob a MIT License — veja o arquivo LICENSE para mais detalhes.

MIT License

Copyright (c) 2024

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

About

Boot files for the Western Digital ShareSpace (WD ShareSpace / WD4000E035-00), a discontinued 4-bay NAS device no longer supported by Western Digital.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors