|
|
One Button Booting from Classic to MacOS X Last week, you taught your Mac to look for instructions at boot time from a text file on the hard disk, then based on which key was held down the computer booted MacOS 9 or MacOS X. In today's updated tutorial, you will learn how to pick any OS (even Linux) from any partition on the internal hard disk by holding a key. Let's start by looking at the expanded Bootinfo.txt file listed below. Several more options have been added:
There are now 5 startup options:
You can add as many options as you like, but each if.. else series must be accompanied by an additional dup (line 5) and a then near the end. If you want your default OS to be MacOS X, just make sure it's the last line. Think of the Bootinfo.txt file as a bunch of Lego blocks. You can move them around and change the order as long as you stick to the general format:
So how do you find the key codes? Look at the letter 'X'. It's code is 3 + c@ 10. Use the table below to find the other letters.
Caveats: Currently, I cannot find a way to boot from another hard disk. I have also totally glossed over how this ties-in with PPC/Linux, so I recommend Linux users read these iMacLinux and PenguinPPC.org articles. George Krueger, well know for his iTunes skins, writes with the following request: "I was just reading through your two articles on boot scripts. My question is, could you do this so that it prompts you to choose? It would be nice to have it come up and prompt you 'Press X for OSX or 9 for Classic', or something like that. Then other people wouldn't have to know what your special boot keys are." Well, I have a solution courtesy of SuSE Linux 7.3. This script you can download is more complex than what is covered in the tutorial, and I must admit that I do not understand exactly everything that takes place in it, but if you have successfully completed the previous tutorial, it should be possible for you to modify the more complex script to suit your needs.
|
|||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||
Maintained by the Staff of ResExcellence. This entire site ©1997-2006 ResExcellence
Privacy Statement? Sure we gotta Privacy Statement.
[an error occurred while processing this directive]