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

Re: I lost yaboot!




Am 08.06.2006 um 00:35 schrieb Felix C. Stegerman:

* Petris Dimitrios <p3@venus.cslab.aueb.gr> [2006-06-07 18:57]:
I have a powerbook G4 and debian installed on it. I recently lost my
yaboot bootloader and it starts automatically with osx. Does anyone
know how to restore the bootloader without losing any data?

If you still have a working yaboot.conf, you can boot from an install
CD or a Live CD (I usually use a Ubuntu Live CD), chroot into your
system and just run `ybin -v`.  Otherwise, assuming you didn't get
into this trouble by having a bad yaboot.conf in the first place, you
might be able to extract your yaboot.conf from the boot partition.  If
you need any help with any of this, all you have to do is ask ;-)

You can use a debian-installer-cd too.

Go through the normal install-process until the point, where the question appears, how to use the disk (use whole disk or manuall partition). At that stage: DO NOT PARTITION YOUR DISC.

Change to the second console, make the needed mount-directories (mkdir), mount the debian-partition's appropiate, chroot into the debian-root-partition, mount /proc, run sbin (you need the complete path to sbin) and that' all. Umount /proc, exit chroot, reboot.

Bye
Peter Voigt



Reply to: