can't seem to create an ISO from a folder tree
APOLOGY IN ADVANCE I know that I've posted several items about ISO images, but I continue to struggle. One reason includes my limited time to play-with/work-on new things at the expense of other "more important" efforts. I hope the moderators will be kind. I know there is a loose nut in my end-user's chair, so I hope someone here can help me. This is Linux so I suppose that I could take apart the process for making my own distribution ISO, but I hope it does not come to that. I'm trying to create an ISO file that contains a complete folder tree of files. I can create the tree of folders and files, no problem. I can launch k3b or brassero, but then I can't get a mountable ISO file as results. One of my complaints is that these tools expect a DVD as output and complain if my folder tree contents are too large. Do I need a blu-ray writer utility? Another complaint is that (blush) I can't seem to wrap around the options for the command line tools like genisoimage (still blushing). For those inquiring minds, I have loads of reference material as document files in various formats. Depending on the document format, there may be associated image files. A few documents are "slide shows" with associated images and audio. (gulp) Video is right around the corner. (/gulp) Thanks in advance, ~~~ 0;-Dan |
If you aren't opposed to using the command line instead of some gui then this process should net you a good iso. We will try it on a small directory to test it out.
Code:
mkdir /mydir Quote:
|
Quote:
I want to use dd to snarf an entire USB stick or other external drive: Code:
prompt$ sudo dd bs=4096 if={usb_device} of=drive.img Thanks in advance, ~~~ 0;-Dan |
This is the only line you will need:
Code:
genisoimage -o my.iso -V my_volume_label -r /mydir Code:
# Name the outputted iso my.iso |
Some guy had written a script to do an iso image from any linux install long ago. Or any debian based one it seems. Also seems like a lot of distros have "ways" of doing this in the distro now.
https://en.wikipedia.org/wiki/Remastersys Which forked to Respin it seems. Although PDK seems more along the lines of what I found many moons ago for this task. Although I never used it, it was a relatively simple bash script at the time. So maybe not pdk which seems to have a lot of python. So many options now. And not as simple as it once was with a new init system and bios options. https://github.com/64studio/pdk |
Quote:
If I name the top level folder -- mount point -- of the usb-device, the ISO will contain all of the file system "data" files and associated folders. Using 'dd' to create 'drive.img' gets all of the device bits in addition to the "data" files and folders. There are only rare times that I care about these extra details, but I need them when I do care. Follow-up I'm not a digital music guy, but is this similar or identical to what folks are doing when they talk about "ripping a CD" or otherwise putting CD music into an ISO file? I guess the short answer says to use the device mount point as input to genisoimage and find a way to process the extra bits as the exception that they really are. That processing might involve making an ISO from a "drive.img" file. Thanks in advance, ~~~ 0;-Dan |
Quote:
Quote:
Huge difference between generating an ISO from a file list, and generating an ISO file from a dd image. You can read more about the differences with some google searching. Hope that gets you started in the right direction. |
Well, I think that I found a solution:
Code:
prompt$ # first, install the package acetoneiso Follow-Up: It seems that ccd2iso is looking for dot-img files that are something WinXX and Mac specific other than what I can create with Code:
prompt$ dd ... of=/path/something.img By the way, there appear to be many more features in acetoneiso. Again, I'll report back. Thanks to all, ~~~ 0;-Dan |
All times are GMT -5. The time now is 03:46 PM. |