viernes, 24 de enero de 2014

Replace internal SATA Drive or Reinstall firmware to perfect Factory Default of Iomega Home Media Network Hard Drive ((MHNDHD) only

Spanish keywords: Reemplazar disco duro SATA Interno o Reinstalar el firmware para un Reseteo de Fábrica perfecto del equipo NAS Iomega Home Media Network Hard Drive

Don't try this on model "Cloud Edition" it will not work or HMND2
Perfect for: Iomega Home Media Network Hard Drive
Source: http://iomega.nas-central.org/wiki/Installing_firmware_on_a_new_disk_(Home_Media)

You could use this procedure if you forgot the local password of the managment console, you have backed up all your files or if you want to install a bigger drive on the NAS

1. You will need a DVD or USB with Ubuntu Desktop or a Laptop or Desktop with Ubuntu Installed
2. In this case i'll use Ubuntu DVDR
http://www.ubuntu.com/download/desktop#
3. Install the new SATA Drive on the desktop
4. boot and start Ubuntu Live
5. open a terminal (ctrl+alt+t)
6. reset Live cd root password with

#sudo passwd root
(follow screen instructions to reset root password)
5. now you can use root
#su
(use the root password when it prompts)
6) follow the next steps exactly as it shown.  In the scenario you have 1 principal disk (your Windows, Linux, Ubuntu disk) and the new sata disk (be careful to not erase your own laptop or desktop disk)

7)

Find device name

Find the device name of the disk:
cat /proc/partitions
You can recognize the disk by it's size. (The size is given in 'blocks', which is 1 KiB)

I'll assume the disk is sdb for the rest of the story.

Collect files

Download mbr+uboot+kernel.gz and sda1-2064.tgz here.

Become root

You'll need to have root rights to do the next steps. In Ubuntu or Knoppix you can get these by executing
sudo su
In most other flavors you just execute
su

ESTO ES DESTRUCTIVO OJO EN NO EQUIVOCARTE DE /dev

MBR, uBoot and kernel

Write mbr+uboot+kernel.gz to disk:
gzip -dc /full/path/to/mbr+uboot+kernel.gz | dd of=/dev/sdb
(when using sudo for root things, this should be
gzip -dc /full/path/to/mbr+uboot+kernel.gz | sudo dd of=/dev/sdb
)

Change data partition size

Use fdisk to remove partition 2, and add it again. Primary partition. (your disk will have a different size than the mbr donor).
fdisk is started by:
fdisk /dev/sdb
and use 'm' to get further help.
Change the partitiontype of partition 2 to fd.
Write partitiontable and exit fdisk.
SENCILLO SOLO METE LOS CARACTERES Y LOS ENTER COMO SE DESCRIBE

For the lazy people, the exact keystrokes in fdisk are:
d{enter}2{enter}(delete partition 2)
n{enter}p{enter}2{enter}(create new, primary, partition at slot 2)
{enter}{enter} (default start- end endsector)
t{enter}2{enter}fd{enter}(change type of partition 2 to 'fd')
w{enter}(write changes and exit)

System partition

Format partition 1:
mke2fs -j /dev/sdb1
Create a mountpoint, and mount partition 1:
mkdir /tmp/sdb1
mount /dev/sdb1 /tmp/sdb1
Install the rootfs:
cd /tmp/sdb1
tar -xzf /full/path/to/sda1-2064.tgz
The last command might give a lot of errors about unresolved symlinks in /etc/ssl/. This is normal. The symlinks point to files which really don't exist

Data partition

Format partition 2:
mkfs -t xfs /dev/sdb2
It is possible that you have to install xfsprogs first. On Ubuntu or Debian:
apt-get install xfsprogs

Ready

When you put this disk in your Home Media, it should work.
On a Home Media the MAC address is stored on the disk. For this disk image it's 00:d0:b8:09:68:1e. If you want to change it, you'll have to edit /etc/modules.
DHCP must be enabled on the network
use http://assigneddhcpaddress to reconfigura the Iomega drive
EXITOS

