Apple and Mac 68k Forum Forum Index Apple and Mac 68k Forum
...at myoldmac.net - since January, 24. 2005
 
  Home    FAQFAQ    SearchSearch    MemberlistMemberlist    UsergroupsUsergroups   RegisterRegister 
Creating HFS Disks and Images Under OS X 10.6 Leopard

 
Post new topic   Reply to topic    Apple and Mac 68k Forum Forum Index -> 68K Mac - E
View previous topic :: View next topic  
Author Message
Mac128k



Joined: 26 May 2009
Posts: 3

PostPosted: Wed Sep 16, 2009 7:52 am    Post subject: Creating HFS Disks and Images Under OS X 10.6 Leopard Reply with quote

In case you haven't heard, OS X 10.6 Leopard dropped write support for HFS disks and images leaving all of us vintage Mac-ers without the ability to support our habits under Apple's latest equipment. But ...

GOOD NEWS!

I was working with Wolf over at LEM's Vintage Mac forum and came up with an extremely simple way to copy HFS disks and images using Terminal. I was using a USB Zip drive, but I would think a USB floppy would work just as well.

Here's the procedure: Unmount the Zip drive using Disk Utility (don't eject), and images. Then type the following commands in Terminal:

Image to Zip:
$ dd if=/Zip.dmg of=/dev/disk2s1

Zip to Image:
$ dd if=/dev/disk2s1 of=/Zip.dmg

Obviously "Zip.dmg" is the name of the disk image. "/Zip.dmg" specifies the image in the root directory or internal hard disk. "disk2s1" is the name of the USB Zip drive. This can be found by mounting the Zip disk and typing $ mount in Terminal. You'll see something like this in the list of reported devices: "/dev/disk2s1 on /Volumes/Untitled (hfs, local, nodev, nosuid, read-only, noowners)" Alternatively, in Disk Utility, you can click on the mounted Zip disk and "Get Info". The first item in the list will be "Disk Identifier : disk2s1" Make sure you unmount before you attempt to make a copy. You can do the same thing with the disk images if you don't know where they are and don't want to just put them in the root HD. Just click on the disk image in Disk Utility and look for "Full Path : /Zip.dmg".

ERRORS: I received an Input/Output error report on both making the disks and images, but both seemed to mount and work properly under the OS X Finder as read only. I have not yet tested them with real Macs yet. The disk image attempted to boot under Mini vMac, but reported minor repairs were needed then was unable to create a desktop database. The original disk image from which the real Zip was made and then re-imaged, worked fine in Mini vMac. So I'm not sure what the problem is yet. Also, the blank ZIP disk had already been formatted with HFS standard, so I don't yet know if formatted in another file system (i.e. FAT, HFS+) if this will still work. However, the disk image seems to be a proper HFS image, as Snow Leopard confirms it as read only, and Mini vMac easily reads it, if not able to fully start up from it.

Please, everyone, start trying this with your ZIP and Floppy drives to accumulate some data. There's a solution here somewhere.

Now who wants to write a script to automate this for the rest of us?
Back to top
View user's profile Send private message Visit poster's website
Mac128k



Joined: 26 May 2009
Posts: 3

PostPosted: Fri Sep 18, 2009 6:26 am    Post subject: Disk Imaging Update Reply with quote

Lowendmac presciently covered this topic last year and confirms that "dd" works well with a USB floppy disk.

However, as it turns out, Snow Leopard's Disk Utility WILL create an HFS standard disk image from an external drive. Mount and highlight the HFS drive you want to create an image from. Under "File", "New", "Disk Image From (Select a Device)..." This produces a perfectly functional HFS disk image.

Presumably, Disk Utility must be able to mount the disk volume in question, so if Apple ever completely drops HFS, I would presume the option will no longer be possible in Disk Utility. I only tried this with a ZIP drive, but it would not image the drive itself, only the mounted partitioned volume. So this may or may not work differently with hard drives and floppies.

Also, there is a way to directly mount an external HFS drive under SheepShaver. More on that to come.
Back to top
View user's profile Send private message Visit poster's website
MacOS
Site Admin


Joined: 19 Jan 2005
Posts: 304
Location: Berlin, Germany

PostPosted: Mon Sep 21, 2009 1:40 am    Post subject: Reply with quote

Thank you for the informations!
Hopefully we always find a way to deal with the disk / image issues.
_________________
MacOS aka Oliver
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Apple and Mac 68k Forum Forum Index -> 68K Mac - E All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


1-bit Theme by www.myoldmac.net