After copying the root filesystem, you may need to rebuild the device tree - this is how:


  1. Drop to the open boot prom
  2. Boot to single user mode from cd-rom or network:
  3. ok} boot cdrom -s
  4. Perform the fsck - You need to know the controller, target, drive, and slice of the root filesystem:
  5. # fsck -y /dev/rdsk/c0t0d0s0
  6. Mount the internal drive on /mnt
  7. # mount /dev/dsk/c0t0d0s0 /mnt
  8. Delete the /etc/path_to_inst and device files from the internal drive
  9. # rm /mnt/etc/path_to_inst
    # rm /mnt/dev/dsk/*
    # rm /mnt/dev/rdsk/*
    
  10. Recreate the device files and the /etc/path_to_inst
  11. # devfsadm -r /mnt -p /mnt/etc/path_to_inst
    
  12. For Solaris 2.7 and below:
  13. # 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