General NAS-Central Forums

Welcome to the NAS community
It is currently Thu Dec 14, 2017 1:07 pm

All times are UTC




Post new topic Reply to topic  [ 83 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
PostPosted: Sat Jun 08, 2013 12:44 pm 
Offline

Joined: Fri Jun 07, 2013 9:36 pm
Posts: 2
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?


Top
 Profile  
 
PostPosted: Wed Aug 07, 2013 12:24 pm 
Offline

Joined: Wed Aug 07, 2013 12:15 pm
Posts: 1
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


Top
 Profile  
 
PostPosted: Thu Aug 08, 2013 7:22 am 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6090
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.


Top
 Profile  
 
PostPosted: Wed Oct 23, 2013 1:22 pm 
Offline

Joined: Wed Oct 23, 2013 12:19 pm
Posts: 1
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!


Top
 Profile  
 
PostPosted: Sat Jan 04, 2014 1:00 am 
Offline

Joined: Thu Aug 01, 2013 4:42 am
Posts: 21
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.

Top
 Profile  
 
PostPosted: Mon Mar 03, 2014 3:18 pm 
Offline

Joined: Mon Mar 03, 2014 3:10 pm
Posts: 3
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!!!


Top
 Profile  
 
PostPosted: Fri Oct 10, 2014 12:40 am 
Offline

Joined: Fri Oct 10, 2014 12:36 am
Posts: 3
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?


Top
 Profile  
 
PostPosted: Fri Oct 10, 2014 8:36 am 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6090
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.


Top
 Profile  
 
PostPosted: Fri Oct 17, 2014 2:35 am 
Offline

Joined: Fri Oct 10, 2014 12:36 am
Posts: 3
I decided to try a different USB stick. A SanDisk Cruzer Glide 8GB worked perfectly.


Top
 Profile  
 
PostPosted: Tue Jan 06, 2015 2:07 pm 
Offline

Joined: Sat Jan 03, 2015 3:24 pm
Posts: 3
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!


Top
 Profile  
 
PostPosted: Thu Jan 08, 2015 12:45 am 
Offline

Joined: Thu Jul 31, 2014 6:45 pm
Posts: 12
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:
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:
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.


Top
 Profile  
 
PostPosted: Thu Jan 08, 2015 8:28 am 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6090
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.


Top
 Profile  
 
PostPosted: Thu Jan 08, 2015 5:28 pm 
Offline

Joined: Thu Jul 31, 2014 6:45 pm
Posts: 12
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!!!!


Top
 Profile  
 
PostPosted: Thu Feb 12, 2015 12:57 pm 
Offline

Joined: Thu Feb 12, 2015 12:52 pm
Posts: 1
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?


Top
 Profile  
 
PostPosted: Sun Feb 22, 2015 4:44 pm 
Offline

Joined: Sun Feb 22, 2015 3:52 pm
Posts: 6
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!!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 83 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group