Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
If I wanted to make an iso from my mandrake cd's, what commands would I need to use in mkisofs? I have looked at the man pages but there is a lot of stuff in there that I am unsure if I need them or not.
You don't use mkisofs. That command is used to make an iso from data that isn't in iso format. But since you are trying to copy the existing iso structure from your CD, the command you want is dd. Assuming that your cdrom is /dev/hdc, you would use this command:
dd if=/dev/hdc of=image.iso
This will make an iso file named (you guessed it) image.iso.
Perhaps instead of saying 'you don't use mkisofs', I should have said 'you don't have to use mkisofs'
The difference between these two commands is that 'dd' is simply copying data (the dd stands for duplicate data), whereas mkisofs has to construct a new iso filesystem from existing data. The advantage of using dd is that there is already an iso filesystem on your cd, so it is simpler (for the computer) and more reliable to copy the entire filesystem to a single file, and to do this, you use the dd command.
If you have mounted your cd (which you don't have to do for the dd method), then the mkisofs command that you list should work, wuck. Though I would use '-r -J' instead of '-R', in order to use Joliet directory records with the simpler Rock Ridge protocol. This will ensure that your disk is compatible with windows (Joliet) and portable to other Linux machines (Rock Ridge minus uid/gid/permissions). However, mkisofs is more appropriate for making an iso image from a group of files on your hard drive, since they need to be 'converted' to the iso filesystem.
Originally posted by Cerbere
[The difference between these two commands is that 'dd' is simply copying data (the dd stands for duplicate data), whereas mkisofs has to construct a new iso filesystem from existing data.
Ah, I see. Because you use the unpacked iso file, you can simply copy it. But I had a Mandrake 9.1 CD copied to my harddrive, which then I should have converted to iso by the command you said:
Quote:
If you have mounted your cd (which you don't have to do for the dd method), then the mkisofs command that you list should work, wuck. Though I would use '-r -J' instead of '-R', in order to use Joliet directory records with the simpler Rock Ridge protocol. This will ensure that your disk is compatible with windows (Joliet) and portable to other Linux machines (Rock Ridge minus uid/gid/permissions). However, mkisofs is more appropriate for making an iso image from a group of files on your hard drive, since they need to be 'converted' to the iso filesystem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.