Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70753 - Bindmounting gives errors during stage unpacking
Summary: Bindmounting gives errors during stage unpacking
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Handbook (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Jochen Maes (RETIRED)
URL: http://www.gentoo.org/doc/en/handbook...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-11 01:04 UTC by Sven Vermeulen (RETIRED)
Modified: 2005-02-21 23:53 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 Sven Vermeulen (RETIRED) gentoo-dev 2004-11-11 01:04:15 UTC
In the Gentoo/PPC Handbook the user is asked to bind-mount /dev. A user replies:

"""
Anyway, I have found that if I bind-mount the /dev-filesystem at "4.f"
in the handbook, I get some errors when unpacking the stage 1 tarball
later on (5.b/5.c). I find out that if I wait with the bind-mounting
until I have unpacked the tarball (that is, between step 5.c and 5.d in
the handbook), I can avoid those errors. So my suggestion is that the
bind-mounting in step 4.f is moved to after 5.c, if that doesn't break
any other function. This way I guess installers (newbies like me) will
have it a lot easier, not seeing any errors.
"""

Why is /dev bindmounted for PPC? Moving it elsewhere isn't very easy since most succeeding chapters are not ppc-arch specific.
Comment 1 Lars Weiler (RETIRED) gentoo-dev 2004-11-11 03:13:43 UTC
Am I right that /dev isn't bind-mounted on x86 any more?

The problem we had was with yaboot, the boot-loader, inside the chroot.  It needs the correct /dev and not a generic one from the tar-ball.  But as yabootconfig is now called from outside the chroot, where a correct /dev exists, this could not cause any problems.  I'm just not sure about the manual yaboot installation, where you don't leave the chroot and call mkofboot and ybin -- this could cause problems.
Comment 2 Tobias Scherbaum (RETIRED) gentoo-dev 2004-11-12 23:26:31 UTC
> Am I right that /dev isn't bind-mounted on x86 any more?
Yap.
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2004-12-22 12:59:08 UTC
Jochen, please take care of this bug. I believe the hb-install-ppc64-bootloader.xml file is a bit outdated wrt hb-install-ppc-bootloader.xml. Perhaps you can merge both files?

The PPC handbook looks resolved, PPC64 however doesn't.
Comment 4 Jochen Maes (RETIRED) gentoo-dev 2005-02-21 23:53:34 UTC
PPC handbook fixed, just forgot to close :-)