How can i replace the HD

celltech
Posts: 2
Joined: Fri Jun 07, 2013 9:36 pm

Re: How can i replace the HD

Post by celltech » Sat Jun 08, 2013 12:44 pm

My plan was to use Acronis True Image to do a bit by bit write...I think it preserves the file offsets. I will report back when I get to that point.

I didn't touch prepare_hd.zip...

And by the way, can the CPU in these be overclocked to 1.5Ghz?

x3mgroup
Posts: 1
Joined: Wed Aug 07, 2013 12:15 pm

Re: How can i replace the HD

Post by x3mgroup » Wed Aug 07, 2013 12:24 pm

Hi i am trying to fix somebody else's EZ Media device.
I need to replace the (broken) drive with a new one.

I followed the conversation on this topic, but some things are not quite clear to me:

USB key: how should it be formatted? FAT32 or FAT, does it the formatted partition needs to be ACTIVE

NEW HD: does it need to reinitialized? and if so what kind of partition table doe it need - GPT or MSDOS (i'm using Parted Magic 2013)

Would kindly appreciate your help
Thanx in advance

Mijzelf
Posts: 6199
Joined: Mon Jun 16, 2008 10:45 am

Re: How can i replace the HD

Post by Mijzelf » Thu Aug 08, 2013 7:22 am

I don't think it matters if the stick is fat(16) or fat32. The kernel has to mount it, and AFAIK the same module (vfat) is responsible for all fat tastes. The partition doesn't need to be active. An active partition is just a flag which tells the bios it should boot from it. This nas doesn't have a bios.

The disk needs to be prepared, but doesn't need to be partitioned (actually any partitioning is ignored). You need to write the kernel and the initrd to certain sectors, or write the contents of 'prepare_hd.zip' raw to the beginning of the disk. This information is in this thread.

Phant0m
Posts: 1
Joined: Wed Oct 23, 2013 12:19 pm

Re: How can i replace the HD

Post by Phant0m » Wed Oct 23, 2013 1:22 pm

Hello friends
Many thanks!!! it is real worked!!!
Sorry for my bad english.

step by step manual :)

need:
Linux PC (i use debian)
USB pendrive 2Gb formatted FAT32!
New HDD for NAS (i use seagate ST1000DM003)

1. format USB pendrive to FAT32
2. download EZMedia-recovery-4.0.2.9960.zip, and unpack into a usb pedrive with folders: emctools\hm3_images\files.tgz.
3. copy files.tgz to Linux PC at /home/username*/ez
4. unpack files.tgz to /home/username*/ez

Then connect the drive with an adapter to the pc, leaving raw disk and performing these commands in console
(I use direct connection new HDD to Linux PC on sata2 port)

sudo dd if=/home/username*/ez/zImage of=/dev/sdb bs=512 seek=2048
sudo dd if=/home/username*/ez/initrd of=/dev/sdb bs=512 seek=8192

*username - must be changed to your real username, from linux pc

after sending the message complete, remove the disk and connect it to the NAS, with usb pendrive connected.
Press reset button on nas and plug NAS power adapter to outlet and wait!
after ~30-40 sec. on USB pendrive flash led will be active blink and i release reset button
After a few minutes NAS will turn off and leds off.
Now you must remove the USB pendrive and press the power button!

And that's it!

warning! Do not all usb pendrive is worked, i tested:
Silicon power 4gb - dont work
Transcend 8gb - dont work
A-Data 2gb - worked :-)

Good luck!

shadowcliffs
Posts: 21
Joined: Thu Aug 01, 2013 4:42 am

Re: How can i replace the HD

Post by shadowcliffs » Sat Jan 04, 2014 1:00 am

Upgraded 2TB drive to 3TB drive with the method discussed here but in OS X.

dd if=/home/username*/ez/zImage of=/dev/sdb bs=512 seek=2048
dd if=/home/username*/ez/initrd of=/dev/sdb bs=512 seek=8192

If it doesn't not start copying from the USB drive, try a different USB drive. It happened to me. A 4GB Patriot USB drive doesn't work for me, but a 32GB one works.
Last edited by shadowcliffs on Thu Mar 13, 2014 8:51 am, edited 1 time in total.

marcottt
Posts: 3
Joined: Mon Mar 03, 2014 3:10 pm

Re: How can i replace the HD

Post by marcottt » Mon Mar 03, 2014 3:18 pm

Phant0m wrote:Hello friends
Many thanks!!! it is real worked!!!
Sorry for my bad english.

step by step manual :)

need:
Linux PC (i use debian)
USB pendrive 2Gb formatted FAT32!
New HDD for NAS (i use seagate ST1000DM003)

1. format USB pendrive to FAT32
2. download EZMedia-recovery-4.0.2.9960.zip, and unpack into a usb pedrive with folders: emctools\hm3_images\files.tgz.
3. copy files.tgz to Linux PC at /home/username*/ez
4. unpack files.tgz to /home/username*/ez

Then connect the drive with an adapter to the pc, leaving raw disk and performing these commands in console
(I use direct connection new HDD to Linux PC on sata2 port)

