Hello,
I never asked the question to the list,
but after seaching the sun-managers archives,
I only found a few uncomplete solutions.
This one is more robust, but probably not fool prouf.
If you have a different architecture, then some package would
be missing and they would need to be added once booted from the cdrom.
==============================================================================
Move the disk from Ultra-1 to Ultra-2
Boot from 2.5.1 CDROM
# Mount the old boot disk
mount /dev/dsk/c0t0d0s0 /a
# Devices will be different, but we keep a copy.
mv /a/dev /a/DEV.Ultra-1
mv /a/devices /a/DEVICES.Ultra-1
# Now create new dir
mkdir /a/dev /a/devices
chmod o-w /a/dev /a/devices
chmod g-s /a/dev /a/devices
chgrp sys /a/dev /a/devices
# Vanilla path_to_inst
cp /a/etc/path_to_inst /a/etc/path_to_inst.old
# Get the devices directory from the CDROM boot
cd /
tar cf - devices | (cd /a; tar xpf -)
# Get a brand new /dev directory from sources
cd /cdrom/export/exec/kvm/sparc.Solaris_2.5.1
tar cf - dev | (cd /a; tar xpf -)
# Maybe I should get the /devices directory from the CDROM too????
# Now configure the /dev directory
cd /a
/usr/sbin/drvconfig -p /a/etc/path_to_inst -r /a
/usr/sbin/devlinks -r /a
/usr/sbin/disks -r /a
/usr/sbin/ports -r /a
/usr/sbin/tapes -r /a
/usr/sbin/audlinks -r /a
/usr/ucb/ucblinks -r /a
# Not many of us use bd...
cd /dev
/usr/bin/ln -s /dev/term/b /dev/bd.off
# Final reboot
reboot -- -r
-- | Real Page, Ing. ! Real.Page@Matrox.COM | | Gerant des Systemes Informatiques ! (514) 969-6003 | | Systemes Electroniques Matrox ! (514) 969-6262 Fax | | Dorval, Quebec ! http://www.Matrox.COM | | H9P 2T4 ! |
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:55 CDT