Triple Boot Notes


Subject: Triple Boot Notes
From: John Martellaro (marty104@conen.net)
Date: Mon Oct 08 2001 - 23:40:25 MDT


Here are my notes on the triple boot, Mac OS 9, X, YDL. It's rather
detailed because it was originally intended for a different audience.
But it has the basics.

=======================================================

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Procedure to set up Yellow Dog Linux and Mac OS X/9 on
a single drive. (TiBook)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
John Martellaro - marty104@conen.net
8 October 2001

References:

Basics.
http://www.yellowdoglinux.com/products/guide_to_install.shtml

YDL multiboot. Has typos. Not very complete, but it got me started.
http://www.yellowdoglinux.com/support/solutions/multiboot.shtml

Separate Swap space in Mac OS X. Optional.
http://homepage.mac.com/WebObjects/FileSharing.woa/
wa/default?user=andymoraitis&fpath=OSX%20Hacks&templatefn=FileSharing.html

Requirements:

1. Mac OS 9.2.1 Software install CD
2. Mac OS X 10.0.3 install CD
3. Mac OS X 10.1 update CD
4. Mac OS X 10.1 Developer Tools (optional)
5. Yellow Dog Linux 2.0 install CD.

I have used the name "Deneb" for the Mac OS X
partition. Pick your own name.

===================================
Section I.

1. Insert the Mac OS 9.2.1 Software install CD.
2. Reboot the computer while holding the "C"
    key down.

3. When you see the array of repeated CD images on
    the desktop, stop holding down the "C" key.

4. On the CD is a utilities folder. Find "Drive Setup."

5. Select the drive to work with. For the TiBook, there is
    only one drive, of type "ATA". (The "ATAPI" drive is
    the CD ROM drive.)

6. Select Initialize.

7. Select Custom Setup.

8. We are going to create four* partitions at this point with
    the Drive Setup program. You can drag the blocks that
    represent partitions or enter sizes directly.

    * Assuming you want to use Andy Moratis' SWAP technique.
      Otherwise, just create the first three partitions.

Assuming a 20 GB drive...

    Description Filetype For Mac Name Size
    ---------------------------------------------------------
    partition # 1 HFS+ Mac OS 9.2 MacOS9 5.0 GB
    partition # 2 unalloc YDL - 5.5 GB
    partition # 3 HFS+ Mac OS X root Deneb 9.5 GB
    partition # 4 HFS+ Mac OS X swap SWAPX 256 MB

    Note 1: HFS+ means HFS "extended"
    Note 2: Partition # 2 is unallocated space, no file system,
             that will be formatted and set up by the YDL
             installer later.

9. When finished with the initialization, use CMD-Q. You'll
    see three volumes on the desktop: untitled, untitled3, and
    untitled4. Click on the volume name, pull the mouse away,
    and rename them MacOS9, Deneb, and SwapX
    respectively. Select the volume icon and use CMD-I to
    verify intended sizes.

10. When finished partitioning, go back to the root of the CD
     select "Mac OS install", and install Mac OS 9.2.1 on the
     first partition, "MacOS9", so that the computer is bootable.

11. Before hitting the "Start" button, select Custom install.
     If desired, de-select "Personal Web Sharing" (this disables the
     Mac OS 9 Webserver) and select Network Assistant
     client.

12. When done, restart the Mac from the Special Menu.
     Hold down the (left) mouse button at restart, and
     the CD will eject. There may be a long pause after
     the desktop comes up. Be patient. Then a
     "Mac OS Setup Assistant" will step you through the system setup.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
At this point, we're going to leave Mac OS X till the end and
go ahead with Yellow Dog Linux install.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Section II.

1. Eject the Mac OS 9.2.1 Software install CD if it did not eject
    at reboot.

2. Insert the YDL 2.0 Install CD. Restart the Mac holding down
    the "C" key. When you see a black screen, with "Welcome to the YDL 2.0
    Installer", let go of the "C" key. A lot of text will scroll by.

3. By default, the system will launch the GUI installer.
4. Select

      a. Lincense agreement.
      b. English as language.
      c. "Default" installation.
      d. US keyboard.

5. Select the drive to install on, which should already
    be highlighted. Press Edit.
    You should see this, with MB numbers approximate.

    /dev/hda9 untitled hfs 4969 MB
    Unused free none 4969 MB
    /dev/hda11 untitled3 hfs 8864 MB
    /dev/hda12 untitled4 hfs 274 MB

    and possibly
    Unused free none a few KB

    Notice that YDL does _not_ "see" the names you
    gave in Mac OS to partitions untitled(x).

7. From Section I.8 we created a partition called free. This is
    where YDL 2.0 will go. But it requires three partitions
    of its own here.

8. Select the Unused partition. It will highlight in yellow.

9. Select "Add" and create a 10 MB partition. Enter a size of 10M,
    and make the type: "Boot Loader" and press OK.

10. Select the big unused partition, then select "Add" and
    create a 256 MB SWAP partition. Enter a size of
    256M and make the type: "Linux swap" and press OK.

11. Select the big unused partition, then select "Add".
     This will be the root partition. Select "Max" for
     the size and make the type: "Linux" and press OK.

12. Select "Save". When done, the disk should look like this,
     except for the Notes column.

                                                       Notes
    /dev/hda9 untitled hfs 4969 MB MascOS9
    /dev/hda10 untitled hfs 10 MB boot
    /dev/hda13 swap linux-swap 256 MB
    /dev/hda14 untitled ext2 4703 MB YDL root
    /dev/hda11 untitled3 hfs 8864 MB Mac OS X
    /dev/hda12 untitled4 hfs 274 MB SwapX

    and possibly
    Unused free none a few KB

