Find the answer to your Linux question:
Results 1 to 3 of 3
Well, Ive installed OpenVZ on this box. I installed Gentoo in OpenVZ It works ^^ Now, I want to install Portage.. So I download the portage packages on the host ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,429

    Gentoo as OpenVZ


    Well, Ive installed OpenVZ on this box.
    I installed Gentoo in OpenVZ
    It works ^^
    Now, I want to install Portage..
    So I download the portage packages on the host system.
    I unpack it in the /vz/portage folder
    I link the folder to the portage tree of the gentoo system
    Code:
    mount -o bind /vz/portage /var/lib/vz/private/1/usr/portage
    • Mount -> the mount command
    • -o bind -> Bind the folder to the other
    • /vz/portage -> The folder were I extracted the Portage to
    • /var/lib/vz/private/1 -> root (/) of Virtual PC 1
    • usr/portage -> the location of the portage Tree


    Well, When I go to Gentoo en enter Emerge I get:
    --- 'profiles/arch.list' is empty or not available. Empty portage tree?
    --- 'profiles/updates' is empty or not available. Empty portage tree?
    !!! ARCH is not set... Are you missing the '/etc/make.profile' symlink?
    !!! Is the symlink correct? Is your portage tree complete?
    The first part I thought.. What I just linked that... So in Gentoo I go to /usr/portage enter ls and I get int (void)**
    also known as nothing..
    So ok thats really weird, I did mount the folder so why is that?
    That second part is a error that I did google bit also wasnt able to fix since I need to have a portage tree..

    Does anyone know what I did wrong?
    Were I went wrong?
    And why that is wrong??

    Thanks alot.
    New Users, please read this..
    Google first, then ask..

  2. #2
    Just Joined! Scratch_'s Avatar
    Join Date
    Oct 2006
    Location
    In your closet.
    Posts
    28
    Try running "emerge --sync" to generate a portage tree.

  3. #3
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,429
    Solved
    Can be closed
    I had to link to /private
    New Users, please read this..
    Google first, then ask..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •