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

Shut out and need to restore/rewrite misconfigured bootloader!!!



Hi all.

I added the following lines to my /etc/yaboot.conf to create a dual-boot menu. (Until now I have been holding down the 'alt' key on start-up to boot into OSX).

macosx=/dev/hda9
enablecdboot
enableofboot
enablenetboot
delay=60

I then ran ybin (ybin -b /dev/hda2) successfully but received a message on stdout something along the lines of:

'Your kernel is out-of-date. The Open Firmware device path may be incorrect"

Sure enough, although the boot menu appears, hitting 'L' for Linux simply hangs the machine indefinitely and hiting 'X' for OSX does absolutely nothing at all (but doesn't hang the machine). 'C' and 'O' work (for CD boot and Open Firmware) and 'X' might have worked if I had got the partition number right! I can still boot into OSX using the 'alt' key method but I can't think how I can get back into Linux. Anyone got any ideas? I have a CD that I can boot from, and have restored my /etc/yaboot.conf to its original state but I can't run ybin this way so that my changes take effect.

The only other idea I have is to boot up from the CD and use the installer to re-create the bootstrap partition, but I would like to know the consequences of doing this before proceeding. It is imperative that my data is not lost.

Any help much, much, much appreciated.

TIA,

sebyte

-----------------
Software specs:
Linux kernel version: 2.4.18
Distribution tree: testing (up-to-date)

Hardware specs:
Machine Model: Power Mac G4 "Quicksilver 2002"
Manufacture date: 15th June 2002
CPU Type: PowerPC G4 (2.1)
CPU Speed: 800 MHz (1)
Boot ROM Version: 4.3.3f2
L2 Cache (per CPU): 256 KB
Bus Speed: 133 MHz[B]

Reply to: