Unix disk can't be found- El Capitan

About SheepShaver, a PPC Mac emulator for Windows, MacOS X, and Linux that can run System 7.5.3 to MacOS 9.0.4.

Moderators: Cat_7, Ronald P. Regensburg, ClockWise

Post Reply
PhillyB
Space Cadet
Posts: 6
Joined: Tue Sep 20, 2016 10:07 pm

Unix disk can't be found- El Capitan

Post by PhillyB »

Hi there,

Great programme- thank you!

Had it running great before upgrade to El Capitan- on 2014 version of Shaver.
Now, after upgrade, no unix disk- "cannot be found" error message.
Otherwise seems to be opening OK.

Tried resetting route to shared folder- in
SShaver preferences-
each time I save, new items not saved.

Any suggestions gratefully received.

PhillyB
User avatar
adespoton
Forum All-Star
Posts: 4227
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Unix disk can't be found- El Capitan

Post by adespoton »

If you make sure all SheepShaver instances are quit, open the preferences file in a text editor and manually change the path to a folder with known read/write permissions for the account running SheepShaver, then fire up SS again, does it work?

I've had no issues with Unix disk under El Cap for SS or BII -- I use /Users/Shared/Documents as my shared folder.

If you were sharing a folder under Yosemite or earlier that is a protected folder under El Capitan, SheepShaver won't be able to write to it, which will cause it to fail.
PhillyB
Space Cadet
Posts: 6
Joined: Tue Sep 20, 2016 10:07 pm

Re: Unix disk can't be found- El Capitan

Post by PhillyB »

Thx for your reply- adespoton!

Sheep shaver worked fine for me in previous OSX.

When I first tried Sheepshaver in El Capitan- it would crash during OS9 start-up.

The preferences editor downloaded from Emaculation link (Version 1.0.1)
Download: http://www.xs4all.nl/~ronaldpr/sheepsha ... rPrefs.zip
doesn't seem to have a Save button- so I tried it but don't know how to store changes with that.

When I run Sheepsaver it opens and OS9 starts loading-
and a Disk First Aid Hard Disk check stalls load up until I press the "Done" button.
then the rest of OS9 loads.

So while start up is stalled after Disk First Aid- I can alter Sheepshaver preferences from
SheepShaver menu- esp Ignore Illegal Memory Access- and it loads- but no Unix.

I have tried every combo of shared folders, locations- and ensured that path is set to shard folder with permissions set to Read/Write for everyone/me/admin all the options- still no joy.

Any ideas greatly appreciated?
User avatar
24bit
Forum All-Star
Posts: 1424
Joined: Wed Nov 11, 2009 5:47 pm
Location: Germany

Re: Unix disk can't be found- El Capitan

Post by 24bit »

The Preferences Editor auto saves its settings on closing.
Maybe try a custom created folder in the main directory like /Classic for disk images and file sharing.
I´m doing this for years and never had issues with a lost "Unix" folder up to 10.11.6.

The disk first aid volume checking is normal.
The feature is activated by default to repair things when the vintage Macs crashed.
(Which they did quite frequently as many here may confirm.)
You may uncheck the disk repair in Control panels - General Settings,
be sure to have bootable clones of your SheepShaver disk images in that case.
PhillyB
Space Cadet
Posts: 6
Joined: Tue Sep 20, 2016 10:07 pm

Re: Unix disk can't be found- El Capitan

Post by PhillyB »

The Pref Editor doesn't seem to save prefs on closing-
If I set correct prefs in Editor- SS crashes during OS9 launch up-
after pressing 'Done' on Disk First Aid.

If I set prefs correctly in SheepShavr Preferences form menu- while
OS9 startup is paused due to dos First AId- it complete OS9 start up.
So correct prefs not getting saved by Pref editor- but is from SS prefs form menu
during startup.

Advice is saying SS prefs only apply after you quit and restart- so this doesn't make sense.
Confused.
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: Unix disk can't be found- El Capitan

Post by Ronald P. Regensburg »

