Re: NEC NEAX IVS2 PBX with NEAXMAIL AD-8 - hard drive clone, issues

2020-11-30 Thread Warner Losh via cctalk
On Mon, Nov 30, 2020, 12:34 AM Christian Corti via cctalk <
cctalk@classiccmp.org> wrote:

> On Sun, 29 Nov 2020, Liam Proven wrote:
> > If there are any errors on the drive, I would recommend GNU
> > ``ddrescue``. Do not confuse this with the older (but still
> > maintained) dd_rescue which is the product that inspired the GNU one;
> > the newer one is more capable.
> >
> > It images but skips and continues on error, whereas ``dd`` will simply
> fail.
>
> Without havingh read the man page of ddrescue, does it do more magic than
> "dd conv=noerror,sync" ?
>

Yes. It retries with different block sizes to recover stubborn to read
data. It keeps track so you can hammer for days or weeks on the stubborn
bits of the disk

Warner

>


Re: NEC NEAX IVS2 PBX with NEAXMAIL AD-8 - hard drive clone, issues

2020-11-29 Thread Christian Corti via cctalk

On Sun, 29 Nov 2020, Liam Proven wrote:

If there are any errors on the drive, I would recommend GNU
``ddrescue``. Do not confuse this with the older (but still
maintained) dd_rescue which is the product that inspired the GNU one;
the newer one is more capable.

It images but skips and continues on error, whereas ``dd`` will simply fail.


Without havingh read the man page of ddrescue, does it do more magic than 
"dd conv=noerror,sync" ?


Christian


Re: NEC NEAX IVS2 PBX with NEAXMAIL AD-8 - hard drive clone, issues

2020-11-29 Thread Liam Proven via cctalk
On Sat, 28 Nov 2020 at 23:33, keith--- via cctalk  wrote:
>
> Hi Liam,
>
> As stated in my OP, I was using Windows 10 and USB adapters.

*Goes back and re-reads*

Ah, OK. I did not follow before.

I think Windows is a really poor choice for this. Worse, it might have
tried to mount the filesystem R/W and conceivably damaged it further.

Rufus I use for writing Windows ISOs to USB, but nothing else. I don't
think it's a suitable tool for this at all.

>  Active Disk Image, and Macrium Reflect programs

Never heard of them, I'm afraid. I used to have Windows tools for this
stuff, 2 decades ago before I stopped using it unless someone was
paying me to, but they won't run on Win10.


> to copy it an
> image file and then back to the CF.   They are supposed to create exact
> images of the drives but I think they do not.  Of course it could be
> something with my CF to USB adapter.

It could be-- but it could also be that they're trying to copy a
mounted FS or something.

> As far as errors,  as stated in my OP, "Since the voicemail card is
> running headless, I can't see the error messages."  The only way I know
> of a successful boot, is one LED turns green and then I can call in to
> the VoiceMail card.

Couldn't you try to boot the image in a VM?

> I am going to try a Linux machine and DD next.

Much better plan.

If there are any errors on the drive, I would recommend GNU
``ddrescue``. Do not confuse this with the older (but still
maintained) dd_rescue which is the product that inspired the GNU one;
the newer one is more capable.

It images but skips and continues on error, whereas ``dd`` will simply fail.

-- 
Liam Proven – Profile: https://about.me/liamproven
Email: lpro...@cix.co.uk – gMail/gTalk/gHangouts: lpro...@gmail.com
Twitter/Facebook/LinkedIn/Flickr: lproven – Skype: liamproven
UK: +44 7939-087884 – ČR (+ WhatsApp/Telegram/Signal): +420 702 829 053


Re: NEC NEAX IVS2 PBX with NEAXMAIL AD-8 - hard drive clone, issues

2020-11-28 Thread keith--- via cctalk
Hi Liam, 


As stated in my OP, I was using Windows 10 and USB adapters.  I used
Rufus, Active Disk Image, and Macrium Reflect programs to copy it an
image file and then back to the CF.   They are supposed to create exact
images of the drives but I think they do not.  Of course it could be
something with my CF to USB adapter. 


As far as errors,  as stated in my OP, "Since the voicemail card is
running headless, I can't see the error messages."  The only way I know
of a successful boot, is one LED turns green and then I can call in to
the VoiceMail card.  

I am going to try a Linux machine and DD next. 


--

Message: 5
Date: Fri, 27 Nov 2020 16:12:39 +0100
From: Liam Proven 
To: "General Discussion: On-Topic and Off-Topic Posts"

Subject: Re: NEC NEAX IVS2 PBX with NEAXMAIL AD-8 - hard drive clone
issues
Message-ID:

Content-Type: text/plain; charset="UTF-8"

On Fri, 27 Nov 2020 at 01:32, keith--- via cctalk  wrote:


I have tried to copy it to an industrial CF
card but no luck.  I have used Rufus, Active Disk Image, and Macrium
Reflect.


First question: how did you try to copy it?

You've not given us anywhere near enough info to try to troubleshoot the issue.

? What did you connect it to?
? How did you connect it?
? What did you try to copy it onto?
? Partitioned how?
? Formatted with what FS, using what tool?
? What OSes did you try?
? What errors did you get?


Re: NEC NEAX IVS2 PBX with NEAXMAIL AD-8 - hard drive clone, issues

2020-11-28 Thread keith--- via cctalk
Hi Chris, 


I will give Linux and DD a try.  I do have an USB to 2.5 inch IDE
adapter. 

thanks 


Keith

On 2020-11-28 13:00, cctech-requ...@classiccmp.org wrote:


The way I would do that is to use a Linux / unix machine and one of the
cheap ebay usb to ide adapters, then use dd to image the whole drive
to a file. That should copy block, including the boot block and
partition table. Use the reverse process to image the file back to
another drive...

Chris


Re: NEC NEAX IVS2 PBX with NEAXMAIL AD-8 - hard drive clone, issues

2020-11-28 Thread Jon Elson via cctalk

On 11/27/2020 05:45 PM, Chris Quayle via cctalk wrote:



The way I would do that is to use a Linux / unix machine 
and one of the
cheap ebay usb to ide adapters, then use dd to image the 
whole drive
to a file. That should copy block, including the boot 
block and
partition table. Use the reverse process to image the file 
back to

another drive...

This is exactly what I did, it is working great.

Jon


Re: NEC NEAX IVS2 PBX with NEAXMAIL AD-8 - hard drive clone, issues

2020-11-27 Thread Chris Quayle via cctalk




The way I would do that is to use a Linux / unix machine and one of the
cheap ebay usb to ide adapters, then use dd to image the whole drive
to a file. That should copy block, including the boot block and
partition table. Use the reverse process to image the file back to
another drive...

Chris


Re: NEC NEAX IVS2 PBX with NEAXMAIL AD-8 - hard drive clone issues

2020-11-27 Thread Liam Proven via cctalk
On Fri, 27 Nov 2020 at 01:32, keith--- via cctalk  wrote:

>   I have tried to copy it to an industrial CF
> card but no luck.  I have used Rufus, Active Disk Image, and Macrium
> Reflect.

First question: how did you try to copy it?

You've not given us anywhere near enough info to try to troubleshoot the issue.

 • What did you connect it to?
 • How did you connect it?
 • What did you try to copy it onto?
 • Partitioned how?
 • Formatted with what FS, using what tool?
 • What OSes did you try?
 • What errors did you get?


-- 
Liam Proven – Profile: https://about.me/liamproven
Email: lpro...@cix.co.uk – gMail/gTalk/gHangouts: lpro...@gmail.com
Twitter/Facebook/LinkedIn/Flickr: lproven – Skype: liamproven
UK: +44 7939-087884 – ČR (+ WhatsApp/Telegram/Signal): +420 702 829 053


Re: NEC NEAX IVS2 PBX with NEAXMAIL AD-8 - hard drive clone issues

2020-11-26 Thread Jon Elson via cctalk

On 11/26/2020 05:46 PM, keith--- via cctalk wrote:


And yes,  I really don't need the voicemail working,  nor 
do I need a

PBX in my house but why not?

Well, I have set up an Asterisk/FreePBX system with Snom 300 
phones at home.
Given that phones are fairly essential, I would not want to 
be running that on extreme legacy gear.
(I did run a much older NEC Electra PBX system for a long 
time, until it died.)


Jon


Re: NEC NEAX IVS2 PBX with NEAXMAIL AD-8 - hard drive clone issues

2020-11-26 Thread Jon Elson via cctalk

On 11/26/2020 05:46 PM, keith--- via cctalk wrote:

Hi Everyone,
Not a classic computer but has a 386 embedded in it for 
the voice mail. I rescued it from work.  We had it rung 
for 20 years straight.  The
voice mail (AD-8) is basically a 386 running MS-DOS 6.22.  
So my concern
is the hard drive.  It is the original 2.5 inch IDE IBM 
Travelstar 6 GB
drive.  It has bee running for 20 years except for a 
handful of extended
power outages.  Hence while it is working now,  I don't 
have too much

hope for the future.
I just faced this with a pick and place machine running 
Windows 95, on a 20 year-old IDE hard drive.
Almost the first thing I did was get a dual-type USB drive 
dock and suck the entire drive image off with Linux and a dd 
command.  Then, I cloned the drive to one of the special IDE 
drives that has a "32 GB clip" jumper option.  This option 
makes the drive look like a 32 GB drive, although it has an 
actual 80 GB capacity.  It is a white label model 
WL80PATA872.  I'm not sure if this system actually needs the 
32 GB clip feature, but some old OS'es do.


The drive dock is a "ALL IN 1 HDD Docking"  which has both 
SATA and PATA connectors.  It also has slots for SD cards 
and a few other types.  It cost $23 delivered.


Jon


NEC NEAX IVS2 PBX with NEAXMAIL AD-8 - hard drive clone issues

2020-11-26 Thread keith--- via cctalk
Hi Everyone, 

Not a classic computer but has a 386 embedded in it for the voice mail. 
I rescued it from work.  We had it rung for 20 years straight.  The

voice mail (AD-8) is basically a 386 running MS-DOS 6.22.  So my concern
is the hard drive.  It is the original 2.5 inch IDE IBM Travelstar 6 GB
drive.  It has bee running for 20 years except for a handful of extended
power outages.  Hence while it is working now,  I don't have too much
hope for the future.  The PBX had its on battery backup and also was
always connected to a UPS.  I have tried to copy it to an industrial CF
card but no luck.  I have used Rufus, Active Disk Image, and Macrium
Reflect. 


I don't have my older PCs up and running at the moment, hence I have
been trying with a Window's 10 machine and USB adapters to no avail. 
Since the voicemail card is running headless, I can't see the error

messages.  There is a serial port but but I have figured out the
settings yet. 

Any suggestions?  Do I need to get a DOS machine running to do this?  


And yes,  I really don't need the voicemail working,  nor do I need a
PBX in my house but why not?