18 comentarios:

  1. Hola, gracias por compartir la información, en este caso dispongo de un Home Media Network Hard Drive de 1 Tb, modelo MHNDHD exacto al del post. al encenderlo ocurre que la luz blanca inicia luego de unos segundos la azul, posteriormente se ejecutan ambas luces de forma intercalada, luego se apaga la azul y queda la blanca encendida un instante mas hasta que finalmente se apaga, no se si en este caso hace referencia al Disco Duro que esta afectado, la tarjeta lógica a la que se conecta el disco interno o una falla de reconocimiento del disco por el firmware que está desconfigurado, lamentablemente no tengo a mano el cable Sabrent SATA-C35U Serial ATA to USB 2.0 Cable Converter Adapter with Power Supply para intentar una restauración del firmware. Debo comprar el convertidor, pero quiero asegurarme antes de que el disco duro interno funciona correctamente, mi pregunta es: Si lo conecto directamente con el cable sata convencional en una tarjeta madre que es compatible con conecciones de discos duros de SATA 1.5Gb/s, me debería aparecer el disco duro una vez arranque el sistema operativo, o solo me aparecerá identificado en la BIOS, saludos.

    ResponderEliminar
  2. Si puedes conectarlo como disco alterno en tu computador. La mayor parte de acciones de ambas entradas del blog se hicieron con un Live Ubuntu. Aparecerá en el BIOS y podrás montarlo es del tipo XFS.

    Si quieres recuperar los datos deberás seguir la otra entrada http://bad3000.blogspot.com/2014/01/iomega-home-media-network-hard-drive.html

    en ese caso la aplicación utilizada corre sobre Windows. También podrías usar otra llamada ReclaiMe

    Invertir unos 200$ por la última versión o buscar una en internet qué funcione.

    saludos,

    ResponderEliminar
    Respuestas
    1. Saludos Badboy, mi HD en el NAS se rompio, ahora estoy intentando instalar uno nuevo. sin embargo el site para descargar los archivos de recuperacion no esta disponible. tienes los archivos que se usaron para la recuperacion?

      Gracias por el proceso.

      Eliminar
    2. Martin, has found a copy at archive.org

      Todavía se pueden descargar aqui: https://web.archive.org/web/20180817010758/http://downloads.iomega.nas-central.org/Users/Mijzelf/HMNHD/partitions.2.064/

      Eliminar
  3. Hola, disculpa la tardanza, acabo de leer el correo, muchas gracias por tus sugerencias, logré hacer funcionar el dispositivo siguiendo la serie de pasos probados bajo Linux, con ello restaure el firmware del Home drive como si fuera de fabrica. Por suerte los datos estaban en una particion en estado "unallocated" a la que tuve acceso usando el soft version UFS.Explorer.Professional.Recovery.5.17, luego si desde Debian seguí los pasos, gracias de nuevo por el apollo brindado.

    Saludos,

    ResponderEliminar
  4. Buenos dias Gente. Dsde ya les agradezco porque segui el tutorial al pie de la letra y tuve exito. Pude instalar un nuevo disco en el gabinete NAS IOMEGA.
    Muchas gracias! cualquier consulta, pueden enviarmela a dienemer84@gmail.com. Saludos!

    ResponderEliminar
    Respuestas
    1. Hola Diego, estoy intentando hacer lo mismo sin embargo no tengo los archivos, al parecer los links de descarga ya no son validos.

      Tu tienes los archivos para hacer el restore?

      Eliminar
    2. Martin has found a copy at archive.org

      Todavía se pueden descargar aqui: https://web.archive.org/web/20180817010758/http://downloads.iomega.nas-central.org/Users/Mijzelf/HMNHD/partitions.2.064/

      Eliminar
  5. Estoy en busca de los archivos necesarios en este tutorial, Alguien los que pudiera subirlos?

    ResponderEliminar
    Respuestas
    1. Martin, has found a copy at archive.org

      Todavía se pueden descargar aqui: https://web.archive.org/web/20180817010758/http://downloads.iomega.nas-central.org/Users/Mijzelf/HMNHD/partitions.2.064/

      Eliminar
  6. Hola, alguien encontro los archivos? Gracias

    ResponderEliminar
    Respuestas
    1. Martin, has found a copy at archive.org

      Todavía se pueden descargar aqui: https://web.archive.org/web/20180817010758/http://downloads.iomega.nas-central.org/Users/Mijzelf/HMNHD/partitions.2.064/

      Eliminar

      Eliminar
  7. Hola.

    Necesito los archivos, no los puedo encontrar por ningun lado.

    Agradecería si los podes compartir.

    ResponderEliminar
    Respuestas
    1. Martin, has found a copy at archive.org

      Todavía se pueden descargar aqui: https://web.archive.org/web/20180817010758/http://downloads.iomega.nas-central.org/Users/Mijzelf/HMNHD/partitions.2.064/

      Eliminar
  8. hola tambien necesito los archivos, ya que sitio ya no existe y no encuentro ningun mirror, agradesco de antemano

    ResponderEliminar
    Respuestas
    1. Martin, has found a copy at archive.org

      Todavía se pueden descargar aqui: https://web.archive.org/web/20180817010758/http://downloads.iomega.nas-central.org/Users/Mijzelf/HMNHD/partitions.2.064/

      Eliminar

      Eliminar
  9. Todavía se pueden descargar aqui: https://web.archive.org/web/20180817010758/http://downloads.iomega.nas-central.org/Users/Mijzelf/HMNHD/partitions.2.064/

    ResponderEliminar