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)
For the lazy people, the exact keystrokes in fdisk are:
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.
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 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.
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} | (delete partition 2) |
| n | (create new, primary, partition at slot 2) |
| t | (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