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
There are no attachments for this article.
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
Setup private yum repository for AIX clients
Viewed 10511 times since Thu, Feb 21, 2019
AIX Migrating from SDDPCM to AIXPCM (the easy way)
Viewed 19158 times since Mon, Dec 31, 2018
Part 2, Monitoring memory usage (ps, sar, svmon, vmstat) and analyzing the results AIX7
Viewed 11892 times since Wed, Jun 19, 2019
How to check dual path in AIX
Viewed 12499 times since Fri, Jun 8, 2018
How to know witch process is running in a particular port on AIX using KDB
Viewed 11902 times since Thu, Nov 29, 2018
Getting list users and groups in AIX
Viewed 2782 times since Mon, May 28, 2018
Create jfs2 logical volume on AIX
Viewed 3816 times since Thu, Feb 21, 2019
How to determine why your AIX oslevel is downlevel (and a script to help!)
Viewed 3409 times since Fri, Jul 13, 2018
AIX Oracle tuning
Viewed 201601 times since Tue, Jul 2, 2019
Firmware Assisted Dump sysdump
Viewed 1643 times since Mon, Jul 16, 2018