OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Storage => Topic started by: Neil Waldhauer on March 20, 2020, 05:18:22 pm

Title: How to make a disk drive for a distant computer
Post by: Neil Waldhauer on March 20, 2020, 05:18:22 pm
I want to make a disk drive and mail it to another computer user 3000 miles away. In the past, I have tried this, but the computer will not boot from the drive. BIOS sees the drive, but the OS/2 boot blob never shows.

I sent a DFSee partition image to the remote site, and they restored it using DFSee for Windows. But when it installs, there is no joy. I made the image on a very much newer computer. There must be a better way to send a disk or partition image.

How can I be sure the remote computer will boot from that hard drive?
Title: Re: How to make a disk drive for a distant computer
Post by: Dave Yeo on March 20, 2020, 06:03:26 pm
That's weird. I've always just moved my hard drives to the newer computer I'm migrating to and other then having to adjust the boot order the odd time, booting has always worked, though sometimes having to press enter for bad drivers and last time I had to add a EHCI.SYS line to get the keyboard working.
I have always used a bootmanager, air boot lately so maybe that's the secret?
Title: Re: How to make a disk drive for a distant computer
Post by: Olafur Gunnlaugsson on March 20, 2020, 09:16:33 pm
You have tried both sending a functional drive and an image previously? Or have you only sent an image?

I cannot really comment on this as I have never had any computer fail to boot from a DFSEE cloned drive that is within the boot specifications of the target computer in regards to disk size or geometry.

What occasionally happens is that if I send a partition image to a third party they will incorrectly copy the partition onto a drive with incorrect partition settings, the usual partition not marked active or bootable etc, incorrect alignment on an SSD etc.

I have solved this either by sending them a compressed disk image for a drive slightly smaller than the drive that is going to be used on the other end, rather than a partition image, this ensures that the partitions are written to the drive as found. The other option is to make them install Air-Boot as it can force boot the image regardless of it is partition settings.

The only other problems I have ever encountered are embedded BIOS's from a company called Insyde, used in Axiom industrial computers and 10Zig (Clientron) Thin Clients for instance. They both have incompatibilities with standard BIOSes when it comes to booting especially if they are used in conjunction with eMMC and also weird BIOS boot lockdowns intended to ensure you only use HDD's and software from the original supplier.

But as I said, I regularly clone OS/2 drives and partitions here for testing back and forth on hardware ranging from Cyrix based thin clients from the late 90's with tiny featureless embedded BIOSEs , to modern Xeon hardware with UEFI and never seem to have any problems going backwards and forwards regardless of hardware, with the obvious caveats about configuration setting.

There may be other options available, send them a VBox image converted to raw, transfer that to hd using rufus? YMMV but works for me with some caveats ...
Title: Re: How to make a disk drive for a distant computer
Post by: Olafur Gunnlaugsson on March 20, 2020, 09:43:00 pm
Or to simplify my last answer, the only other option I know is to send a raw partition or disk image file as there is a whole host of tools available for any OS that will write those to disk, with the caveat that Linux based and or Linux derived tools will usually write OS/2 partitions incorrectly to disk. Partitions must be copied in DOS/Windows style.
Title: Re: How to make a disk drive for a distant computer
Post by: ivan on March 20, 2020, 09:51:33 pm
Is windows on the computer they are trying to restore to?  They might have hit the MBR - GPT disk problem.

Another thing, if it is a clean disk they are trying to write to is it the same size, or larger, than the diskimage you are sending?

As a last resort they could try writing the image to a new clean disk mounted in a SATA/USB adapter attached to the windows machine then insert the new drive into the target machine and boot from it.

As Olafur says it is a simple process that just works except for a few oddball computer bios.  In fact that is how we updated our clients systems except on our case I sent a tech over with the image on a DVD and she never reported any problems.
Title: Re: How to make a disk drive for a distant computer
Post by: Neil Waldhauer on March 21, 2020, 11:51:36 pm
I want to reiterate that the target computer is 3000 miles away.

The target computer has a Pentium 3, so I think GPT is not involved. DFSee shows the drive to be perfect, but nothing happens on boot.

