Mandrake Linux Archives: cooker-ppc@linux-mandrake.com
Mandrake Linux: cooker-ppc@linux-mandrake.com
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
- From: Damon Garn
- Subject: Re: iMac266, OSX Man82ppc installation won't boot
- Date: Thu, 3 Oct 2002 18:22:18 -0700 (PDT)
Hmmm maybe I'm too tired to be doing this... I didn't do the chroot /mnt
"correctly" the first time and so my lack of a yaboot wasn't really
accurate. Sorry. Anyway, once I discovered this I (correctly) went to the
system's root and verified several things as suggested in previous posts:
1. yaboot.conf looks "normal" to me; I've reproduced it below:
#yaboot.conf - generated by Drakx
init-message="\nWelcome to Mandrake Linux!\n"
boot=/dev/hda8
ofboot=hd:8
delay=30
timeout=50
install=/usr/local/lib/yaboot/yaboot
magicboot=/usr/loca/lib/yaboot/ofboot
enablecdboot
enableofboot
defaultos=linux
default=linux
image=hd:9,/vmlinuz-2.4.18-6.1mdk
label=linux
root=/dev/hda11
initrd=hda:9,/initrd-2.4.18-6.1mdk.img
append=" devfs=mount"
read-only
image=hd:9,/vmlinuz-2.4.18-6.1mdk
label=failsafe
root=/dev/hda11
initrd=hda:9,/initrd-2.4.18-6.1mdk.img
append=" devfs=mount failsafe"
read-only
macos=hd:6
2. ran ybin -v and it confirmed installation and configuration. Output as
follows:
ybin: /proc filesystem is not mounted, nvram will not be updated
ybin: installing first stage bootstrap /usr/local/lib/yaboot/ofboot onto
/dev/hda8
ybin: installing primary bootstrap /usr/local/lib/yaboot/yaboot onto
/dev/hda8
ybin: installing /etc/yaboot.conf onto /dev/hda8
ybin: Setting attributes on ofboot...
ybin: Setting attributes on yaboot...
ybin: Setting attributes on yaboot.conf...
ybin: Blessing /dev/hda8 with Holy Penguin Pee...
Could the Holy Penguin Pee have shorted out my system?
3. during the rescue mode boot from CD it finds the following: "probable
root partition on /dev/hda11 (type ext3)" and "Mounting /dev/hda9 on
/mnt/boot type ext2"
What about the i386 versions of Linux where the boot info must reside within
the first 1024 cylinders of the drive?
Damon
>
> On Thu, 3 Oct 2002, Damon Garn wrote:
>
> > Okay, here's what I've discovered. Booted to rescue mode, did the chroot
and
> > I have NO yaboot.conf in my /etc/ directory! It would appear that I
don't
> > have a valid boot loader installed at all. I haven't been able to find a
way
> > to install it. When I mess with ybin I keep getting an error indicating
I
> > need to "specify the deive for the bootstrap partition in the form
> > boot=/dev/hdaX" - that device should be hda8 according to the Mandrake
setup
> > that shows the "blessed" bootstrap partition as 8. What can I do to get
> > yaboot going?
> >
> > To sum up, it appears that the Open Firmware is going to the right
partition
> > and not finding boot info...
> >
> > I'm pretty sure this is a dumb question, but can I run grub instead?
> > Damon
>
> Nope - can't use grub. This should get you going - edit appropriately and
> make sure the kernel and initrd referenced are in /boot. This is a new
> one, don't think I've seen anyone report this before.
>
> #yaboot.conf - generated by DrakX
> init-message="\nWelcome to Mandrake Linux!\n"
> boot=/dev/hda6
> ofboot=hd:6
> delay=30
> timeout=50
> install=/usr/local/lib/yaboot/yaboot
> magicboot=/usr/local/lib/yaboot/ofboot
> enablecdboot
> enableofboot
> defaultos=linux
> default=linux
> image=hd:7,/vmlinuz-2.4.18-6.1mdk
> label=linux
> root=/dev/hda14
> initrd=hd:7,/initrd-2.4.18-6.1mdk.img
> append=" devfs=mount"
> read-only
>
>
> >
> > On Sunday, September 29, 2002, at 08:43 PM, Damon Garn wrote:
> >
> > [...]
> > >> Attempted the following:
> > >> 1. suggested fix of cmd-opt-o-f and set the OF option to the
> > >> designated partition (*) with 'setenv boot-device hd:8;\\tbxi' then
> > >> 'shut-down'
> > >
> > > What is /dev/hda8 (ie. what partition is this? /boot? the apple
> > > bootstrap?)
> > >
> > > [This was the designated partition identified by the M8.2 install as
> > > the
> > > "blessed partition" where the normal startup would go to look for the
> > > boot
> > > manager (as I understand the process). The expert mode setup said to
> > > write
> > > that partition number down and use the above process in case of a
> > > failed
> > > boot. The OSX partitions are previous to that and the 3 Linux
> > > partitions I
> > > created follow it. ]
> >
> >
> > Ok, so you went into OF and did a "setenv boot-device hd:8,\\:tbxi"?
> > (My syntax could be slightly off). I had to do this last night myself,
> > booting from an 8.2 install CD into rescue mode and running ybin in
> > chroot as I booted into OS X and changed the startup disk to boot into
> > OS9 so I could upgrade the version of palmos on my palm. Does
> > "printenv boot-device" show the correct thing?
> >
> > I'm not really sure what else to suggest. The strangest behaviour I've
> > got is when turning on my G4 (after it's been off), it loads up a grey
> > screen and stalls, and I have to power down again. Once I power up the
> > second time, ybin comes up just fine for me.
> >
> > --
> > MandrakeSoft Security; http://www.mandrakesecure.net/
> > "lynx - source http://linsec.ca/vdanen.asc | gpg --import"
> > {FE6F2AFD: 88D8 0D23 8D4B 3407 5BD7 66F9 2043 D0E5 FE6F 2AFD}
> >
> >
> >
> >
>
> Stew Benedict
>
> --
> MandrakeSoft
> PPC FAQ: http://www.linux-mandrake.com/en/ppcFAQ.php3
> IRC: irc.openproject.net #cooker-ppc
>
>
- Replies:
- Re: iMac266, OSX Man82ppc installation won't boot
- From: Stew Benedict
- Re: iMac266, OSX Man82ppc installation won't boot
- References:
- Re: iMac266, OSX Man82ppc installation won't boot
- From: Stew Benedict
- Re: iMac266, OSX Man82ppc installation won't boot
- Prev by Date: Re: iMac266, OSX Man82ppc installation won't boot
- Next by Date: Re: iMac266, OSX Man82ppc installation won't boot
- Previous by thread: Re: iMac266, OSX Man82ppc installation won't boot
- Next by thread: Re: iMac266, OSX Man82ppc installation won't boot
- Index(es):
