Jump to content
  • 0

Cant install funtoo from existing distro


So I found on gentoo wiki:


root #env -i HOME=$HOME TERM=$TERM chroot /mnt/gentoo /bin/bash
root #/usr/sbin/env-update
root #source /etc/profile 
But when I run second command after chrooting in

I get:


Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/env-update", line 35, in <module>
  File "/usr/lib64/python2.7/site-packages/portage/proxy/objectproxy.py", line 30, in __call__
    result = object.__getattribute__(self, '_get_target')()
  File "/usr/lib64/python2.7/site-packages/portage/proxy/lazyimport.py", line 130, in _get_target
  File "/usr/lib64/python2.7/site-packages/portage/util/env_update.py", line 23, in <module>
    from portage.dbapi.vartree import vartree
  File "/usr/lib64/python2.7/site-packages/portage/dbapi/vartree.py", line 73, in <module>
    from _emerge.EbuildBuildDir import EbuildBuildDir
  File "/usr/lib64/python2.7/site-packages/_emerge/EbuildBuildDir.py", line 6, in <module>
    from _emerge.AsynchronousLock import AsynchronousLock
  File "/usr/lib64/python2.7/site-packages/_emerge/AsynchronousLock.py", line 22, in <module>
    from portage.locks import lockfile, unlockfile
  File "/usr/lib64/python2.7/site-packages/portage/locks.py", line 11, in <module>
    import multiprocessing
  File "/usr/lib64/python2.7/multiprocessing/__init__.py", line 64, in <module>
    from multiprocessing.process import Process, current_process, active_children
  File "/usr/lib64/python2.7/multiprocessing/process.py", line 321, in <module>
    _current_process = _MainProcess()
  File "/usr/lib64/python2.7/multiprocessing/process.py", line 318, in __init__
    self._authkey = AuthenticationString(os.urandom(32))
NotImplementedError: /dev/urandom (or equivalent) not found

Partition is mounted to correct directory and chrooting in works fine. There you go wiz'es, show me your magic!

Edit: huh, it creates that traceback no matter what emerge command I run... makes me 'tink 'dis eazy solushion...


Solved: I forgot to mount

# mount -t proc none proc
# mount --rbind /sys sys
# mount --rbind /dev dev

before chrooting. Totally not a noob.


Share this post

Link to post
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...