13. Click "Save" to partition the Unused space for YDL.

14. Continue on with the installer and select "Development
     Workstation" or "Everything". Everything requires 2GB
     alone, so that's why we allowed nearly 5 GB total.
     Install takes about 20 minutes.

13. Continue with network setup, time zone, account creation,
     and X11 config. You will normally select "static IP address."

     Note 1: Terrasoft recommends 16 bit color. It's plenty and
             runs faster than 24 bit color.

     Note 2: Select from list of monitors. The TiBook entry
             is in there. IMPORTANT: Deselect all screen resolutions except
             1152 x 768 for TiBook. Otherise, the X Window server will
             not work upon reboot.

14. When done with the install, the installer will reboot the
     TiBook. Check out the networking with ping and a Web browser.

15. Meanwhile, using /sbin/parted, here is what the disk should
     look like. You must su to root to execute the "parted" command.

> /sbin/parted /dev/hda print

Disk geometry for /dev/hda: 0.000-19077.187 megabytes
Disk label type: mac
Minor Start End Filesystem Name Flags
1 0.000 0.031 Apple
2 0.031 0.057 Macintosh
3 0.058 0.093 Macintosh
4 0.094 0.120 Macintosh
5 0.120 0.156 Macintosh
6 0.156 0.253 Macintosh
7 0.254 0.503 Macintosh
8 0.504 0.753 Patch Partition
9 0.754 4969.620 hfs untitled
10 4969.621 4979.621 hfs untitled boot
13 4979.621 5235.621 linux-swap swap swap
14 5235.622 9938.486 ext2 untitled
11 9938.487 18802.687 hfs untitled 3
12 18802.688 19077.176 hfs untitled 4

16. su to root if not there already, then enter
    /sbin/shutdown -r now

17. As soon as you hear the chime, hold down the OPTION key.
18. Select MacOS9
19. Eject the YDL 2.0 CD.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Now we're going to install Mac OS X.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Section III.

1. Insert the Mac OS X 10.0.3 install CD and restart the computer.
    Hold down the "C" key!

2. Agree to the license.

3. Select "Deneb" as the install disk. MacOS9 will be selectable
    because one can overlay X and 9, but we don't want to do that.
    Install takes about 20 minutes.

4. When the installer is done, the Mac will reboot by itself
    in 30 seconds. Or you can select "Restart".

5. Watery intro! Select United States and U.S. keyboard.
    Quit out of the registration with CMD-Q and select "Skip".

6. Enter the Administrator's name and password. On Mac OS X,
    this user is NOT automatically root. DO NOT select ROOT
    as the administrator name. Select your own name.

7. Mac OS X will launch into the desktop by default. Don't worry,
    the temporary login screen is turned off. No problem.

8. Eject the Mac OS X 10.0.3 CD and insert the 10.1 update.
    Eject with: select + CMD-E or drag to the eject icon in the dock.

9. Select "Restart" from the blue Apple menu.

10. Accept the license agreement and select "Deneb" as the
     partition to update. Note that Mac OS 9 is dimmed because
     there is no Mac OS X there to update.

11. Select Easy Install.

12. The update takes about 20 minutes.

13. Eject the Mac OS X 10.1 CD and insert the Developer Tools CD.

14. Open it and double click the developer.mpkg file.

15. Click the lock to enter the admin password.

16. Click continue and agree to the license. Select "Deneb".

17. When the developer tools have been installed, quit the
     installer and eject the CD.

18. To enable root on the Mac OS X command line:

     1) Make sure you are logged onto Mac OS X as the administrator.
     2) Launch the NetInfo Manager.app from /Applications/Utilities
     3) From the menu items, select Domain->Security->Authenticate.
     4) Enter the admin password.
     5) From the menu items, select Domain->Security->Enable Root user
     6) Select a root password
     7) Root is now enabled in the terminal window.

19. Goto the System Prefs -> Login -> Login Window Tab and
     de-select automatically login.

20. Install the .tcshrc file if you use tcsh.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Section IV.

Recovery. When we installed Mac OS X, we changed the default
boot partition. If YDL is launched by selecting the YDL icon
at boot with the OPTION key down, there will be problems.

1. First we must fix the /etc/yaboot.conf file.

2. Restart the computer with the OPTION key held down. This is
    an acceptable way to get into Mac OS 9 or X. But there is another
    step before YDL can run properly.

3. Select the YDL partition. It has a small penguin. Click
    the right arrow. You will come up in YDL, but it is not
    yet usable for networking.**

4. Log in and open a terminal window. su to root.
    Edit the file /etc/yaboot.conf

5. Make the start of the file look like this, based on our
    partition maps above:

        boot=/dev/hda10
        macos=/dev/hda9
        macosx=/dev/hda11

6. From now on, when you restart the computer,
    the ybin program will manage your startup
    process, giving options for Linux (l), Mac OS 9 (m)
    and Mac OS X (x).

** If YDL does not start from the ybin program, networking
seems to be disabled.

Recently, something changed. The TiBook defaults to X instead
of ybin. But if I hold down the OPTION key at boot and select YDL,
ybin executes first and launches YDL correctly. That is,
networking is enabled. I have no idea how this change
happened. If you figure it out, let me know!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Section V. Set up the SWAPX partition if desired according to the
instructions in the references above.

-- 
John Martellaro
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
QUANTUM THREADS:  http://www.applelinks.com/quantum
HOME PAGE:        http://www.martellaro.com/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"What does your choice of computer say about you?"



This archive was generated by hypermail 2a24 : Mon Oct 08 2001 - 22:51:32 MDT