Hot answers tagged

64

An ISO file isn't a file system. It contains a file system. From a usage point of view, it functions the same way as a hard disk or USB device or DVD - you need to have a mount point, i.e. a place in your file system where you can mount it in order to get at the contents.


59

you can do this by 7zip software: sudo apt-get install p7zip-full 7z x iso_file.iso on Fedora: 7za x iso_file.iso


51

That's just what cat was made for. Since it is one of the oldest GNU tools, I think it's very unlikely that any other tool does that faster/better. And it's not piping - it's only redirecting output.


51

Seems to be pretty straightforward to do with genisoimage, in the package with the same name on Debian: genisoimage -o output_image.iso directory_name There are many options to cover different cases, so you should check the man page to see what fits your particular use case. See also How-To: Create ISO Images from Command-Line


42

There are three separate concepts here: A block device, which is a physical or virtual device that represents a series of equal sized data blocks. HDDs are block devices. So are data CDs. A filesystem, which defines a way of storing data in a block device that represents a series of files and directories and other filesystem information. ext3 is a file ...


35

Because AMD was the first one to release 64-bit x86 (x86-64) CPUs. the AMD64 architecture was positioned by AMD from the beginning as an evolutionary way to add 64-bit computing capabilities to the existing x86 architecture, as opposed to Intel's approach of creating an entirely new 64-bit architecture with IA-64. The first AMD64-based processor, the ...


30

Try first to convert it into an iso file, with mdf2iso (you have to install it) like this : mdf2iso your_file.mdf Linux cannot mount mdf file (which is a closed format) natively. Or, you can try to rename it into "your_file.iso" and mount it with the command you gave, but it's not working with every mdf image. Or if you're using an X Server, you can try ...


19

Under the hood There is no more efficient way than copying the first file, then copying the second file after it, and so on. Both DOS copy and cat do that. Each file is stored independently of other files on the disk. Almost every filesystem designed to store data on a disk-like device operates by blocks. Here's a highly simplified presentation of what ...


19

Making a CD from a folder can be performed with mkisofs. mkisofs -lJR -o output_image.iso directory_name -l : Allow full 31 character filenames. -J : Generate Joliet directory records in addition to regular iso9660 file names. -R : Generate System Use Sharing Protocol (SUSP) and Rock Ridge (RR) records using the Rock Ridge protocol https://linux.die.net/...


17

You should look at bchunk, which is specifically meant for this type of conversion. You should be able to install it with sudo yum install bchunk, but I'm only 95% sure it's in the standard repo. bchunk will create an ISO from any data tracks, and CDR for any CD audio. If you want everything in one ISO bchunk is not appropriate. The syntax is like this, ...


17

AMD intially implemented x86-64, before Intel. For this reason, most distros (and other OSs such as OpenBSD) did a first release when it was still AMD only, or renaming to x86-64 wasn't considered worth the effort. I think one of the another contributing factors to this naming confusion was a conflict between Intel and AMD over naming. Intel had an identity ...


15

ISO 9660 is by design a read-only file system. This means that all the data has to be written in one go to the medium. Once written, there is no provision for altering the stored content. Therefore ISO 9660 is not suitable to be used on random-writable media, such as hard disks. You need to copy whole directory tree to another directory, make your changes ...


15

Here's what you're looking for: http://www.linuxfromscratch.org/


15

Yes, you can accomplish this by adding a menu entry to the GRUB boot loader menu. You can add a custom GRUB menu entry by editing /etc/grub.d/40_custom, Example of custom menuentry: exec tail -n +3 $0 # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change #...


14

An ISO file is a complete, formatted filesystem image. All cat or dd does is do a bit-for-bit copy of that filesystem image to your target media. There is no magic going on behind the scenes. The ISO filesystem preparation was done beforehand (often by a specialized tool). All cat does is write that collection of bytes out. It doesn't interpret the .iso at ...


11