sudo dd if=/home/username*/ez/zImage of=/dev/sdb bs=512 seek=2048
sudo dd if=/home/username*/ez/initrd of=/dev/sdb bs=512 seek=8192

*username - must be changed to your real username, from linux pc

after sending the message complete, remove the disk and connect it to the NAS, with usb pendrive connected.
Press reset button on nas and plug NAS power adapter to outlet and wait!
after ~30-40 sec. on USB pendrive flash led will be active blink and i release reset button
After a few minutes NAS will turn off and leds off.
Now you must remove the USB pendrive and press the power button!

And that's it!

warning! Do not all usb pendrive is worked, i tested:
Silicon power 4gb - dont work
Transcend 8gb - dont work
A-Data 2gb - worked :-)

Good luck!

Thanks worked!!!

stan64
Posts: 3
Joined: Fri Oct 10, 2014 12:36 am

Re: How can i replace the HD

Post by stan64 » Fri Oct 10, 2014 12:40 am

I've tried the process above, but am not having any luck. Is there any formating or partitioning that the HD needs to have? Should it be unformatted, unpartitioned, or what?

Mijzelf
Posts: 6199
Joined: Mon Jun 16, 2008 10:45 am

Re: How can i replace the HD

Post by Mijzelf » Fri Oct 10, 2014 8:36 am

Mijzelf wrote:The disk needs to be prepared, but doesn't need to be partitioned (actually any partitioning is ignored). You need to write the kernel and the initrd to certain sectors, or write the contents of 'prepare_hd.zip' raw to the beginning of the disk. This information is in this thread.

stan64
Posts: 3
Joined: Fri Oct 10, 2014 12:36 am

Re: How can i replace the HD

Post by stan64 » Fri Oct 17, 2014 2:35 am

I decided to try a different USB stick. A SanDisk Cruzer Glide 8GB worked perfectly.

optimuslem
Posts: 3
Joined: Sat Jan 03, 2015 3:24 pm

Re: How can i replace the HD

Post by optimuslem » Tue Jan 06, 2015 2:07 pm

Hola, que tal, todo lo que hice no me sirvio. Tengo un Ez media & backup center 1TB.

Hey, how about, all I did not served me.

sry for my english!

fixxxer
Posts: 12
Joined: Thu Jul 31, 2014 6:45 pm

Re: How can i replace the HD

Post by fixxxer » Thu Jan 08, 2015 12:45 am

Mijzelf wrote:So you could extract zImage and initrd from the files.tgz file, and write it to disk. They have to be written to sectors 2048 and 8192. In a linux prompt:

Code: Select all

sudo dd if=/path/to/zImage of=/dev/sdx bs=512 seek=2048
sudo dd if=/path/to/initrd of=/dev/sdx bs=512 seek=8192
Here /dev/sdx should be the devicenode of your NAS disk. You can see all connected disks by typing:

Code: Select all

cat /proc/partitions
The size is given in blocks, which is 1KiB. Device nodes without numbers at the end are disks, device nodes with numbers are partitions. Double check you are using the right device, dd will happily overwrite whatever you offer it as output.
One question regarding this:
If I do this procedure on a new hard disk, can I use it only in the NAS? Does that procedure leave the hard disk unusable for use on a PC with Windows in a future, for example? Thank You.

Mijzelf
Posts: 6199
Joined: Mon Jun 16, 2008 10:45 am

Re: How can i replace the HD

Post by Mijzelf » Thu Jan 08, 2015 8:28 am

No. You are just writing data to that disk. That's the purpose of a disk.

Windows will not be able to read the NAS filesystem, but you can simply reformat it.

fixxxer
Posts: 12
Joined: Thu Jul 31, 2014 6:45 pm

Re: How can i replace the HD

Post by fixxxer » Thu Jan 08, 2015 5:28 pm

Mijzelf wrote:No. You are just writing data to that disk. That's the purpose of a disk.
Windows will not be able to read the NAS filesystem, but you can simply reformat it.
Ok, I'm gonna try the process, first with a smaller disk (250 gb)

Thank you very much!!!!

ddpsft
Posts: 1
Joined: Thu Feb 12, 2015 12:52 pm

Re: How can i replace the HD

Post by ddpsft » Thu Feb 12, 2015 12:57 pm

I've been trying to follow all the steps, but once I put the flash drive and, holding reset, connect the source, the power led starts solid white as usual but after a couple seconds it becomes solid red, while the drive activity led still off. Someone else had the same problem? Someone has any idea about what's happening and what can I do to fix it?

nicomartino
Posts: 6
Joined: Sun Feb 22, 2015 3:52 pm

Re: How can i replace the HD

Post by nicomartino » Sun Feb 22, 2015 4:44 pm

Hi, I have an EZ media & backup center 1TB.

I have the same problem than ddpsft and optimuslem , I follow all the steps but it seems that the nas never read the pendrive... I tried several pendrives but nothing hapend, the pendrive led never be active.

I wonder if someone has or could do a full dd copy of the disk and upload to mega.co, torrent or some similar...
Perhaps doing a clonezilla image... if I could restore that image, write the zImage and initd can start the nas. you guys think??

would be very grateful for all of us!! :D :D :D
Thanks!!

Post Reply