PDA

View Full Version : Dupe to seperate internal drive problem


ArsMoriendi
08-13-2006, 08:00 PM
Hi-

Just tried to clone from one internal drive to another. Everything seemed to work, but there was a failure on setting the target disk as the startup volume. As a matter of fact, my machine will not recognize the cloned disk as bootable, even from open firmware (i.e. holding down option at boot, the new disk doesn't display as an option.).

Here's the log output from my clone attempt:


| 05:50:50 PM | Info | SuperDuper!, 2.1.3 (80), path: /Applications/SuperDuper!.app, Mac OS 10.4.7 build 8J135 (ppc)
| 05:50:50 PM | Info | Started on Sun, Aug 13, 2006 at 5:50 PM
| 05:50:50 PM | Info | Source Drive: UNTITLED, mount: /, device: Maxtor 6E040L0, interconnect: Internal ATA, file system: "Case-sensitive Journaled HFS+", OS: 10.4.7 (8J135), capacity: 38.16 GB, used: 18.88 GB, directories: 74316, files: 267078, ejectable: NO, ACLs: Disabled
| 05:50:50 PM | Info | Target Drive: Mac OS X, mount: /Volumes/Mac OS X, device: ST3120026A, interconnect: Internal ATA, file system: "Case-sensitive Journaled HFS+", OS: 10.4.7 (8J135), capacity: 79.88 GB, used: 18.59 GB, directories: 74297, files: 266967, ejectable: NO, ACLs: Disabled
| 05:50:50 PM | Info | Copy Mode : Erase, then copy files
| 05:50:50 PM | Info | Copy Script : Backup - all files.dset
| 05:50:50 PM | Info | Transcript : BuildTranscript.plist
| 05:50:51 PM | Info | PHASE: 1. Prepare to Copy Files
| 05:50:51 PM | Info | ...ACTION: Preparing UNTITLED
| 05:50:51 PM | Info | ......COMMAND => Verifying the integrity of volinfo.database
| 05:50:51 PM | Info | volinfo.database OK
| 05:50:51 PM | Info | ......COMMAND => Enabling permissions on UNTITLED
| 05:50:51 PM | Info | Refreshing Disk Arbitration ...
| 05:50:51 PM | Info | ......COMMAND => Verifying that permissions are enabled for UNTITLED
| 05:50:51 PM | Info | Permissions on '/' are enabled.
| 05:50:51 PM | Info | ...ACTION: Erasing Mac OS X
| 05:50:51 PM | Info | ......COMMAND => Preserving Mac OS X UUID
| 05:50:51 PM | Info | 1C5489FD392DCE00
| 05:50:51 PM | Info | ......COMMAND => Preserving spotlight indexing state
| 05:50:51 PM | Info | ......COMMAND => Erasing Mac OS X
| 05:50:58 PM | Info | ......COMMAND => Restoring Mac OS X UUID (1C5489FD392DCE00)
| 05:50:59 PM | Info | 1C5489FD392DCE00
| 05:50:59 PM | Info | ......COMMAND => Restoring Spotlight search indexing state on Mac OS X
| 05:50:59 PM | Info | /Volumes/Mac OS X:
| 05:50:59 PM | Info | Indexing enabled for volume.
| 05:50:59 PM | Info | Indexing enabled on Mac OS X
| 05:50:59 PM | Info | ...ACTION: Preparing Mac OS X
| 05:50:59 PM | Info | ......COMMAND => Enabling permissions on Mac OS X
| 05:50:59 PM | Info | Refreshing Disk Arbitration ...
| 05:50:59 PM | Info | ......COMMAND => Verifying that permissions are enabled for Mac OS X
| 05:50:59 PM | Info | Permissions on '/Volumes/Mac OS X' are enabled.
| 05:50:59 PM | Info | ......COMMAND => Verifying that Mac OS X ACL support matches UNTITLED
| 05:50:59 PM | Info | ...ACTION: Preserving Spotlight state on Mac OS X
| 05:50:59 PM | Info | ......COMMAND => Disabling Spotlight search indexing on Mac OS X
| 05:50:59 PM | Info | PHASE: 2. Copy Files
| 05:50:59 PM | Info | ...ACTION: Copying files from UNTITLED to Mac OS X
| 05:50:59 PM | Info | ......COMMAND => Cloning UNTITLED to Mac OS X
| 05:51:00 PM | Info | Copying copy files using script: /Users/scoomey/Library/Application Support/SuperDuper!/Copy Scripts/Standard Scripts/Backup - all files.dset
| 05:51:00 PM | Info | Loading 19 commands from copy script /Applications/SuperDuper!.app/Contents/Resources/Copy Scripts/Exclude system temporary files.dset
| 05:51:00 PM | Info | Loading 6 commands from copy script /Applications/SuperDuper!.app/Contents/Resources/Copy Scripts/Exclude system cache files.dset
| 05:51:00 PM | Info | Loading 1 commands from copy script /Applications/SuperDuper!.app/Contents/Resources/Copy Scripts/Exclude Norton FileSaver files.dset
| 05:51:00 PM | Info | Loading 2 commands from copy script /Applications/SuperDuper!.app/Contents/Resources/Copy Scripts/Exclude Spotlight search index.dset
| 05:51:00 PM | Info | Loading 0 commands from copy script /Users/scoomey/Library/Application Support/SuperDuper!/Copy Scripts/Standard Scripts/Backup - all files.dset
| 05:51:00 PM | Info | /
| 05:51:03 PM | Info | /usr
| 05:52:36 PM | Info | /.vol
| 05:52:36 PM | Info | Ignoring /.vol
| 05:52:36 PM | Info | /Applications
| 05:58:54 PM | Info | /.Trashes
| 05:58:54 PM | Info | /.Spotlight-V100
| 05:58:54 PM | Info | Ignoring /.Spotlight-V100/.journalHistoryLog
| 05:58:54 PM | Info | Ignoring /.Spotlight-V100/.store.db
| 05:58:54 PM | Info | Ignoring /.Spotlight-V100/ContentIndex.db
| 05:58:54 PM | Info | Ignoring /.Spotlight-V100/_rules.plist
| 05:58:54 PM | Info | Ignoring /.Spotlight-V100/store.db
| 05:58:54 PM | Info | /private
| 05:58:57 PM | Info | Ignoring /private/var/db/volinfo.database
| 05:58:57 PM | Info | Ignoring /private/var/db/BootCache.playlist
| 05:59:00 PM | Info | Ignoring /private/var/run
| 05:59:00 PM | Info | Ignoring /private/var/tmp/mds
| 05:59:00 PM | Info | Ignoring /private/var/tmp/44c5375df1cdf
| 05:59:00 PM | Info | Ignoring /private/var/vm
| 05:59:00 PM | Info | /sbin
| 05:59:00 PM | Info | /Library
| 06:06:41 PM | Info | /dev
| 06:06:41 PM | Info | /Network
| 06:06:41 PM | Info | /System
| 06:16:32 PM | Info | Ignoring /System/Library/Extensions.kextcache
| 06:16:32 PM | Info | /Users
| 06:27:10 PM | Info | /Volumes
| 06:27:10 PM | Info | Ignoring /Volumes/Mac OS 9
| 06:27:10 PM | Info | Ignoring /Volumes/Mac OS 9 1
| 06:27:10 PM | Info | Ignoring /Volumes/Mac OS X
| 06:27:10 PM | Info | Ignoring /Volumes/UNTITLED
| 06:27:10 PM | Info | /automount
| 06:27:10 PM | Info | /bin
| 06:27:10 PM | Info | /cores
| 06:27:10 PM | Info | Ignoring /.hotfiles.btree
| 06:27:10 PM | Info | Ignoring /Desktop DB
| 06:27:10 PM | Info | Ignoring /Desktop DF
| 06:27:10 PM | Info | Ignoring /mach
| 06:27:10 PM | Info | Ignoring /mach.sym
| 06:27:10 PM | Info | Evaluated 340931 items occupying 18.53 GB (74313 directories, 263128 files, 3490 symlinks)
| 06:27:10 PM | Info | Copied 415121 items totaling 18.46 GB (74298 directories, 263037 files, 77786 symlinks)
| 06:27:10 PM | Info | Cloned 18.46 GB of data in 2170 seconds at an effective transfer rate of 8.71 MB/s
| 06:27:10 PM | Info | PHASE: 3. After Successful Copy
| 06:27:10 PM | Info | ...ACTION: Making Mac OS X bootable
| 06:27:10 PM | Info | ......COMMAND => Blessing OS X System Folder
| 06:27:12 PM | Info | Successfully blessed Mac OS X folder on Mac OS X
| 06:27:12 PM | Info | ......COMMAND => Blessing OS 9 System Folder
| 06:27:12 PM | Info | Did not bless Mac OS 9 System Folder on Mac OS X because it does not exist.
| 06:27:12 PM | Info | ...ACTION: Restoring Spotlight state on Mac OS X
| 06:27:12 PM | Info | ......COMMAND => Restoring Spotlight search indexing state on Mac OS X
| 06:27:13 PM | Info | /Volumes/Mac OS X:
| 06:27:13 PM | Info | Indexing enabled for volume.
| 06:27:13 PM | Info | Indexing enabled on Mac OS X
| 06:27:13 PM | Info | PHASE: 4. And Finally...
| 06:27:13 PM | Info | ...ACTION: Setting Mac OS X as Startup Disk
| 06:27:13 PM | Info | ......COMMAND => Setting startup disk to Mac OS X
| 06:27:14 PM | Error | Can't find IOService for disk1s9
0

dnanian
08-13-2006, 08:15 PM
Hm -- the indication here is that the drive itself can't be booted from at all (even though we've got it set up as bootable). Have you tried to install Tiger to it directly, to see if that will boot?

