Drive Setup Patch Guide
-----------------------
v1.08 [02/2000]

The purpose of this guide is to explain how Apple's Drive Setup can be
used to format non-Apple hard disks. It is organized in a step by step
manner hopefully covering the simple as well as complicated situations.
Best viewed with a monospace font like Monaco or Courier.

What it is not: a user guide for Drive Setup and its options. If you
want to know what all the options in Drive Setup are for, please read:
<http://www.macfixit.com/reports/driveformat.shtml>

This FAQ is also available online
<http://www.mac-im-netz.de/macfaqdaten/dspg.html>
as part of Thomas Nagel's marvellous MacFaq (German only)
<http://www.mac-im-netz.de/macfaq.html>


A. What version of Drive Setup my HD is formatted with?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

In the Finder, highlight the drive or any partition of the drive and
type command-I (or choose 'Get Info' from the 'File' menu) to get the
info window. In the 'Where:' field you get the version number of the
currently installed driver.
I.e. 'Macintosh HD, SCSI ID 0 (v8.0.9)' tells you that the driver at
SCSI ID 0 is Apple SCSI driver v8.0.9, and 'Macintosh HD, Internal (ATA
0, v3.0.8)' that there is ATA driver version 3.0.8 installed on the
internal HD at IDE bus 0.

Apple SCSI drivers v7.x.x are not from Drive Setup but HD SC Setup, with
driver version matching the HD SC Setup version number.

Non-Apple drivers should identify themselves, i.e. 'Macintosh HD,FWB
ID:0 v2.5.2' for FWB HardDiskToolkit 2.5.2, 'Macintosh HD,Syquest 130-R
(SCSI:1,v5.8.2)' for a Syquest EZ cartridge formatted with Silverlining
8.5.2.

[in all examples above, 'Macintosh HD' stands for the name of the
selected drive/partition; multiple SCSI buses would result in an
additional 'Bus:x' entry, IDE master/slave capability in a 'Dev x'
entry]

This table tells you what version of Drive Setup installs what driver
version:

Drive Setup v. I SCSI I ATA new I ATA old*I Removable I CD+ATAPI
----------------+-------+---------+---------+-----------+---------
1.8.1 I 8.1.4 I 3.24 I 1.12 I 3.0.3 I 1.3d2c1
1.8 I 8.1.4 I 3.23 I ? I ? I ?
1.7.3 I 8.1.2 I 3.22 I 1.12 I 3.0.3 I -
1.7.2 I 8.1.2 I 3.21 I 1.12 I 3.0.3 I -
1.7.1 I 8.1.2 I 3.20 I ? I ? I -
1.7 I 8.1.1 I 3.20 I 1.12 I 3.0.3 I -
1.6.1 & 1.6.2 I 8.1.1 I 3.14 I 1.12 I 3.0.3 I -
1.6 I 8.1.0 I 3.13 I ? I ? I -
1.5.1 I 8.1.0 I 3.13 I ? I ? I -
1.5 I 8.0.9 I 3.10 I 1.12 I 3.0.3 I -
1.4 I 8.0.9 I 3.08 I 1.12 I 3.0.3 I -
1.3.1 I 8.0.8 I 3.07 I 1.12 I 3.0.3 I -
1.3 I 8.0.8 I 3.05 I 1.12 I 3.0.3 I -
1.2.3 I 8.0.6 I 3.04 I ? I ? I -
1.2 - 1.2.2 I 8.0.6 I 3.03 I 1.12 I 3.0.3 I -
1.1.1 I 8.0.4 I 3.01 I - I 3.0.2 I -
1.1 I 8.0.4 I - I ? I ? I -
1.0.4 & 1.0.5 I 8.0.4 I - I 1.12 I 3.0.1 I -
1.0.3 I 8.0.4 I - I 1.12** I ? I -
1.0.2 I 8.0.4 I - I ? I ? I -
--------------------------------------------------------+---------

* the old ATA driver is used when formatting an IDE hard drive
installed in a 68k IDE Mac.
** as shiped with PB2300c, the driver shows the incorrect version
number "1.12e3"

SCSI driver v8.0.5 is preinstalled on some PCI-based PowerMacs, i.e.
9500/200 & 8550/200. After reformatting the HD on these Macs with
Drive Setup 1.0.4 the driver itself can be updated to 8.0.5 via the
"Drive Setup Updater" application, but the version string in the
Get Info box remains 8.0.4.

