Linux dead after MacOS X installation

Eric D. yellowdog-general@lists.terrasoftsolutions.com
Mon Apr 1 05:44:01 2002


On 4/1/02 9:40 AM, "Ellen Kuchinka" <ekuchinka@mus.ch> wrote:
=20
> Dear list members
>=20
> maybe you had discussed that already.. but it happened abroad on my
> iBook
>=20
> I had to install McOS X  on my iBook.
> First it didnt succeed (couldnt write certain things), but after manuell
> installation MacOS X worked. Fine.
> But the Linux start up partition seems to be destroyed (it does start up
> directly into MacOS (9  or X) mode...). Bad.

That was easy... it was still sitting in my mail folder:

Re: YDL 2.1 & G3 B&W: Restoring yaboot parameters
on 17/3/02 14:08, Eric D. at liriodendron@mac.com wrote:

keywords: yaboot, B&W G3, Blue and White, open firmware, lost boot ability

Hi Bob, I also have a B&W G3/450 (n=E9e B&W G3/350 Rev 2) with three
partitions (X 10.1.3, 9.2.2, YDL 2.1) on my 12 GB IDE drive and had the sam=
e
problem -- I lost the ability to boot into the yaboot boot menu. Here is a
copy-and-paste of hints and tips that I used to get my B&W to give me back
the ability to use the yaboot (even if I rarely run Linux it's awesome b/c =
I
can choose which OS to use on boot (X or 9 (or YDL on those days I feel lik=
e
procrastinating))).

My solution:
(1) boot into Open Firmware (cmd-opt-O-F)
(2) to boot a device temporarily type: "boot hd:#,ofboot.b" so in my case
that would be boot hd:9,yaboot since yaboot is on partition (?) with id 9
(3) to set boot partition permanently to id 9:
setenv boot_device hd:9,ofboot.b

Eric.

on 28/2/02 9:08, Jonathan Singer at jsinger@genome.wi.mit.edu wrote:
> Eric D. wrote:=20
>> (6) If I set a Mac OS partition as a startup disk I lose the ability to =
boot
>> the Linux partition. How can I reset the Linux parition as a startup
>> partition (with yaboot... don't quite understand how that works but I
>> presume it's the boot loader).
>=20
> I have this too. (It has to do with "blessing" of partitions.) My fix is =
to
> boot into Open Firmware (cmd-opt-O-F) and do a 'boot hd:x,yaboot' where x=
 is
> your root partition number. (Or is the boot partition number? I forget.) =
Run
> ybin as root once you've logged in.

From: Ben Stanley <bds02@uow.edu.au>
> Date: Tue, 05 Mar 2002 14:59:40 +1100
> Subject: Re: Open Firmware, "blessing" partitions & restarting
>=20
> The yaboot documentation says that the boot partition should not ever be
> mounted, especially by OS X, because it 'un-blesses' it.
>=20
> You should boot Linux off the CD (see the engineer's notes at the bottom
> of the Yellow Dog installation instruction page) and then re-run ybin to
> fix this.
>=20
> And, btw, I've had problems with the yaboot that comes with ydl 2.1. I
> recently upgraded to the more recent one in the yellow dog updates
> directory, and the problems went away. (One of my problems was with
> ext3, but I don't know what caused the other problems.)
>=20
> And as for mounting hfs partitions from Linux, I don't recommend that -
> the kernel hfs implementation has suffered bit-rot. Use hfsutils instead.
>=20
> Ben.

on 17/3/02 0:33, Bob Beaton at bob@keyengine.com wrote:

> Okay, I did a PRAM reset and completely lost the yaboot settings, My G3
> B&W (running SCSI, not ATA disks) would only boot into MacOS; no yaboot
> menu and no luck hitting the "L" key during the boot-up sequence. No
<snip>
> Well, I did everything explicitly suggested in the YDL-General list, as
> well as in Kai's HOW-TO.
> (http://www.yellowdoglinux.com/support/solutions/ydl_2.1/boot_functions.s=
html)
> on the subject. I've heard so many 5-chime APPLE-OPT-P-R sequences that I=
'll
> be humming that damn tune for the next month! Oh well, one more Saturday
> afternoon directed toward gaining some experience...
<snip>
> (2) After trying everything documented and, even, undocumented, I did
> get my YDL SCSI-based G3 box restored. Here's how I did it (read the
> following with no promises about your config or anything else, rather,
> it is just a sequence of steps that worked for me on one particular
> machine):