Tanti Technology

My photo
Bangalore, karnataka, India
Multi-platform UNIX systems consultant and administrator in mutualized and virtualized environments I have 4.5+ years experience in AIX system Administration field. This site will be helpful for system administrator in their day to day activities.Your comments on posts are welcome.This blog is all about IBM AIX Unix flavour. This blog will be used by System admins who will be using AIX in their work life. It can also be used for those newbies who want to get certifications in AIX Administration. This blog will be updated frequently to help the system admins and other new learners. DISCLAIMER: Please note that blog owner takes no responsibility of any kind for any type of data loss or damage by trying any of the command/method mentioned in this blog. You may use the commands/method/scripts on your own responsibility. If you find something useful, a comment would be appreciated to let other viewers also know that the solution/method work(ed) for you.

Tuesday, 10 December 2013

Creating AIX mksysb ISO bootable image

    
Run mksysb command 
lpar1 # mksysb -X -i -e /mksysb/lpar1/lpar1_23jul12.mksysb       

If for any reason necessary, you can create a bootable DVD.iso file from a mksysb backup, using mkcd:
mkcd -L -S -I /mksysb/bootable_mk -m /mksysb/my_mksysb_backup
Where:
-m for, Specify previously taken mksysb
-I for,  Specify directory where the bootable DVD iso will be placed
-S for,  Do not write to DVD media/device

Now Create a bootable iso image from this mksysb image :

lpar1 #mkdvd -S -m /mksysb/lpar1/lpar1_23jun12.mksysb    
Initializing mkdvd log: /var/adm/ras/mkcd.log...    
Verifying command parameters...
Creating temporary file system: /mkcd/cd_fs... 
Populating the CD or DVD file system...   
Building chrp boot image...    
Copying backup to the CD or DVD file system... 
..  
Creating temporary file system: /mkcd/cd_images...  
Creating Rock Ridge format image: /mkcd/cd_images/cd_image_483704   
Running mkisofs ... 
... 
mkrr_fs was successful.   
    
Making the CD or DVD image bootable...    
    
Removing temporary file system: /mkcd/cd_fs... 
lpar1 #
    
This will create a new filesystem /mkcd/cd_mages and store the bootable iso image there.

lpar1 # cd /mkcd/cd_images    

lpar1 # ls –ltr    
total 4239112  
drwxrwx---    2 root     system          512 Aug 01 11:57 lost+found
-rw-r--r--    1 root     sys      2170353664 Aug 01 11:57 cd_image_483704 
lpar1 #


 Lets Check the size of the image

lpar1(/mkcd/cd_images)# du -gs *   
2.02    cd_image_483704   
lpar1(/mkcd/cd_images)#

Rename this image to relevent name, In my case, it is..

lpar1(/mkcd/cd_images)# mv cd_image_483704 lpar1_23jul.mksysb_bootable 

lpar1(/mkcd/cd_images)# du -gs * 
2.02    lpar1_23jul.mksysb_bootable 
lpar1(/mkcd/cd_images)#   

Now get this image through FTP in windows and burn on DVD. After buring to DVD, you can use this bootable DVD to restore the server.

No comments:

Post a Comment