Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Move SCO 5.05 to new system dif controller

Status
Not open for further replies.

cdlvj

MIS
Nov 18, 2003
678
US
1. Backup the old system with cpio
Recommend just /root and /stand on 1 tape
and /u and others on a tape.

2. Will need keys and original install media, install on the new system, with the new driver, and divvy the fs appropriately. makdev tape to install your tape.

3. Make an boot floppy and fs, make sure they work. Probably good idea to make two.

4. Boot with floppy
mount /dev/hd0root /mnt
cd /mnt
rm -r * // get rid of cur system
cpio // restore the old system

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 and others

5. cd / // save boot stuff
mkdir b
mount /dev/boot /b
mkdir /mnt/bootstand
cp -r /b /mnt/bootstand

5. cd /
umnount /mnt
mkdir rootmount
mount /dev/hd0root /rootmount
chroot /rootmount /bin/sh // see man chroot

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,

This stand 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, and video and mouse will have to be reconfigured.



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top