Am I on the right track?
I boot with floppy made from system with the ad160 driver, and plan to follow the procedures.
1. mount /dev/hd0root /rootmount
My question is to make this work is to chroot and make the hard disk the environment.
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,
btmnt -w
cp /stand/unix /stand/unix.good
btmnt -d
./link_unix