[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

iBook G4 no longer dual-boots



I have Debian Sid installed on my iBook G4 1 Ghz.  I also have Mac OS X
10.3.  My "fdisk -l" output is attached as "fdisk-l".

Dual-boot was working fine until I went into to Mac OS's Disk Utility and
went to the Boot section.  After that, I think I clicked on either the
hard drive or the Mac OS partition.  "Uh-oh."

I rebooted, and yaboot was nowhere to be seen; it just booted straight
into Mac OS.  I rebooted into Debian (by booting from CD), chrooted into
my root partition, and then I ran ybin.  "Oh, good."

I rebooted, but yaboot was still nowhere to be seen.  I booted off the
Debian CD again, and chrooted again, and ran ybin again.  No dice.

I backed up my hda1 "Partition Map" by doing (dd if=/dev/hda1
of=hda1-backup-gulp), and I've attached it as well. Then I deleted the Mac
OS partition ("I can always just put the partition back later..."), and I
rebooted.  Open Firmware showed me yaboot, and yaboot guided me into
Debian.  (Hooray!)  If I restore the hda1-backup-gulp backup (that is, if
I restore the Mac partition), OpenFirmware ignores yaboot and goes
straight into Mac OS.

So I'm in Debian with no way to get to Mac OS.  I know to some extent it's
"luser error", since I probably clicked on something bad, but the
documentation didn't say not to, and besides, I tried to use yaboot to dig
me out and it couldn't.  So, is there some way I can make OpenFirmware
load yaboot even when /dev/hda5 exists again, so I can dual-boot once
more?

Thanks,

Asheesh Laroia.

Attachment: fdisk-l
Description: Binary data

Attachment: hda1-backup-gulp
Description: Binary data