Prefs are read by SheepShaver when it is launched. When you edit prefs during startup (I would advise against doing that) the changed settings are applied the next time SheepShaver is launched. Editing the Unix (shared folder) path while SheepShaver is running may confuse SheepShaver. Usually best to quit and relaunch SheepShaver immediately after making the changes. And do not run the stand-alone prefs editor and SheepShaver itself at the same time.

Did you manage to get the settings saved properly now, or still not?
Last edited by Ronald P. Regensburg on Wed Sep 21, 2016 10:05 am, edited 2 times in total.
Reason:  
User avatar
adespoton
Forum All-Star
Posts: 4227
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Unix disk can't be found- El Capitan

Post by adespoton »

If not... did you close SheepShaver by going to the Finder and selecting Special->Shutdown ? Not doing this will cause the disk scan on next boot, and may not write the prefs? Just guessing on that.

If you continue to have issues, the thing to do is ensure SS is closed, the editing app is closed, and then open the terminal app and type

open -t ~/.sheepshaver_prefs

and edit them manually.
PhillyB
Space Cadet
Posts: 6
Joined: Tue Sep 20, 2016 10:07 pm

Re: Unix disk can't be found- El Capitan

Post by PhillyB »

Hi Ronald and adespoton,

Thx for your replies- and apologies for the delay in replying!

Ronald-
I have tried to quit after changing SheepShaver prefs-
while OS9 is hung on Disk First Aid-

If I Quit form ShSh menu- nothing happens. I tried Force Quitting-
prefs wren;t said. I then pressed DONe after First Aid Kit- hung,
and then saved from within OS9- prefs not saved.

Adespoton-
I tried Terminal code- initially is did a 'you don't have permission' warning-
so I repaired those and did Disk First Aid- and then Terminal instructions worked-
but once text edit file was open I wasn't certain what to edit and how to save it.

I did my best- and saved the Textedit file- but when I reopened with Terminal-
the changes weren't saved.

Can you advise what the prefs should be in the text edit doc opened by Terminal-
my Unix file root should read Users/Shared/ or Users/Text/

These are the current Sheep Shaver prefs form the text edit file...

disk /Applications/Classic OS9 stuff+/Classic.app/COI.app/.Classic.dmg
rom /Applications/Classic OS9 stuff+/Classic.app/COI.app/.old.rom
keycodefile /Applications/Classic OS9 stuff+/Classic.app/COI.app/.BasiliskII_keycodes
rom COI.app/.old.rom
keycodefile COI.app/.BasiliskII_keycodes
disk /Users/Shared/400Meg.dmg
disk /Users/Shared/800Meg.dmg
disk /Users/Shared/1200Meg.dmg
disk /Users/Shared/MyOldHD.dmg
disk /Users/Shared/COIHD.dmg
extfs /Users/Shared/
screen win/1024/768
windowmodes 0
screenmodes 0
seriala
serialb
bootdrive 0
bootdriver -62
ramsize 268435456
frameskip 0
gfxaccel true
nocdrom false
nonet false
nosound false
nogui true
noclipconversion false
ignoresegv false
jit true
jit68k false
keyboardtype 5
ether slirp
keycodes true
mousewheelmode 1
mousewheellines 3
dsp /dev/dsp
mixer /dev/mixer
ignoresegv false
idlewait false
User avatar
adespoton
Forum All-Star
Posts: 4227
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Unix disk can't be found- El Capitan

Post by adespoton »

PhillyB wrote: If I Quit form ShSh menu- nothing happens. I tried Force Quitting-
prefs wren;t said. I then pressed DONe after First Aid Kit- hung,
and then saved from within OS9- prefs not saved.
OK; with SheepShaver, you should never be using the Quit menu item. Quitting is done from within the guest OS by selecting Special->Shut Down. Doing it any other way can cause corruption of your guest OS disk, and force quitting will prevent any preferences changes from being saved.

Unless something has crashed, you should ALWAYS use Special->Shut Down to quit both SheepShaver and Basilisk II.
PhillyB wrote: I tried Terminal code- initially is did a 'you don't have permission' warning-
so I repaired those and did Disk First Aid- and then Terminal instructions worked-
but once text edit file was open I wasn't certain what to edit and how to save it.

