After copying the root filesystem, you may need to rebuild the device tree - this is how:
- Drop to the open boot prom
- Boot to single user mode from cd-rom or network:
- Perform the fsck - You need to know the controller, target, drive, and slice of the root filesystem:
- Mount the internal drive on /mnt
- Delete the /etc/path_to_inst and device files from the internal drive
- Recreate the device files and the /etc/path_to_inst
- For Solaris 2.7 and below:
ok} boot cdrom -s
# fsck -y /dev/rdsk/c0t0d0s0
# mount /dev/dsk/c0t0d0s0 /mnt
# rm /mnt/etc/path_to_inst # rm /mnt/dev/dsk/* # rm /mnt/dev/rdsk/*
# devfsadm -r /mnt -p /mnt/etc/path_to_inst
# drvconfig -r /mnt/devices -p /mnt/etc/path_to_inst # devlinks -r /mnt # disks -r /mnt # tapes -r /mnt # ports -r /mnt # audlinks -r /mnt