LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   LinuxQuestions.org Member Success Stories (https://www.linuxquestions.org/questions/linuxquestions-org-member-success-stories-23/)
-   -   RHEL6: genisoimage replaces mkisofs (https://www.linuxquestions.org/questions/linuxquestions-org-member-success-stories-23/rhel6-genisoimage-replaces-mkisofs-4175444226/)

jasohl 01-04-2013 10:28 PM

RHEL6: genisoimage replaces mkisofs
 
I thought I would share my experience so others would not have to dig so hard.

Recently, I was trying to follow RH documentation to create a custom boot iso for kickstarting. All documentation says to use mkisofs to create the actual ISO. I have done this in the past without much problem. But I am now working on a RHEL6 system. When I went to run mkisofs I get "-bash: mkisofs: command not found".

To make a long story short, there is no mkisofs package available for RHEL6, nor cdrtools. (Nor cdrkit which was forked from cdrtools.) From my googling and wikipedia-ing, this seems to be because of a licensing change on cdrtools.

Anyways, RHEL6 replaces mkisofs with genisoimage. Yet, if you install the genisoimage package you will find that you now "have" mkisofs. But this is just a symlink. Multiple symlinks in fact:

Code:

lrwxrwxrwx. 1 root root 25 Jan  4 19:31 /usr/bin/mkisofs -> /etc/alternatives/mkisofs
lrwxrwxrwx. 1 root root 20 Jan  4 19:31 /etc/alternatives/mkisofs -> /usr/bin/genisoimage
-rwxr-xr-x. 1 root root 597264 Jun 21  2010 /usr/bin/genisoimage

I hope this helps anyone who is trying to follow a KB article or Doc and can't find mkisofs. Just yum install genisoimage and your good to go.

Jacob


All times are GMT -5. The time now is 10:23 PM.