I tried imaging just a partition. Still no joy.

I sent a partition image and DFSee. I am sending a drive, but I expect it to fail the same way. I'll find out in a week or so. I'll refresh this thread when I see a result.
Title: Re: How to make a disk drive for a distant computer
Post by: Dave Yeo on March 22, 2020, 02:32:45 am
With a Pentium 3, you might be hitting a BIOS limitation when it comes to booting. How big is the hard drive?
Title: Re: How to make a disk drive for a distant computer
Post by: Neil Waldhauer on March 22, 2020, 02:44:45 am
The drives are 40 GB and 80 GB. We have about 600 nearly identical OS/2 and eComStation machines. The problem machine is eComStation. The DFSee machine is running Windows 7 also on the same hardware. I do not have any access to any of the machines. No TCP/IP network, 3000 miles away.

I've taught them to text me cell phone photos, so I have a couple of screen shots.

Once the new drive is installed, the computer does not issue one character of output once control is transferred to the drive. Something goes wrong right at the time transfer goes to MBR or possibly when it looks for OS2LDR -- but that would issue a message, right?

Interesting puzzle.
Title: Re: How to make a disk drive for a distant computer
Post by: Dave Yeo on March 22, 2020, 06:26:16 am
Last machine I had around that vintage (and my memory is fuzzy), I bought a 80 GB hard drive. I had to use a jumper on it to make it present as a 32 GB hard drive to boot. After booting from close to the beginning of the drive, OS/2 saw all 80 GBs and I wrestled Linux to do the same. Win98 never did see more then 32 GBs.
I can't remember the symptoms now, but the BIOS not handling the drive is a possibility. As you seem to know the machines, perhaps get them to go to the BIOS and report what the BIOS reports.
Installing airboot might be a workaround as well and it seems that DFSee could make a drive present as less then 32GBs.
Title: Re: How to make a disk drive for a distant computer
Post by: David Graser on March 22, 2020, 07:10:58 am
This machine must use the old OS/2 boot loader.  Is the machine making to the old OS/2 boot loader menu?  If not, and if they had one installation CD, could they possibly start the install and get to the setup screen, install the old os/2 boot manager, reboot and take the cd out while it is rebooting and see if the boot manager menu appears.

Also, it has been awhile but do they have one hard drive set as master and the other to slave with the jumpers?
Title: Re: How to make a disk drive for a distant computer
Post by: Roderick Klein on March 22, 2020, 01:57:42 pm
Always install airboot. I have seen more then once that the system does not boot if you have on primary partition. Do not know why.
Title: Re: How to make a disk drive for a distant computer
Post by: Neil Waldhauer on March 22, 2020, 06:58:17 pm
Thanks for the suggestions. Since the target machine is one of 600 identical machines, I know that it supports the full size of the drives. It doesn't need it, because I'm only trying to restore one 1 GB partition.

I also know that it supports booting from Primary, booting from IBM Boot Manager and booting from AirBoot.

That's a good suggestion about master and slave -- I'll send it along and see what happens.

I'm also thinking of having them try cloning a hard drive using DFSee. Originally, they tried to clone with Ghost. I'm sure most of you are laughing at them for thinking Ghost could clone a drive.
Title: Re: How to make a disk drive for a distant computer
Post by: Doug Bissett on March 22, 2020, 07:22:36 pm
Always install airboot. I have seen more then once that the system does not boot if you have on primary partition. Do not know why.

