Login  •  Register


The time is now: Sat Nov 25, 2017 4:03 am

Emaculation wiki  •  Delete all board cookies



Post new topic  Reply to topic Page 1 of 1 [ 4 posts ]
Print view Previous topic  |  Next topic
Author Message
PostPosted: Wed Aug 09, 2017 12:20 pm 
Offline
Forum All-Star

Joined: Tue Oct 14, 2008 12:12 am
Posts: 762
I know how to create an HFS+ disk image in OS X using hdiutil. Is there a way to initialize the disk from the command line, so that OS 9 under SheepShaver will NOT display the "Initialize disk" dialog when the disk is first mounted?


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Wed Aug 09, 2017 12:59 pm 
Offline
Expert User
User avatar

Joined: Thu Feb 09, 2006 10:24 pm
Posts: 4837
Location: Amsterdam, Netherlands
Doesn't hdiutil create compressed image files by default? Did you make sure the image will be read/write (-type UDRW)?


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Wed Aug 09, 2017 1:19 pm 
Offline
Forum All-Star

Joined: Tue Oct 14, 2008 12:12 am
Posts: 762
The image is certainly r/w, because I can initialize it in SheepShaver and write files to it. What I'm trying to avoid is this step described in the setup guide, when SheepShaver first tries to add a disk.

Quote:
During startup, the system will encounter the newly created volume and will offer to initialize it. Give the volume an appropriate name (for instance MacOS9HD) and (for Mac OS 8.1 or later) choose Mac OS Extended for the format. Click to proceed with initializing the volume.


Here the wiki is describing the disk created in order to install Mac OS, but the same dialog appears for any newly-created disk, and that dialog is what I'm trying to avoid if possible, because it tends to terrify non-expert users.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Wed Aug 09, 2017 1:33 pm 
Offline
Forum All-Star

Joined: Tue Oct 14, 2008 12:12 am
Posts: 762
Apologies for wasting bandwidth. I found the answer to my own question by searching the forum for the correct command. What I needed to add was:

-layout SPUD -type UDIF -nospotlight

and that caused the disk to be created and to appear on the desktop without the initialization prompt.


Top
 Profile  
Reply with quote Post a reply  
Display posts from previous:  Sort by  
Post new topic  Reply to topic Page 1 of 1 [ 4 posts ]


Who is online

Users browsing this forum: No registered users and 21 guests


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
 

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group