Showing posts with label Restore. Show all posts
Showing posts with label Restore. Show all posts

Wednesday, July 9, 2008

How to Restore entire content of root file systems to new HDD

1. Boot your system
2. At OK prompt type boot cdrom –s
3. Create a file system on new HDD
newfs /dev/rdsk/c0t0d0s0
4. Mount partition to /a directory mount /dev/dsk/c0t0d0s0 /a
5. Go to /a directory
cd /a
6. Restore tape content
ufsrestore rvf /dev/rmt/0
7. Remove the restoresym table file.rm restoresymtable
8. Unmount the /a umount /a
9.
cd /usr/platform/`uname-m`/lib/fs/ufs
10. Configure boot device
installboot bootblk /dev/rdsk/c0t0d0s0
11. Reboot your system init 6