Brice Figureau
Thu, 06 Nov 2003 06:13:33 -0800
On Thu, 2003-11-06 at 13:19, Andreas wrote: > > On Thu, 2003-11-06 at 12:19, Andreas wrote: > >>>> 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 (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