From: Tom Stiller on
In article <hg139v$gk5$1(a)news.eternal-september.org>,
Justin <justin(a)nobecauseihatespam.com> wrote:

> On 12/12/09 3:34 PM, Geoffrey S. Mendelson wrote:
> > Justin wrote:
> >> Are you sure? The Snnow Leopard DVD I just bought has a Windows session
> >> on it.
> >
> > The Snow Leopard disks from Apple did in fact have two sessions on them,
> > one was Snow Leopard install and the other was BootCamp. There also was
> > a partition table, etc on it.
> >
> > The bootleg versions on the Internet were either. Most were just the Snow
> > Leopard session (and therefore not bootable), others were the complete
> > disk image.
> >
> > If someone gives you a copied disk that has just the Snow Leopard install,
> > either they copied it incorrectly, or downloaded it from the Internet.
> > Caveat Emptor.
> >
> > BTW, if you have MacPorts installed, you can just install md5sum, and have
> > one that is compatible with everything else.
> >
> > Geoff.
> >
>
> I actually have a real version of the DVD - I paid $30 for it because I
> don't trust OS installs from the internets.
> Now my problem is I downloaded the FreeBSD isos and need to verify them
> for integrity.
> There should be a way to run an md5 on the entire device.

Usually, one runs md5 on the downloaded image _before_ burning it to
disk.

--
Tom Stiller

PGP fingerprint = 5108 DDB2 9761 EDE5 E7E3 7BDA 71ED 6496 99C0 C7CF
From: Geoffrey S. Mendelson on
Justin wrote:

> Error: Port md5sum not found
> and
> justin$ sudo port install md5
> Error: Port md5 not found
>
> Snow Leopard already has md5 installed and the -r flag produces the
> standard output most scripts expect.


port search md5sum
md5sha1sum @0.9.5 (sysutils)
Hash utilites

Geoff.
--
Geoffrey S. Mendelson, Jerusalem, Israel gsm(a)mendelson.com N3OWJ/4X1GM
From: Geoffrey S. Mendelson on
Tom Stiller wrote:

> Usually, one runs md5 on the downloaded image _before_ burning it to
> disk.

Assuming of course that there may be something wrong with the download and
you want to check it. If you get the MD5SUM file from the original source and
not the mirror, you can also make sure it was not tampered with along the way.

I expect that if anyone were to tamper with a disk image, they would adjust the
MD5SUM file on their mirror too.

I expect he is doing to make sure the burning process is working.

Geoff.




--
Geoffrey S. Mendelson, Jerusalem, Israel gsm(a)mendelson.com N3OWJ/4X1GM
From: David Empson on
Justin <justin(a)nobecauseihatespam.com> wrote:

> On 12/11/09 8:32 PM, David Empson wrote:
> >
> > DVDs generally don't support sessions, but if you use 'diskutil list'
> > you can see all the mounted volumes. It numbers the partitions or
> > sessions. Number 0 is the base device (such as 'disk2') or possibly the
> > partition table on a hard drive. Numbers 1 and higher use 's' followed
> > by the number appended to the disk name, e.g.
>
> Are you sure? The Snnow Leopard DVD I just bought has a Windows session
> on it.

That isn't a "session". If you look at the logical structure of the DVD
in Disk Utility, it only shows a single icon indented beneath the device
icon. A CD with multiple sessions shows up with two or more icons there
(as do CDs or DVDs with a single session containing multiple partitions
that the Mac can mount).

It is actually a single session DVD with a hybrid file system,
comprising a mixture of an Apple Partition Map and an ISO-9660 file
system.

Mac OS X (or the firmware) sees the Apple Partition Map and ignores the
ISO-9660 file system.

Windows sees the ISO-9660 file system and ignores the Apple Partition
Map.

Within the Apple Partition Map there are two partitions:

- A nominal "ATAPI" device driver for Mac OS 9. Mac OS X ignores
partitions of this type. This is actually a 1 GB partition containing
the majority of the data for the ISO-9660 file system, including the
Boot Camp drivers. It is referenced by the ISO-9660 file system in the
hybrid volume. It can't be used directly because it is missing part of
the ISO-9660 file system. (ISO-9660 can reference scattered data on a CD
or DVD.)

- The "Mac OS X Install DVD" partition, which you see in Finder when the
disk is mounted.

If you copy the entire DVD with a block-level utility such as dd, Disk
Utility to copy the device icon, or Toast's Disk Copy, both the Apple
partition map and ISO-9660 file system will be copied, so the copy will
contain the Boot Camp drivers.

If you copy the DVD with a file-level utility such as Finder, it will
only see the "Mac OS X Install DVD" volume and won't copy the partition
table or ISO-9660 file system, i.e. the Boot Camp drivers won't be in
the copy. This also applies if you copy the indented volume icon in Disk
Utility.
--
David Empson
dempson(a)actrix.gen.nz
From: Justin on
On 12/12/09 5:19 PM, Geoffrey S. Mendelson wrote:
> Tom Stiller wrote:
>
>> Usually, one runs md5 on the downloaded image _before_ burning it to
>> disk.
>
> Assuming of course that there may be something wrong with the download and
> you want to check it. If you get the MD5SUM file from the original source and
> not the mirror, you can also make sure it was not tampered with along the way.
>
> I expect that if anyone were to tamper with a disk image, they would adjust the
> MD5SUM file on their mirror too.
>
> I expect he is doing to make sure the burning process is working.
>
> Geoff.
>
>
>
>


Correct.
The images I downloaded are OK, but I want to make sure the discs I
burned are OK as well.