If that works, how exactly is this drive installed/attached/etc?

ArsMoriendi
08-13-2006, 08:23 PM
Hmm. Interesting. I'll try to install Tiger fresh now onto the partition the disk is 2 partitions (80GB for OSX and 30 for OS9), I'm trying to install to the X partition. I'll publish the results asap.

ArsMoriendi
08-13-2006, 09:04 PM
Fresh install of Tiger to the target partition worked. Now I'll attempt to clone the source disk again.

Any ideas?

ArsMoriendi
08-13-2006, 10:05 PM
Update. I've again done a full duplication of the source disk to the target disk and have had the same result. Everything copies successfully, but the disk can't be set as the startup disk. Same error as before: "Can't find IOService for disk1s9". Strange thing is the target disk is actually /dev/disk1s10

As noted above, a fresh Tiger install worked flawlessly.

Here's the setup of the disk:

Source disk: 40GB 1 partition. (/dev/disk0)
Dest. disk: 120GB 2 partitions:

80GB Case-sensitive journaled HFS+ at /dev/disk1s10
30GB Journaled HFS+ at /dev/disk1s12 (Will be an OS9 part.)


Any ideas are greatly appreciated!

dnanian
08-13-2006, 10:25 PM
Well, the command we use to do this is quite simple:

bless -folder "/Volumes/Mac OS X/System/Library/CoreServices" -save9 -label "Mac OS X" -setBoot

