|
|
#26 | |
|
Thank you!
Quote:
|
||
|
|
0
|
|
|
#27 | ||
|
Why Delete Helpful Info?
Hello everybody
! I don't want to sound negative or anything, but I have been posting original answers to this thread that answer questions asked in this thread that nobody else in this thread has answered (including the original question that started this thread Quote:
Quote:
). Even if this thread is a little old, its important to leave questions properly answered for people scouring the Inter Webs for knowledge - we've all been there!
|
|||
|
|
0
|
|
|
#28 | ||||
|
Answers & Reasons
Hey everybody! This thread is talking about two different things: building images and imaging.
Imaging (at least the kind of imaging in this thread's context) is dumping the raw contents of a disc into a file. This is VERY different than copying only the files and folders off a CD. There is much more to a CD than just files and folders, such as one or more filesystems, a volume label for each filesystem, several other "labels" (one is a label stating the program used to burn the disc), sometimes boot information, etc. Building an image is the process of selecting files, folders, ior boot info to be thrown into a magical machine (hdiutils, in this case) that weaves them into a new filesystem/ structure and outputs a CD image that can then be burned to a disc (or mounted). Notice this is a fresh new making of the entire CD structure - you get to pick the filesystem and everything. The original question is excitingly vague (it doubles the fun!) because we don't know if Lamina wants to build an iso, or image a CD, yielding an iso: Quote:
Robbieduncan did an absolutely exquisite job of answering the building half: Quote:
Quote:
Quote:
I even personally tested all these things to make sure what I am saying is correct. I installed VirtualBox into Mac OS. I have an iso image of a bootable Windows 98 install CD. VirtualBox boots this iso image just fine. I burned this iso image to a physical CD. I imaged this physcial CD in Mac OS with Disk Utility with the DVD/CD master option picked, so it gave me a *.cdr image file. I got the md5 hash of both the ORIGINAL iso file and the *.cdr made from the CD made from the original. Their hashes matched, therefore they were IDENTICAL. Here's the syntax for finding the md5 hash of any file in Mac OS (or Linux) through terminal: Code:
openssl md5 [Drag file into terminal here to insert the path to that file, but don't forget the space between 'md5' and the path.] Code:
hdiutil makehybrid -iso -joliet -o Master.iso Master.cdr Does this mean Robbieduncan's method is bad? Of course not! His method is intended for building images from scratch (using source files and folders), not making images of existing CDs. Note that dd adds extra zeros to the end of image files it makes of CDs. Most programs (including Disk Utility) do not add extra zeros. This will make the hash of a dd-made iso not match the hash of a Disk-Utility-made iso, even if you use the same physical CD to do both. I have tested this myself. It adds zeros to the file until the file size in bytes is a "nicer" looking number. Dd-made isos are still good. And tgage, although dd can dump an audio CD to an image file, it is a mistake to name such a dump with the file extension "iso", even though nothing stops you from doing it. The act of naming a file with the extension "iso" is saying to every person who looks at that file that "this file is a CD image with an ISO 9660 compatible filesystem and is comprised of only one track." That's what people educated in this area expect when they see a file named with that file extension (not that you're not educated, because obviously you are). It's a naming convention standard, and it is the definition of an iso image file. The iso image standard only allows for one track. Audio CDs not only usually have more than one track, none of these tracks have a filesystem. Each track is raw digital audio data. An audio CD is pretty much a digital record, where the player just fires its laser at the disc, lets it spin, and the data coming out is directly interpreted as sound, without the need of a driver to understand a filesystem (as it would need if the audio data was instead a sound file in the ISO 9660 filesystem, or even the HFS+ for that matter), and it also does not need the ability to parse the file after finding the file with such a driver. There is still structure, but not as intense as say a thumb drive or regular CD/DVD. So Calatis, it appears that you used an iso burning program to burn the dump you made of an audio CD to a physical CD. I imagine that you (no offense) misnamed the dump with the *.iso extension, then told an iso burning program to burn this non-iso to a CD. Iso burning programs are geared for burning isos, at least while they are burning one to a disc. There are two burning modes, TAO and DAO. They are Track at Once and Disc at Once. Disc at Once allows for more direct control of the hardware than Track at Once allows. Audio CDs have a very strange structure (no filesystem, multiple tracks, etc.) and therefore need the more direct hardware access offered by DAO to be burned (can't make this wierd structure with the limits of TAO). Actual isos (no offense, tgage ) can be burned with just the TAO method (because they are "normal," have a filesystem, have only one track, etc.). Therefore, it isn't unreasonable to suppose some iso burning programs only use TAO because that is all they need. When you forced an audio dump to be burned in TAO mode, it couldn't burn right because TAO can't burn some of the stuff in that dump (like song titles and all that stuff you said that went away). TAO also automatically inserted those 2-second gaps. Since it thought it was burning an iso (which only have one track), it is no wonder your audio CD came out to be one long track with 2-second pauses. Check this site out for more details. Also Calatis, note that Mac's iso mounter is not a true CD emulator. It does not actually emulate hardware at all. It is a pseudo-device. Pseudo-devices need a filesystem in the image file they are mounting to work. Pseudo-devices are the doing of the driver itself, and the whole system knows that the pseudo-device is not a real CD. It doesn't even try to make it look like hardware at all. A true CD emulator makes it impossible to know if the emulated CD reader is real or not. Because of the pseudo-device's need of a filesystem to mount an image file, and since the audio dump has no filesystem (made from disc with no filesystem), Mac could not mount the audio CD image. In contrast, Magic Disc, a true CD emulator for Windows, can mount audio disc images properly, and you can play the music right off the emulated drive as if it were a real audio CD. Last edited by SpawnHappyJake; Jan 3, 2011 at 09:44 PM. Reason: Added clarity and correction of grammar mistakes |
|||||
|
|
1
|
|
|
#29 |
|
SpawnHappyJake, order doesn't matter on those command line options.
Additionally, you can create the iso of a folder straight with hdiutil and skip the step of using Disk Utility first. ex Code:
hdiutil makehybrid ~/Desktop/someFolder -iso -joliet -o ~/Desktop/image |
|
|
|
1
|
|
|
#30 |
|
That's Cool! ...but my hdiutuls is still backwards
Headrush69, that's pretty cool that you can make an iso right out of a folder with hdiutils - I didn't know that one! Saves time for sure.
I tried switching hdiutil makehybrid -iso -joliet -o [output] [input] to having [input] then [output]. It wants it as [output] then [input]. No biggy. Maybe your version doesn't care, or maybe we're using slightly different commands. I'm running Snow Leopard. Just as a reminder to readers - there is imaging (dumping a disc), and there is image building (constructing an image from scratch that can then be burned to a disc). There are also images that aren't a raw dump, but they are out of context here. Headrush69 and I are talking about constructing an image from a folder here at this moment, rather than dumping a disc. |
|
|
|
0
|
|
|
#31 |
|
You can make an ISO image from a folder using Disk Utility
You can make an ISO image from a folder using Disk Utility.
1. Put the files you want in the image into a folder. 2. Run Disk Utility in Utilities folder in Applications. 3. Don't click on the New Image icon - this doesn't work. Goto the menu and select:- File-> New -> Disk Image From Folder... 4. Then select the folder from the File Open dialogue box that appears and click open. 5. In the Save As dialogue that appears change nothing apart from the "Image Format:" option. Select the bottom option that is "Hybrid Image (HFS+/ISO/UDF)" 6. Then press save. Disk Utility will produce a window with a progress bar. When complete the image will have been made. 7. The image will have a .dmg extension. Rename this to .iso. In the dialogue box that appears press the "Use .iso" button. Don's use "CD/DVD Master". This produces a .cdr image that is not an ISO image. Note these images open in VirtualBox as ISO images. The .cdr ones don't. |
|
|
|
0
|
|
|
#32 |
|
cdr can equal iso
I have taken an iso, burned it to a disc, made an Apple *.cdr image of the physical disc, and taken both the md5 hash of the iso and the cdr. They matched. That means that the files are identical.
If Disk Utility shows the text "APPLE_ISO" as it is making it, I would bet it's an iso. That's what it showed when I made the above cdr. That means that at least in that situation, a cdr image is an iso. There might be other cdr images that do not equal isos, but, dmoriarty, I would encourage you to double check. Rename the *.cdr file to *.iso, and see if VirtualBox takes it. Cheers, Jake Last edited by SpawnHappyJake; Sep 17, 2011 at 07:49 PM. Reason: Add the part about the text "APPLE_ISO" |
|
|
|
0
|
|
|
#33 | |||
|
Correctional Ammendments
1.
The original question: Quote:
Quote:
I didn't have the knowledge I do now when I said that. An optical disc is bizarre. I shouldn't explain the whole scoop on them here, but to put it in a nutshell, there sure ain't any sectors on one. Optical sectors are made up. They are pieced together, calculated, and deduced by the optical drive's firmware. So the amount of processing of this madness that a certain imaging technique uses determines how "raw" the image is. No image is an exact representation of the data actually on the disc. ISOs are just the 2048-byte sectors in order that have been deduced from the disc, and that's what I meant by "raw" back then - as opposed to a "smart" image that is a list of observed properties and archived files that are used to reconstruct the disk when the image is applied (not a sector-based imaging approach). ISOs leave out subchannel info, which is not contained in sectors. RAW DAO 96 gets the 2328-byte sectors (which, in the case of most data discs, are boiled down to 2024-byte sectors - 304 of those bytes are error correction, point being RAW DAO 96 gets those 304 bytes) as well as all 96 bytes of subchannel info. But RAW DAO 96 is still a far cry from what's actually on the disc. Audio discs have 2328-byte-final-product sectors and don't have that third, last error correction (didn't mention the first two error corrections). However, it still stands that an image that is "raw" in the sense that it is merely a string of sectors can't be incompatible. No processing has to be done. It doesn't have to be decompressed with a certain algorithm or parsed according to a syntax. If it did, you would need that syntax or algorithm to use the file. If you didn't have one of those, you wouldn't be able to use the "smart" image. A string of sectors given the file extension "cdr" and a string of sectors given the file extension "iso" equally don't need to be processed, and are thus equally "immune" to incompatibilities, though a program may refuse to use one or the other on basis of file name, in which case a simple rename will fix that. 2. Quote:
I have since learned of a flaw in current kernel-level hardware emulation: floating branches. Emulated hardware from kernel-level emulation (at least the ones I've seen) look like "floating branches" in that they are not connected to the hardware tree. For example, Virtual CloneDrive's virtual optical drive is plugged into to Virtual CloneDrive's virtual SCSI controller. What is the virtual SCSI controller controller plugged into? Nothing. It's reported to be at a "virtual location". A real optical drive (or any kind of drive for that matter) would be plugged into a controller plugged into a PCI bus plugged into an ACPI plugged into the processor (more or less like that). The trunk of the hardware tree is the processor. Keep it tecky ![]() ![]() Jake |
||||
|
|
0
|
|
|
#34 | |
|
finally...
Quote:
|
||
|
|
2
|
|
|
#35 |
|
Thanks.
I just want to thanks for this simple instruction.
|
|
|
|
0
|
|
|
#36 | |
|
Quote:
__________________
Power Mac G5 - 2x 1.8GHz - 4GB - ATI Fire GL X3 256MB - 10.5.8 Macbook Pro 3,1 - 6GB - 240GB OWC SSD - 10.6.8 www.michaelanthonyralph.com/blog/ |
||
|
|
0
|
![]() |
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| thread | Thread Starter | Forum | Replies | Last Post |
| How to create an ISO image on MAC? | scottsdomain | Mac OS X | 3 | Jan 8, 2009 03:50 PM |
| How do I create an ISO image in Leopard? | mrat93 | Mac OS X | 6 | Nov 19, 2007 08:30 PM |
| How do you burn an ISO file on OSX? | superspiffy | Mac Basics and Help | 3 | Jun 12, 2007 08:34 PM |
| how do you burn an iso | chris200x9 | Mac Basics and Help | 8 | Nov 1, 2006 12:32 AM |
| How do I mount an ISO as such that its recognized as a CD-ROM? | omgwut | Mac Basics and Help | 0 | Sep 3, 2006 04:48 PM |
All times are GMT -5. The time now is 08:38 AM.







! I don't want to sound negative or anything, but I have been posting original answers to this thread that answer questions asked in this thread that nobody else in this thread has answered (including the original question that started this thread
) can be burned with just the TAO method (because they are "normal," have a filesystem, have only one track, etc.). Therefore, it isn't unreasonable to suppose some iso burning programs only use TAO because that is all they need. When you forced an audio dump to be burned in TAO mode, it couldn't burn right because TAO can't burn some of the stuff in that dump (like song titles and all that stuff you said that went away). TAO also automatically inserted those 2-second gaps. Since it thought it was burning an iso (which only have one track), it is no wonder your audio CD came out to be one long track with 2-second pauses. Check 

Macbook Pro 3,1 - 6GB - 240GB OWC SSD - 10.6.8
Linear Mode