No, the ISO image file is not a file system in its own right. Just like a partition can contain a file system, but isn't a file system, does an ISO image file contain a file system, but it isn't a file system. But you need a file system for two things: a place to store the .iso file (assuming if it doesn't come as a shiny silver disc) a directory where to ...


11

Figured it out. It's a two step process. Step 1. Attaching as a block device # the '-nomount' option avoids the 'mount failed' error $ hdiutil attach -nomount debian-8.5.0-amd64-CD-1.iso /dev/disk2 Apple_partition_scheme /dev/disk2s1 Apple_partition_map /dev/disk2s2 Apple_HFS # verify disk is ...


10

You should clarify what you mean by extracting but as far as I understood: in the first case you copy each file and folder out of the ISO file. By making a copy you need to read everything and write everything to a different location mounting just makes the content available but does nothing else (no copy thus no read/write). The content is available as ...


8

Seems like there should be a more efficient way than piping all of the contents through the system's stdin / stdout Except that's not really what's happening. The shell is connecting the stdout of cat directly to the open file, which means that "going through stdout" is the same as writing to disk.


8

Based on what you have described you should do something like this: dd if=/dev/urandom of=testfile bs=1M count=699 mkisofs -o test_cdrom.iso testfile Once done you can read and write to and from the optical media to your hearts content. One thing that I would suggest is that instead of pretesting the optical media and then attempting to write the actual ...


8

The ISO9660 standard does not allow names with other than A-Z, numbers and underscores. No matter which tool you use, if it just creates a plain ISO9660 filesystem, it will likely convert all filenames to respect these restrictions, and possibly even to fit into 8.3 filenames. Support for other characters in filenames, as well as longer filenames and other ...


8

I wouldn't try it on a CD (although it might well be that my old buffering fears are outdated), but it works fine on a USB key; for example: curl -L http://cdimage.debian.org/debian-cd/8.6.0/amd64/iso-cd/debian-8.6.0-amd64-netinst.iso | sudo dd of=/dev/sdf downloads the current Debian network installer and writes it to the sdf key. This works because dd ...


7

If you happen to run an OS supporting it (Linux & BSDs), you might use Unionfs to somewhat mount an ISO in read-write mode. All writes will be actually be done on a read-write file system but depending on your needs, that might fit them.


7

You can't cat the two CentOS 6 ISOs together and get the combined version of them. cat them would work if they had been split from one big ISO file, but they're two distinct ISOs created separate from one another. If you're looking to combine the two DVDs in to one use the mkdvdiso.sh script from here and run it on a directory that contains the DVD1 and ...


7

bsdtar (part of the portable libarchive) can parse lots of file formats. This is handy for those whose fingers are very familiar with tar's options (bsdtar xfp foo.iso to extract, bsdtar tf yoyoma.rpm to just inspect the contents). There's also a bsdcpio for those who are familiar with cpio's usage. Many linux distros now include bsdtar, bsdcpio and ...


7

To mount a .ccd file created with CloneCD, first translate the file to an .iso file, ccd2iso MyImage.img MyImage.iso Then mount the .iso file, sudo mkdir /tmp/disk mount -o loop -t iso9660 ./MyImage.iso /tmp/disk/


7

md5sum *.img | sort Should make any duplicates obvious.


6

7.1 is located at ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/mandriva-prehistory/iso/7.1/i586/ for 7.0 an network install image is available at ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/mandriva-prehistory/7.0/images/ maybe ftp://ftp.orst.edu/pub/mirrors/linux_mirrors/mandrake/iso/mandrake70.iso is the image you are looking for?


6

I don't know Arch Linux, but let me share what worked for me using openSUSE Leap 42.2 with GNOME 3.20. openSUSE has a package called gnome-disk-utility. Installing it makes available the Disks app and the ability to mount ISO images from Nautilus. With gnome-disk-utility installed, mounting an ISO image is an easy task: Open Nautilus Browse to an ISO file ...


6

If the BIN file contains CD-Audio tracks you cannot convert it to an ISO image! The reason for this is that, unlike e.g. a CD-ROM, the data structure of an audio CD is fundamentally incompatible with an ISO 9660 file system. See the link below for a paper that gives a good explanation of this: http://journal.code4lib.org/articles/9581 However, you could ...


Only top voted, non community-wiki answers of a minimum length are eligible