We never make use of the device ID: that's being used by OSX itself. (You can see the exact command by Cmd-clicking the title bar of the failed log, and look in the Logs folder that'll appear: the paired .offendingCommand file contains the exact failed command... but the error is from this.)

If you run that in Terminal after the copy with SD, does it work?

ArsMoriendi
08-13-2006, 11:13 PM
Hmm. I see the failed attempt in the offendingCommand log. So, giving it a manual try I got the error:


power-mac-g4:~ scoomey$ sudo bless -folder "/Volumes/Mac OS X/System/Library/CoreServices" -save9 -label "Mac OS X" -setBoot
Can't find IOService for disk1s9
Could not determine if partition needs booter
Error while updating booter for /dev/disk1s10
Can't find IOService for disk1s9
Could not determine if partition needs booter
Can't get Open Firmware information
Can't set Open Firmware


I tink there is something truly screwy happening with this drive. The error is referencing disk1s9, and this partition does not even exist:


power-mac-g4:/dev scoomey$ ls -l /dev/disk1s*
br--r----- 1 root operator 14, 12 Aug 13 21:12 /dev/disk1s1
brw-r----- 1 root operator 14, 20 Aug 13 21:12 /dev/disk1s10
brw-r----- 1 root operator 14, 21 Aug 13 21:12 /dev/disk1s12
br--r----- 1 root operator 14, 13 Aug 13 21:12 /dev/disk1s2
br--r----- 1 root operator 14, 14 Aug 13 21:12 /dev/disk1s3
br--r----- 1 root operator 14, 15 Aug 13 21:12 /dev/disk1s4
br--r----- 1 root operator 14, 16 Aug 13 21:12 /dev/disk1s5
br--r----- 1 root operator 14, 17 Aug 13 21:12 /dev/disk1s6
br--r----- 1 root operator 14, 18 Aug 13 21:12 /dev/disk1s7
br--r----- 1 root operator 14, 19 Aug 13 21:12 /dev/disk1s8


This disk *used* to be my main linux disk as of about a week ago. I've since fomatted it twice to put OSX on there (via SuperDuper). Maybe this is some phantom partition left over from Linux that OSX can't format??

Stumped!

dnanian
08-13-2006, 11:20 PM
Yeah, there's definitely something wacky going on here... but you can see why we're having trouble! :)

I assume you've tried totally redoing the partition table for the drive?

ArsMoriendi
08-14-2006, 01:48 PM
found the issue! Not sure if this is a bug or not, but when I formatted the disk, Apple's disk utility didn't create the APPLE_BOOT partition. I formatted at least 3 or 4 times and it was never created. Then after one more reformat, the magic boot partition was created. Whodathunkit?

Anyhow, a subsequent clone worked absolutely flawlessly, thanks for all your help. Look forward to registering soon. :)

dnanian
08-14-2006, 01:52 PM
I wonder why it didn't create it... I also didn't think you needed an HFS+ wrapper in most cases. Weird... but I'm glad you're set.