The version numbers have been verified for US and German localized
versions of Drive Setup. Other localizations may be different (i.e.
Peter Ceresole <peter@cara.demon.co.uk> reported that Drive Setup B1-1.5
installs ATA_3.08).


B. Before you start
^^^^^^^^^^^^^^^^^^^

1. Minimum requirements for the application:

Drive Setup needs minimum Sys 7.1.2 to run.

Drive Setup v1.0.x up to 1.2.x runs on any PPC Macs, those 68040 Macs
which have an IDE port, and on PB 500 with PPC Upgrade. To use these
versions of Drive Setup on a 68040 Mac without IDE port you can use a
little system extension/control panel 'Wish I were...' by Martin
Blitz <mailto: mblitz@ultranet.com> to temporarely alter the gestalt
ID to the one of a Macintosh/Performa 630. 68030 Macs may run Drive
Setup with the help of 'Pseud040'.

With v1.3 support for all Macintosh computers that are supported by
MacOS 8 is added (that is: all PPC and 68040 Macs). Version 1.4 adds
support for HFS+ and PowerMacs requiring OS 8.1, v1.5 adds support
for PowerMac G3, v1.7 adds support for Ultra DMA/33, and v1.8.1 for
UFS (Unix File System).
For an official version history see:
<http://til.info.apple.com/techinfo.nsf/artum/n30020/>
<http://til.info.apple.com/techinfo.nsf/artum/n60517/>

In addition to those officially supported systems an increasing
number of older Macs are supported. Several 68030 Macs are reported
to do well with v1.4 and up. Version 1.5 is the first one capable of
running on a Mac LC (68020).

2. Minimum requirements for the driver:

A HD already formatted with Drive Setup v1.3.x can be used with all
Macs but 68000 (Apple namely lists Plus, Classic, SE, Portable and
PB100 as incompatible). Drive Setup 1.4 and up seem to overcome that
limitation (i.e. Classic & SE have been reported to be compatibel).

3. What version of Drive Setup should I use?

a. IDE
Drive Setup does not require a patch to format EIDE drives. Get the
newest Drive Setup from Apples WWW or FTP sites. Version 1.8.1 is
current.

b. SCSI
Depending on the version of Drive Setup your third party drive may
be supported out of the box or you need to hack Drive Setup to
support it (see section C). According to Apple anyone using OS 7.6
or newer should use the latest version of Drive Setup. But there are
situations you may want to use an older version, depending on your
configuration:

- PowerMacs
Get the newest Drive Setup from Apples WWW or FTP sites. Version
1.4 and up do format almost any drive without a hack. Version
1.8.1 is current as of this writing.
Version 1.7.3: I have the impression that Macs based on the
TNT/Nitro/Kansas board design (7300, 7500, 7600, 8500, 8600, 9500,
9600) more often do not recognize the boot drive after a forced
restart than with previous driver versions. After power cycling
and/or booting from CD everything is up to normal again.

- 68040 Macs (Quadra, Centris etc)
I recommend v1.5 if you happen to boot from CD more often.
Otherwise use the newest version available, but keep this in mind:

With Drive Setup v1.6.1 and up I could reproduce a problem that
when booting alternating from hard drive and CD the driver gets
corrupted. Tested on Quadra 800 & 700, OS 8 updated to 8.1; Drive
Setup 1.7.3 & 1.6.1; MacOS 8 CD, FWB 3.0 CD, Norton CD 3.5
(interestingly I could not reproduce this problem with Norton CD
+ Drive Setup 1.6.1, but in any other combination). There are
three steps of corruption:
1. HD wont mount if booted from CD, even mounting utilities cannot
mount the drive. Norton Disk Doctor and other tools may give you
MDB and partition maps errors. Never try to 'repair' those errors!
Immediately use Drive Setup to update the driver, and all those
errors will disappear.
2. Drive Setup insists the HD is not initialized, althought you
can boot from it. Immediately do a full backup and reinitialize
the drive.
3. You cannot boot from the HD anymore. Hopefully you have a good
recovery tool or recent backup at hand.

Booting from Disk Tools floppies (OS 7.1, OS 8) does not show the
problem described above.

- 68030 Macs (Mac II series etc)
I recommend v1.6.1.
There is a problem with Drive Setup 1.6.2 and up when formatting/
updating hard disks on 68030 Macs (specifically: IIci, Duo230);
after a restart the drive does not mount. In all cases the drive
could be reinitilized with Drive Setup 1.6.1 or earlier w/o that
problem. Localization does not seem to matter.

4. What if a non-Apple driver is already installed:

Drive Setup v1.2.2 does not care about other SCSI or IDE drivers
installed (Michael Schreiber, personal communication). You may also
be able to just 'update' the driver althought I would not recommand
that.
With current versions of Drive Setup (1.4 and up) you have at
least the option to initialize if a non-Apple driver is present.

For any other version of Drive Setup: If a HD previously formatted
with a third party driver wont be accepted by Drive Setup, the
general method to handel this is to use the formatting software used
in the first place (or any other more advanced one like HDT or
Silverlining) to delete any and all partitions of the drive,
including the driver partition, thus only the partition map remains.
Now Drive Setup should be able to format that HD.

Formatting the drive on a PC will also do the trick.

5. If Drive Setup still cannot format your particular drive, you have to
do a little ResEdit hack yourself.


C. Hacking Drive Setup for a particular drive
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1. Find out the exact name of your drives model. Easiest way is to use
the freeware SCSI Probe which will report the device name as reported
by the device itself.

2. Open ResEdit and from within ResEdit open the "Drive Setup" app.

3. Double click on the resource panel named fSCR. You will see a bunch
of Hard Disk names and models.

4a. If there is a resource with your drives name, open it. If there is
not, open the common resource (identifyable by a ',*' in the name)
for your model, e.g. 'SEAGATE,*' for any Seagate drive. Proceed with
step 5.
b. If there is non, proceed with step 7.

5. remove the Apple vendor interrogation to enable the resource for all
name matching drives, not just those with the special Apple OEM ROM:

If there is a 01 at offset $3B, a Apple vendor interrogation is
performed and any non-Apple drive is rejected. A 00 indicates that
all drives of that name will be accepted:
Apple Vendor Interrogation YES: 000038 0000 0001 0000 0000
Apple Vendor Interrogation NO: 000038 0000 0000 0000 0000
^^
6. If the drive is still rejected after patching a special resource,
patch the common resource (see 4a) and delete all other fSCR
resources (or at least all of the same manufacture with lower ID
numbers, or just give your patched resource the lowest possible ID).

7. To format some drive that has no matching fSCR:
I.e.: for a hypothetical drive 'Buganny 2145'
Duplicate any common resource (I always try 'Quantum,*' first, it has
never failed and is already enabled for non-Apple drives), rename it
'Buganny,*'; ID should not matter in that case for nothing else can
get in the way.
If that fails, try other common fSCR resources; patch them if
necessary as detailed in step 5.


D. What's new?
^^^^^^^^^^^^^^
v1.08
- added pointer to MacFixIt DriveFormat site
- added driver info on Drive Setup 1.8.1
- added infos extracted from variouse Apple TIL documents
- generalized note on old ATA driver in section A
- some clarifications in section A
- put version history to the end (new section D)

v1.07
- reworked section B; personal recommandations what version of Drive
Setup to be used with what type of Mac, and possible problems
- added driver info on Drive Setup 1.7.3

v1.06
- added URL for this FAQ
- generalized Drive Setup 1.6.2 warning and moved it to B.2.
- added driver info on Drive Setup 1.7
- some minor changes, mainly in section B

v1.05
- added Drive Setup 1.6.2 warning to B.1.
- added driver info on Drive Setup 1.7.2
- removed the IIci/IIfx problem passage in B.2. for it is obsolete

v1.04
- added driver info on Drive Setup 1.6.2

v1.03
- clarification that v7.x.x drivers are from HD SC Setup

v1.02
- Revised section A to be more accurate and complete, i.e the table
added in v1.00 needed some work.
- added one clarifying sentence to B.4.
- B.5. now lists Drive Setup 1.6.1 as the latest version

v1.00
- Added Table of Drive Setup versions versus SCSI/ATA driver versions
(thanks to Thomas Armbruester of MacWelt magazine) [new section A, so
former A is now B, and B is now C]

v0.99
- Added some sort of version history of Drive Setup [integrated into
A.1.] as there seems to be quite some demand for it.
- Revised [A.2.] for accuracy.


E. Legal mumbo:
^^^^^^^^^^^^^^^
This 'Drive Setup Patch Guide' is entirely written by me. You may print
it for personal use, and distribute it via email, mailing lists and
usenet as long as full credit is given to me. You must not put it on any
web site or otherwise publish it in printed form or on CDROM without
prior acknowledgment by me. I may not be hold responsible for any harm
caused by following the instructions included in this Patch Guide nor
for any legal implications.

Take a look at <http://www.euronet.nl/~ernstoud> for some of the
original postings and posters that made this guide possible (you'll also
find me there :-)

Joerg Erdei