Create bootable DVD iso image from a mksysb backup

Create bootable DVD iso image from a mksysb backup

If for any reason necessary, you can create a bootable DVD.iso file from a mksysb backup, using mkcd:

      Create CD/DVD image
      |
mkcd -L -S -I /mksysb/bootable_mk -m /mksysb/my_mksysb_backup
         |  |
         |  Specify directory where the bootable DVD iso will be placed
         Do not write to DVD media/device


# mkcd -L -S -I /mksysb/bootable_mk -m /mksysb/my_mksysb_backup
Initializing mkcd 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 Rock Ridge format image: /mksysb/bootable_mk/cd_image_655538
Running mkisofs ...
........................
mkrr_fs was successful.

Making the CD or DVD image bootable...


Removing temporary file system: /mkcd/cd_fs...

If the resulting mksysb file will be bigger than 3.7G (as I saw in the mksysb (or mkcd?) man page) mkcd will create 2 iso images. In this case it is advisable to clean the the rootvg from unnacessary files, like big old log’s and simillar stuff, so you have the entire backup/restore on one medium. Also, it happend to me, that when I created a mksysb on AIX 5.3(dont know the TL) it ended with something like “ended sucsesfully” but, “echo $?” was not 0. When this happened mkcd asked me for the second cd/medium, and refused to continue. So check the resulting result code, after mksysb finished.

 

0 (0)
Article Rating (No Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
Top 4 Reasons for Node Reboot or Node Eviction in Real Application Cluster (RAC) Environment
Viewed 109979 times since Thu, Jun 21, 2018
AIX Net How to check VLAN ID number on AIX?
Viewed 17515 times since Thu, Nov 29, 2018
Backup and Restore With AIX
Viewed 6255 times since Sat, May 19, 2018
AIX: How to determine which application created the OS core file
Viewed 3451 times since Mon, Jun 11, 2018
AIX snap - Prevent dump collection
Viewed 13389 times since Mon, Sep 17, 2018
AIX - How to get IP and MAC address of ethernet adapter in AIX
Viewed 29505 times since Fri, Jun 8, 2018
AIX Reviewing AIX Error and Boot Logs
Viewed 5165 times since Wed, Mar 20, 2019
AIX: How to set automatic logoff (only for terminals)
Viewed 4138 times since Mon, Jun 11, 2018
AIX boot proccess
Viewed 4783 times since Tue, Apr 16, 2019
AIX - How to monitor memory usage
Viewed 7933 times since Fri, Jun 8, 2018