I did my best- and saved the Textedit file- but when I reopened with Terminal-
the changes weren't saved.

Can you advise what the prefs should be in the text edit doc opened by Terminal-
my Unix file root should read Users/Shared/ or Users/Text/

These are the current Sheep Shaver prefs form the text edit file...

disk /Applications/Classic OS9 stuff+/Classic.app/COI.app/.Classic.dmg
rom /Applications/Classic OS9 stuff+/Classic.app/COI.app/.old.rom
keycodefile /Applications/Classic OS9 stuff+/Classic.app/COI.app/.BasiliskII_keycodes
rom COI.app/.old.rom
keycodefile COI.app/.BasiliskII_keycodes
disk /Users/Shared/400Meg.dmg
disk /Users/Shared/800Meg.dmg
disk /Users/Shared/1200Meg.dmg
disk /Users/Shared/MyOldHD.dmg
disk /Users/Shared/COIHD.dmg
extfs /Users/Shared/
screen win/1024/768
windowmodes 0
screenmodes 0
seriala
serialb
bootdrive 0
bootdriver -62
ramsize 268435456
frameskip 0
gfxaccel true
nocdrom false
nonet false
nosound false
nogui true
noclipconversion false
ignoresegv false
jit true
jit68k false
keyboardtype 5
ether slirp
keycodes true
mousewheelmode 1
mousewheellines 3
dsp /dev/dsp
mixer /dev/mixer
ignoresegv false
idlewait false
...and here we see the biggest part of the problem. You're using COI, not SheepShaver as supported by these forums. You're going to run into all sorts of problems we can't help you with here. I'm thinking that SIP in El Cap and Sierra may conflict with parts of how COI works. My suggestion is to move your images and settings out of COI, and use the SheepShaver setup instructions on this website to help you set up a real SheepShaver environment that isn't being managed by a third party wrapper.
PhillyB
Space Cadet
Posts: 6
Joined: Tue Sep 20, 2016 10:07 pm

Re: Unix disk can't be found- El Capitan

Post by PhillyB »

Many apologies to you both- you are right-
I was using COI- it had been a long time since I installed this.

Thanks for your patient and helpful support- I now understand what is happening!!!!
I have now got COI working for El Capitan- the advice hear on prefs has been v useful.

All Best Wishes,

Phil
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: Unix disk can't be found- El Capitan

Post by Ronald P. Regensburg »

As far as I am aware, COI does not interfere with SIP.

The problem here is that it is impossible to change preferences settings in COI. Each time COI is launched it will overwrite the prefs file with its own settings. The shared folder (Unix volume) in COI is always the /Users/Shared/ folder. When the Unix volume does not appear on the MacOS desktop, even after relaunch of COI, there may be a (permissions?) problem with that folder.

Here is a procedure to move your disk images from COI and set up a regular SheepShaver environment:
http://www.emaculation.com/forum/viewto ... 311#p49311
PhillyB
Space Cadet
Posts: 6
Joined: Tue Sep 20, 2016 10:07 pm

Re: Unix disk can't be found- El Capitan

Post by PhillyB »

Hi Ronald-

I found a way to change prefs in COI-
essentially there is a file in the packages that contains SS prefs within COI.

You were right though-
that file was overruling the other changes I made each time.

I am sure your process works and is better-
but this way I got access to the OS9 software I needed quickly-
and got it working this way.

I can post a link/and/or detailed instructions if you are interested,
or you think it might help others- but I don't want to disrespect this forum AT ALL!!

I do massively appreciate you and adespoton's support-
and I can see on the forum how much support you give to many others.

A real help to many people!!!

All Best,

Phil
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: Unix disk can't be found- El Capitan

Post by Ronald P. Regensburg »

Yes, I know. The prefs template is the file "hih1" inside the COI.app package (black icon) inside the COI ChubbyBunny.app package (or the Classic.app package in a modified version of COI). The hih1 file can be edited in a text editor. Good you found it.

But it will still be COI. A regular SheepShaver setup is much more flexible.
Post Reply