Sooner or later, you will be faced with having to replace a failed SCO Unix server or updating to a newer server. Hopefully the latter. I have outlined some of the procedures I used (with the aid of article in this forum) to replace our SCO 5,05 running Adaptec alad, 128m 350 mhz server to a brand new Athlon 1.83 GHz server with 512K memory, Adaptec 29160 controller, and 18 gig LVD drive.
The first problem encountered is the Intel system board and Intel P4 processor. The new system simply would not boot from floppy or CD Rom. After many hours of frustration, and with the aid of the SCO newsgroup personnel (Thanks Bela Lubkin), it was determined that Intel has decided to enforce the Boot string requirements. Also after reviewing some other posts in the newsgroups, it was also noted that version 5.05 does not run very well on a P4 processor. I decided to just replace the system board and use an Athlon processor. I got a MSI board and Athlon 1.83 Mhz processor. To use the Intel, it would have been necessary to upgrade to version 5.07.
The next step is to load the base OS from floppy and CDROM, hopefully you have the keys and software. This can always be a major problem in that usually these systems have been running for years, and this information is not available.
It is possible to get the information from SCO, but you will at least need your purchase invoice, and the Serial number.
I purchased an Adaptec 19160 SCSI adapter, because the hard drive was a U160 LVD. The next problem is that that particular model does not support SCO, and I had to trade for the 29160 model which did. This is really strange in that one of these does not support Windows NT and vice versa. So you have to be careful in getting the proper card.
Installed the card and drive, added the SCSI CDROM and proceeded to install the base operating system. The next step is to install the Tape Drive.
All this stuff is backwards compatible, right. It pretty much has been, and I never have had any problems before. But this particular card simply would not recognize the Tape Drive. So I had to find an older PCI SCSI card from one of my other systems.
The very first and most important step is to get a backup of the old system. I use CPIO and have for years. It works much easier if you use separate tapes for each your file systems. Backup /stand and / on one tape, /u on another, and in my case /hd4 on another.
Of course if you have the luxury of having both machines offline, there are several other options like installing the old drive in new machine, or using DD with CPIO piped to simply copy the files over a network. These procedures apply to doing this remotely or when the existing machine cannot be taken offline.
1. Backup the old system with cpio
2. Install base operating system on the new system, and apply the new driver.
Use the Option to execute divvy so that you can size your partitions. I expanded my swap, made the / and /u filesystem larger, and allocated the rest to /hd4. Run mkdev tape to install the tape unit.
3. Make an boot floppy and root filesystem. Make sure they work. Probably good idea to make two sets
NOTE: I wasted a lot of time trying to install the driver with an emergency boot floppy from the old system. The Adaptec driver would load up, and then abort because of not enough memory. So it is imperative to get a base OS running from the install disks.
4. Boot with emergency floppy from the new system.
mount /dev/hd0root /mnt cd /mnt rm -r * // get rid of cur system cpio // restore the old system cd / // save boot stuff mkdir b mount /dev/boot /b mkdir /mnt/bootstand cp -r /b /mnt/bootstand cd / umount /mnt mount /dev/boot /mnt cd /mnt rm -r * cpio // restore /stand cd / umount /mnt mount /dev/u /mnt cd /mnt rm -r * cpio // restore /u cd / umount /mnt mount /dev/hd4 /mnt cd /mnt rm -r * cpio // restore /hd4
5. Chroot to hard drive
cd / umount /mnt mkdir rootmount mount /dev/hd0root /rootmount chroot /rootmount /bin/sh // see man chroot
NOTE: The following is from article posted http://www.aplawrence.com/SCOFAQ/scotec1.html#newcontroller
mount /dev/fd0 /mnt btldinstall /mnt
That lets you install the driver, but hasn't told the system to USE that driver.
Identify the current disk driver by
grep Sdsk /etc/conf/cf.d/mscsi
Your current driver will in column 2- examples "alad", "arad", "blad"
Identify what driver you need by examining /etc/default/scsihas (if you used a btld, it's whatever you installed)
cd /etc/conf/sdevice.d
Edit the current driver file and change the "Y"'s to "N" in the first column. For example, if your current driver is alad, you edit /etc/conf/sdevice.d/alad. Edit the NEW driver file and change "N" to Y. Example, your new driver is "blad", you edit /etc/conf/sdevice.d/blad.
Next, cd /etc/conf/cf.d and edit mscsi. Change the driver column to match your NEW controller. For example, changing from alad to blad with vi:
:1,$s/alad/blad/ :wq
Finally,
The following gave me a warning so I just made a copy of /stand early in process.
btmnt -w cp /stand/unix /stand/unix.good btmnt -d cd /etc/conf/cf.d ./link_unix
Everything linked but did not get the chance to install as default.
So copied
cp unix /stand
and reboot from harddisk, TCP will fail because of the drivers for your netcard, The video and mouse will have to be reconfigured.
I also got the INCORRECT ISAM version error. Simple fix is to execute isverify from a root prompt.
The system was shipped to the remote location for the final test. The old machine was removed, and replaced with the new server. System was powered on, and Everything Works.
More Articles by Leroy Janda

/OSR5/leroyjandareplace505.html copyright February 2004 Leroy Janda All Rights Reserved
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.
Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.
Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.
We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.
Click here to add your comments
Some comments on this article:
" The first problem encountered is the Intel system board and Intel P4 processor. The new system simply would not boot from floppy or CD Rom."
The P4 is generally a poor choice for a server, Windows or otherwise, as it's ridiculously deep pipeline substantially hurts throughput in a server application. The reasons have to do with the tendency for branch predictions to frequently fail in server use, which results in frequent flushing of the pipeline. When this happens numerous CPU cycles are wasted. The Athlons in all versions tend to readily outperform the P4 in this case (the Barton and MP cores are best for server applications).
"The next step is to load the base OS from floppy and CDROM, hopefully you have the keys and software. This can always be a major problem in that usually these systems have been running for years, and this information is not available."
The serial number, etc., can be found in iqm_file, which is located in the /var/adm/ISL subdirectory. You should always consult that information before attempting an IPU or fresh install. In fact, it is wise to print that file and store the page somewhere off-site, just in case!
"I purchased an Adaptec 19160 SCSI adapter, because the hard drive was a U160 LVD. The next problem is that that particular model does not support SCO, and I had to trade for the 29160 model which did. This is really strange in that one of these does not support Windows NT and vice versa. So you have to be careful in getting the proper card."
Not strange at all. If you check the 19160 product info on Adaptec's website you'll see that this is a lightweight U160 implementation. The 29160(n)'s hardware was intended for entry to mid-level server use, whereas the 19160 is a cost-reduced device that lacks some low-level hardware features needed in a true multitasking environment. Adaptec was wise to not make a SCO driver available for the 19160. Incidentally, the 29160N is a bit less expensive than the 29160, as it does not include the 16 bit single-ended port, just the U160 and 8 bit ports. If you are not using any ultra-40 hardware, you can live with the 29160N and save some bucks.
"All this stuff is backwards compatible, right. It pretty much has been, and I never have had any problems before. But this particular card simply would not recognize the Tape Drive. So I had to find an older PCI SCSI card from one of my other systems"
Huh??? Assuming the tape drive has been daisy-chained onto the narrow host adapter port, it should show up just like the CD-ROM. Are you sure you didn't have a SCSI ID conflict and are you sure the termination is correct? Also, you didn't try to attach the tape drive to the U160 port, did you? Try using the SCSI-Select utilities built into the host adapter firmware to analyze your connections.
"The following gave me a warning so I just made a copy of /stand early in process.
btmnt -w
cp /stand/unix /stand/unix.good
btmnt -d
That should be:
cp -p /stand/unix /stand/unix.good
btmnt -r
to assure that the file attributes are preserved and that /stand is returned to its normal read-only mode (no telling what the mount configuration is in /etc/default/boot -- it could be wrong).
--BigDumbDinosaur
Some comments on this article:
" The first problem encountered is the Intel system board and Intel P4 processor. The new system simply would not boot from floppy or CD Rom."
The P4 is generally a poor choice for a server, Windows or otherwise, as its ridiculously deep pipeline substantially hurts throughput in a server application. The reasons have to do with the tendency for branch predictions to frequently fail in server use, which results in frequent flushing of the pipeline. When this happens numerous CPU cycles are wasted. The Athlons in all versions tend to readily outperform the P4 in this case (the Barton and MP cores are best for server applications).
"The next step is to load the base OS from floppy and CDROM, hopefully you have the keys and software. This can always be a major problem in that usually these systems have been running for years, and this information is not available."
The serial number, etc., can be found in iqm_file, which is located in the /var/adm/ISL subdirectory. You should always consult that information before attempting an IPU or fresh install. In fact, it is wise to print that file and store the page somewhere off-site, just in case!
"I purchased an Adaptec 19160 SCSI adapter, because the hard drive was a U160 LVD. The next problem is that that particular model does not support SCO, and I had to trade for the 29160 model which did. This is really strange in that one of these does not support Windows NT and vice versa. So you have to be careful in getting the proper card."
Not strange at all. If you check the 19160 product info on Adaptec's website you'll see that this is a lightweight U160 implementation. The 29160(n)'s hardware was intended for entry to mid-level server use, whereas the 19160 is a cost-reduced device that lacks some low-level hardware features needed in a true multitasking environment. Adaptec was wise to not make a SCO driver available for the 19160. Incidentally, the 29160N is a bit less expensive than the 29160, as it does not include the 16 bit single-ended port, just the U160 and 8 bit ports. If you are not using any ultra-40 hardware, you can live with the 29160N and save some bucks.
"All this stuff is backwards compatible, right. It pretty much has been, and I never have had any problems before. But this particular card simply would not recognize the Tape Drive. So I had to find an older PCI SCSI card from one of my other systems"
Huh??? Assuming the tape drive has been daisy-chained onto the narrow host adapter port, it should show up just like the CD-ROM. Are you sure you didn't have a SCSI ID conflict and are you sure the termination is correct? Also, you didn't try to attach the tape drive to the U160 port, did you? Try using the SCSI-Select utilities built into the host adapter firmware to analyze your connections.
"The following gave me a warning so I just made a copy of /stand early in process.
btmnt -w
cp /stand/unix /stand/unix.good
btmnt -d
That should be:
cp -p /stand/unix /stand/unix.good
btmnt -r
to assure that the file attributes are preserved and that /stand is returned to its normal read-only mode (no telling what the mount configuration is in /etc/default/boot -- it could be wrong).
--BigDumbDinosaur
Some comments on this article:
" The first problem encountered is the Intel system board and Intel P4 processor. The new system simply would not boot from floppy or CD Rom."
The P4 is generally a poor choice for a server, Windows or otherwise, as its ridiculously deep pipeline substantially hurts throughput in a server application. The reasons have to do with the tendency for branch predictions to frequently fail in server use, which results in frequent flushing of the pipeline. When this happens numerous CPU cycles are wasted. The Athlons in all versions tend to readily outperform the P4 in this case (the Barton and MP cores are best for server applications).
"The next step is to load the base OS from floppy and CDROM, hopefully you have the keys and software. This can always be a major problem in that usually these systems have been running for years, and this information is not available."
The serial number, etc., can be found in iqm_file, which is located in the /var/adm/ISL subdirectory. You should always consult that information before attempting an IPU or fresh install. In fact, it is wise to print that file and store the page somewhere off-site, just in case!
"I purchased an Adaptec 19160 SCSI adapter, because the hard drive was a U160 LVD. The next problem is that that particular model does not support SCO, and I had to trade for the 29160 model which did. This is really strange in that one of these does not support Windows NT and vice versa. So you have to be careful in getting the proper card."
Not strange at all. If you check the 19160 product info on Adaptec's website you'll see that this is a lightweight U160 implementation. The 29160(n)'s hardware was intended for entry to mid-level server use, whereas the 19160 is a cost-reduced device that lacks some low-level hardware features needed in a true multitasking environment. Adaptec was wise to not make a SCO driver available for the 19160. Incidentally, the 29160N is a bit less expensive than the 29160, as it does not include the 16 bit single-ended port, just the U160 and 8 bit ports. If you are not using any ultra-40 hardware, you can live with the 29160N and save some bucks.
"All this stuff is backwards compatible, right. It pretty much has been, and I never have had any problems before. But this particular card simply would not recognize the Tape Drive. So I had to find an older PCI SCSI card from one of my other systems"
Huh??? Assuming the tape drive has been daisy-chained onto the narrow host adapter port, it should show up just like the CD-ROM. Are you sure you didn't have a SCSI ID conflict and are you sure the termination is correct? Also, you didn't try to attach the tape drive to the U160 port, did you? Try using the SCSI-Select utilities built into the host adapter firmware to analyze your connections.
"The following gave me a warning so I just made a copy of /stand early in process.
btmnt -w
cp /stand/unix /stand/unix.good
btmnt -d
That should be:
cp -p /stand/unix /stand/unix.good
btmnt -r
to assure that the file attributes are preserved and that /stand is returned to its normal read-only mode (no telling what the mount configuration is in /etc/default/boot -- it could be wrong).
--BigDumbDinosaur
Some comments on this article:
" The first problem encountered is the Intel system board and Intel P4 processor. The new system simply would not boot from floppy or CD Rom."
The P4 is generally a poor choice for a server, Windows or otherwise, as its ridiculously deep pipeline substantially hurts throughput in a server application. The reasons have to do with the tendency for branch predictions to frequently fail in server use, which results in frequent flushing of the pipeline. When this happens numerous CPU cycles are wasted. The Athlons in all versions tend to readily outperform the P4 in this case (the Barton and MP cores are best for server applications).
"The next step is to load the base OS from floppy and CDROM, hopefully you have the keys and software. This can always be a major problem in that usually these systems have been running for years, and this information is not available."
The serial number, etc., can be found in iqm_file, which is located in the /var/adm/ISL subdirectory. You should always consult that information before attempting an IPU or fresh install. In fact, it is wise to print that file and store the page somewhere off-site, just in case!
"I purchased an Adaptec 19160 SCSI adapter, because the hard drive was a U160 LVD. The next problem is that that particular model does not support SCO, and I had to trade for the 29160 model which did. This is really strange in that one of these does not support Windows NT and vice versa. So you have to be careful in getting the proper card."
Not strange at all. If you check the 19160 product info on Adaptec's website you'll see that this is a lightweight U160 implementation. The 29160(n)'s hardware was intended for entry to mid-level server use, whereas the 19160 is a cost-reduced device that lacks some low-level hardware features needed in a true multitasking environment. Adaptec was wise to not make a SCO driver available for the 19160. Incidentally, the 29160N is a bit less expensive than the 29160, as it does not include the 16 bit single-ended port, just the U160 and 8 bit ports. If you are not using any ultra-40 hardware, you can live with the 29160N and save some bucks.
"All this stuff is backwards compatible, right. It pretty much has been, and I never have had any problems before. But this particular card simply would not recognize the Tape Drive. So I had to find an older PCI SCSI card from one of my other systems"
Huh??? Assuming the tape drive has been daisy-chained onto the narrow host adapter port, it should show up just like the CD-ROM. Are you sure you didn't have a SCSI ID conflict and are you sure the termination is correct? Also, you didn't try to attach the tape drive to the U160 port, did you? Try using the SCSI-Select utilities built into the host adapter firmware to analyze your connections.
"The following gave me a warning so I just made a copy of /stand early in process.
btmnt -w
cp /stand/unix /stand/unix.good
btmnt -d
That should be:
cp -p /stand/unix /stand/unix.good
btmnt -r
to assure that the file attributes are preserved and that /stand is returned to its normal read-only mode (no telling what the mount configuration is in /etc/default/boot -- it could be wrong).
--BigDumbDinosaur
BTW, it's usually a lot easier to do this kind of thing with one of the Supertars - download a demo version and use that..
--TonyLawrence
Don't miss responses! Subscribe to Comments by RSS or by Email
Click here to add your comments
If you want a picture to show with your comment, go get a Gravatar