Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44924 - ppc bootloader docs improvement
Summary: ppc bootloader docs improvement
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Handbook (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Lars Weiler (RETIRED)
URL: http://www.gentoo.org/doc/en/handbook...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-17 00:12 UTC by Alastair Tse (RETIRED)
Modified: 2004-04-04 12:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alastair Tse (RETIRED) gentoo-dev 2004-03-17 00:12:13 UTC
I just tried following the Gentoo/PPC installation instructions from the handbook, and here's a minor inconsistancy that should be fixed.

In the yabootconfig section, it should say that yabootconfig should be run OUTSIDE of the chroot with the --chroot parameter. eg:

exit # to exit chroot
yabootconfig --chroot /mnt/gentoo
chroot /mnt/gentoo # get back into chroot

technically, i think this is because yabootconfig is just a shell script that runs "df", however, that doesn't work under a chroot, which yabootconfig error rightly says so.

Reproducible: Always
Steps to Reproduce:
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2004-03-17 09:02:56 UTC
Lars, can I get a second vote here? I'm no PPC guy so I'd rather have it confirmed. No offence Alastair :)
Comment 2 Lars Weiler (RETIRED) gentoo-dev 2004-03-17 09:12:11 UTC
I'll look in it.
Comment 3 Lars Weiler (RETIRED) gentoo-dev 2004-03-17 09:58:57 UTC
Usually yabootconfig works also inside a chroot.  But when I remember right, it needs /dev in the chroot.  Am I right, that all bind-mounts of /dev are now out of the handbook?  Probably this causes yabootconfig to exit.  Yeah, I know, it's a crap if it really needs /dev to be bind mounted...

Sorry, I don't have a spare PPC-machine for testing (or even some free space :( ).  So I can't be sure about my comments on the installation instructions.
Comment 4 Alastair Tse (RETIRED) gentoo-dev 2004-03-17 15:04:26 UTC
yes, thats right, the instructions in the handbook don't talk about binding /dev any more, which is probably why df isn't working.
Comment 5 Lars Weiler (RETIRED) gentoo-dev 2004-04-04 12:42:20 UTC
Edited the handbook so that /dev will be bind-mounted.