On Wed, Mar 06, 2002 at 07:26:49PM -0500, Peter R. Wood wrote:
> Ok, I tried with this setup, but it seems that whenever I installed OSX it
> fscked up my linux partition and I couldn't get back into Linux. Is there a
> certain order you have to do it in? I.E. do I need to boot off a MacOS CD
> and reformat using Drive Setup, then add the partitions with that, install
> linux, then install OSX, or do I do the partitioning in Linux, or what?

It shouldn't mess up your linux partition.  It probably will overwrite
the boot-device in Open Firmware.  You can fix that by doing the
following:

Boot with Apple+Option+O+F
Type:
setenv boot-device hd:n,\\:tbxi

Where n is the partition number your boot strap is on.

If you don't know what it is you can find out by doing the following in
OSX.  Bring up a terminal window (Terminal application).  Type the
following:
sudo pdisk /dev/disk0 -dump

When it asks for the password enter your Administrator password.

You'll get a list of your partitions.

Look for one who's type is Apple_Bootstrap.  The number to the left is
the number you need to replace n with above.

Hopefully it should work then.  If it doesn't and it really did hose
your linux partitions then you should install in this order.  OS9, OSX,
Linux.

Once you're back into linux you'll need to edit yaboot.conf to include
macosx.  You'll need lines like so:
macos=/dev/hda9
macosx=/dev/hda10

The 9 and 10 above are not the version numbers, but are the parition
numbers.  You should be able to see the name of the drives as you've
named them under MacOS 9/X so you can figure out which is which via (as
root under linux): pdisk -l /dev/hda

Once you've edited yaboot.conf just run (as root again):
/sbin/ybin -v

That will regenerate the bootstrap based upon /etc/yaboot.conf.

And from there you should be set.  Just whatever you do do *NOT* use the
Startup Control Panel under MacOS 9/X to change what you want to boot.
Just reboot and use the menu that will come up when you boot.

HTH

P.S. please reply on list so that the conversation can be archived and
is searchable for people who may be having these problems in the future.
I suspect this issue will crop up again especially as Mac OS X becomes
more and more common.

-- 
Ben Reser <[EMAIL PROTECTED]>
http://ben.reser.org

What difference does it make to the dead, the orphans, and the homeless,
whether the mad destruction is wrought under the name of totalitarianism
or the holy name of liberty and democracy? - Ghandi

Reply via email to