cooker-ppc  

Re: Cannot boot 9.1 after OSX installation

Andreas
Sun, 09 Nov 2003 09:58:41 -0800

> > >>>> Hi all!
> > >>>>
> > >>>> "mount /dev/hda13 /mnt" and
> > >>>> "chroot /mnt"
> > >>>> "ybin -v"
> > >>>> ..........
> > >>>> After reboot no bootmanager again.
> > >>>
> > >>> I'm surprised ybin didn't complain about no /proc mounted.  Normally
> > >>> you
> > >>> need to mount /proc in the chroot also.   You wouldn't normally want
> > >>> to
> > >>> mount the bootstrap, if that's what you're referring to on hda11.
>
> Yes, Stew is right, you must mount your root partition AND /proc to the
> chroot if you want to run ybin (yaboot needs to access to the nvram to
> update the boot-device):
>
> boot in rescue from the CD
> $ mount /dev/hdaXX /mnt
> where XX is the partition number of /
> if /usr is on another partition, mount it too
> $ mount /dev/hdaYY /mnt/usr
>
> $ mount -t proc proc /mnt/proc
> to mount the /proc partition
>
> $ chroot mnt /usr/sbin/ybin -v

Is the right path

> (can't remember exactly where is ybin, I don't have my mac here at
> work).
>
> Send us the output of the last command if it failed.
>
> $ umount /mnt/proc
> $ umount /mnt/usr
> $ umount /mnt
> $ reboot
>
> I hope this will help you,
>
> Brice

Thanks Brice!

All works fine again.


Andreas