Home - Safdar.com Blog Rebuild a Solaris Server
|
|
Written by Safdar Mirza
|
|
Wednesday, 06 June 2007 |
|
Rebuil a machine to different hardware or recovery of backup to different hardware.
Assuming you're booted from the CD, and your "/" is mounted on "/a", try:
"cd /a" "mv dev <yymmdd>_dev" "mv devices <yymmdd_devices" "mkdir dev devices" "chmod 755 dev devices" "chown root:sys dev devices" "cd /dev; find . -depth -print | cpio -pdm /a/dev" "cd /devices; find . -depth -print | cpio -pdm /a/devices" "cd /a/etc" "mv path_to_inst <yymmdd_path_to_inst" "cp -p /etc/path_to_inst /a/etc/path_to_inst"
touch /a/etc/reconfigure for good measure. Then reboot. devfsadm will also works..
|
|