# init 0
    ok> boot cdrom -s
       
Step 2: Run fsck on any file system(s) to be backed up - for our  
example, we fsck root, /opt, /usr, /var (it is not necessary to fsck  
swap or backup):
         
    # fsck /dev/rdsk/c0t0d0s0        
    # fsck /dev/rdsk/c0t0d0s5      
    # fsck /dev/rdsk/c0t0d0s6      
    # fsck /dev/rdsk/c0t0d0s7
 
Step 3: Perform ufsdump on root, /opt, /usr, /var:
       
Insert a tape into the local tape drive:
     
    # ufsdump 0f /dev/rmt/0 /dev/rdsk/c0t0d0s0
               
Insert a new tape into the local tape drive:
 
    # ufsdump 0f /dev/rmt/0 /dev/rdsk/c0t0d0s5
               
Insert a new tape into the local tape drive:
 
    # ufsdump 0f /dev/rmt/0 /dev/rdsk/c0t0d0s6
               
Insert a new tape into the local tape drive:
 
    # ufsdump 0f /dev/rmt/0 /dev/rdsk/c0t0d0s7  
 
 
sur le nouveau disque :
 
        # newfs /dev/rdsk/c0t0d0s0        
        # newfs /dev/rdsk/c0t0d0s5
        # newfs /dev/rdsk/c0t0d0s6
        # newfs /dev/rdsk/c0t0d0s7
 
Also, each slice should be fsck'd to make sure newfs worked.
                 
Step 2: Mount the root slice to be restored, example:  
(do not mount or restore swap)
 
        # mount /dev/dsk/c0t0d0s0 /a
 
Step 3: Insert the proper ufsdump tape for the filesystem to be restored
starting with root(/). CD into the root filesystem (/a) and  
perform the ufsrestore command, example:
         
        # cd /a
        # ufsrestore rvf /dev/rmt/0
        # rm restoresymtable
         
Step 4: Now that /a has been restored, mount /opt, /usr and /var:
   
        # mount /dev/dsk/c0t0d0s5 /a/opt      
        # mount /dev/dsk/c0t0d0s6 /a/usr
        # mount /dev/dsk/c0t0d0s7 /a/var
         
Step 5: Now cd into each mount point and restore each:
 
Insert the /opt backup tape, then:
        # cd /a/opt
        # ufsrestore rvf /dev/rmt/0  
        # rm restoresymtable
         
Insert the /usr backup tape, then:
        # cd /a/usr
        # ufsrestore rvf /dev/rmt/0  
        # rm restoresymtable
         
Insert the /var backup tape, then:
        # cd /a/var
        # ufsrestore rvf /dev/rmt/0  
        # rm restoresymtable
         
Step 6: Unmount the filesystems:
        # cd /
        # umount /a/usr
        # umount /a/opt
        # umount /a/var
        # umount /a
             
         
        # cd /usr/platform/`uname -i`/lib/fs/ufs
        # installboot bootblk /dev/rdsk/c0t0d0s0