I have one old DELL, where Air Boot finds some sort of problem. I need to use Boot Manager. If I install Air Boot on the disk, and it fails, I can put that disk in a more modern machine, and it works, so it is a machine problem (probably BIOS isn't capable). However, I do agree that Boot Manager should be used, only as a last resort.

Quote
I also know that it supports booting from Primary, booting from IBM Boot Manager and booting from AirBoot.

Any chance that SYSINSTX.COM is needed?
Title: Re: How to make a disk drive for a distant computer
Post by: Neil Waldhauer on March 22, 2020, 10:22:39 pm
That sounds like a possibility. SYSINTX.COM might be needed, but there is no platform to run it. I have an experiment in the works to tell me in another week or so if that was the problem.
Title: Re: How to make a disk drive for a distant computer
Post by: ivan on March 23, 2020, 01:36:27 am
What results do you get if you write the image to one of your computers?  I know that might sound odd but it does check that you have a bootable image says he who has been caught out that way.
Title: Re: How to make a disk drive for a distant computer
Post by: Neil Waldhauer on March 23, 2020, 02:46:07 pm
Good idea Ivan. I did test that. But my computer is much newer and it boots the restored image to a TRAP screen. That would be expected as the machine is much too new to run eCS 1.2R. In order to TRAP, it needs to run the OS/2 loader and I load enough of the kernel to display a TRAP screen.
Title: Re: How to make a disk drive for a distant computer
Post by: Neil Waldhauer on March 25, 2020, 02:49:03 pm
I made a drive on my own computer. Of course it cannot boot my computer, but I sent it to them, and it doesn't work on their computer in the same way: does not even find the OS/2 loader. Using Sysintx.com made no difference.

At this point, I think both the partition and drive images are so particular that they must be made on the original computer. I am now trying to teach them to make a clone using DFSee. They hit the error for target drive smaller than source drive, but didn't understand the message from DFSee, "Write error on 127 sector(s) at sector 0x000000000001f7f82. Continue the restore?"
Title: Re: How to make a disk drive for a distant computer
Post by: ivan on March 25, 2020, 05:04:52 pm
If there is a disk problem it might be an idea to ask them to download the disk manufactures disk tools and run them against the disk, that will show up any bad sectors on the drive which will cause problems when writing a disk image.  As far as I know (I could be wrong), but the only thing that stops OS/2 from booting is incorrect disk drivers.  I assume you made your disk image using only the Dani IDE driver not the SATA ones that won't work if the machines are as old as you indicate.

Sorry if I'm stating the obvious but I have been caught out when updating some old machine tool computers and had to build a machine to be able to create a bootable image before updating.
Title: Re: How to make a disk drive for a distant computer
Post by: Martin Vieregg on March 26, 2020, 11:40:01 pm
You can send an E-Mail to the dfsee author, he should read this and perhaps he can explain how to do. Normally, saving a partition with DFSee and restoring it on a remote computer should work. The author Jan van Wijk is very friendly and he helped me already. DFsee is programmed without using OS-specific APIs, so it should work from an OS/2 to a Window machine without problems.
Title: Re: How to make a disk drive for a distant computer
Post by: Neil Waldhauer on March 27, 2020, 12:11:50 am
The disks are fine. Getting the end user to use DFSee correctly is hard.

I now can get them to the point of "OS/2 is unable to operate the hard drive".

At this point, I may have to get some actual hardware.
Title: Re: How to make a disk drive for a distant computer
Post by: Pete on March 27, 2020, 01:00:05 am
Hi Neil

The "OS/2 is unable to operate the hard drive" can often mean that the drive letter has got screwed up somehow ie installation may have been to partition/volume D: but, for whatever reason, during boot the drive letter D: now refers to another partition/volume.

Are there other disks installed causing this problem?


Regards

Pete


Title: Re: How to make a disk drive for a distant computer
Post by: Neil Waldhauer on March 27, 2020, 01:42:09 am
I'm guessing the remote user did something wrong with DFSee. I think he imaged the good drive, then restored to a smaller drive.

Then he did some other stoff.

DFSee reports "Pid03=   WARNING : Bootable JFS or HPFS driveletter mismatch BPB versus LVM!"
Title: Re: How to make a disk drive for a distant computer
Post by: Neil Waldhauer on March 30, 2020, 03:43:16 pm
I think the original image made by DFSee was corrupt. Apparently if I wipe the drive first, my procedure works. I'll post again if it doesn't work in the field.

It's a lot simpler to make and restore whole drive images. I wonder how bad it is to restore a 40 GB image to an 80 GB drive?

And in another unrelated note, it seems easier than ever to support 20 year old computer hardware. Everything I need is available, as long as I'm not too picky. Refurbished seems to mean they wiped it off after picking it out of the dumpster.