Re: OS X to OS 9 restart script...
Re: OS X to OS 9 restart script...
- Subject: Re: OS X to OS 9 restart script...
- From: Bill Briggs <email@hidden>
- Date: Tue, 13 Nov 2001 21:18:13 -0400
At 7:36 PM -0500 13/11/01, J.B. Stewart wrote:
On 11/13/01 at 12:02 PM, John C. Welch <email@hidden> wrote:
On 11/09/2001 08:33, "Frank Linares" <email@hidden> wrote:
> Ok, so I want to make a simple script using AppleScript to tell my mac,
> running OS X 10.1 on partition 'one' to set the startup disk to OS 9.2.1
> on partition 'two'. I know this must be terribly simple, but... well,
> I'm an AppleScript virgin. I tried mocking around with the Editor, even
> recording, but nothing good came of it.
In 10.1, you could script Terminal to use the 'bless' command to do this.
john
John,
Could you please be just a bit more enlightening?
This doesn't work in Terminal OMM so neither does my script -
bless -folder9 /System Folder
Although the usage listing in Terminal makes it appear as if it would. Here's
the usage listing -
Usage: bless [options]
-bootinfo arg Path to a bootx.bootinfo file to be used as a BootX
-bootBlocks Set boot blocks if an OS 9 folder was specified
-noexec Show what would have been done, without causing
any changes
-folder arg Darwin/Mac OS X folder to be blessed
-folder9 arg Classic/Mac OS 9 folder to be blessed
-info arg Print out Finder info fields for the specified volume
-quiet Quiet mode
-plist Plist format when -info specified
-setOF Set Open Firmware to boot off this partition
-use9 If both an X and 9 folder is specified, prefer the 9 one
-verbose Verbose mode
I've not tried this, and someone please correct me if I'm wrong, but
as far as I know, blessing a folder isn't the same as setting the
volume to boot from. (I've got three partitons on this Mac all of
which have blessed system folders, only one of which boots unless I
change the startup disk.)
In the case of the command arg given in your post, that blesses the
folder, but doesn't set it as the volume to boot from (or I'd be very
surprised if it did). Surely you have to set the volume in the Open
Firmware. I'm pretty sure this is so. When I swap the drive (the
physical drive) in my PowerBook, which I do often lately since the X
stuff is on a different drive, I can't even boot on the 9.x drive at
all when I replace it. I have to reboot the X drive with a CD
selected as the startup disk, then shut down, swap drives, boot again
from the CD, then set the 9.x disk as startup disk. This speaks
Firmware to me. Otherwise it would just find the first blessed system
it came to on the disk. It's not able to find the volume it's looking
for and won't boot at all. I'd retry that command if I were you, and
use the -setOF option as well. That might get you where you want to
go.
- web