Coder Social home page Coder Social logo

Comments (10)

sormy avatar sormy commented on June 19, 2024

I will take a look. Gentoo devs sometimes release breaking changes :-)

from gentoo-vbox-builder.

sormy avatar sormy commented on June 19, 2024

Looking on logs:

  • Are you running install from root?
  • VBoxManage is not installed. Do you have VBox installed and added in PATH?

from gentoo-vbox-builder.

sormy avatar sormy commented on June 19, 2024

Tried today. Found an issue with GPG_SERVER override. Fixed it. The fix is pushed.
By the way, script has successfully finished on macOS v10.14.6 and VirualBox 6.0.14 r133895.
VBoxManage is installed in /usr/local/bin/VBoxManage and PATH is set to include /usr/local/bin.

Artems-MacBook-Pro:gentoo-vbox-builder $ GPG_SERVER="ipv4.pool.sks-keyservers.net" ./gentoo-vbox-builder.sh 
 * Gentoo VirtualBox Image Builder 1.0.6
 * The following parameters will be used:
 *   Guest Name: Gentoo amd64
 *   Host SSH Port: 2222
 *   Gentoo Stage3: amd64 (ARCH: amd64)
 * Started at Wed May 13 23:10:05 EDT 2020
 * PHASE 1: Prepare Instance...
 *   Checking if host SSH port is available...
 *   Downloading Gentoo LiveCD...
 *     Downloading: http://distfiles.gentoo.org/releases/amd64/autobuilds/20200419T214502Z/install-amd64-minimal-20200419T214502Z.iso ...
 *     Verifying sha512 hash...
 *     Verifying whirlpool hash...
 *     Verifying GPG signature...
 *   Creating guest...
 *   Configuring guest...
 *   Adding storage controller to guest...
 *   Attaching DVD drive to guest...
 *   Creating disk for guest...
 *   Attaching disk to guest...
 *   Running guest...
 *   Booting Gentoo from LiveCD...
 *   Configuring SSH...
 *   Waiting until SSH will be up (1/5)...
ssh_exchange_identification: Connection closed by remote host
 *   Waiting until SSH will be up (2/5)...
 * PHASE 2: Prepare Root...
 *   Synchronizing time...
 *   Preparing disk...
 *     Creating partitions...
 *     Formatting partitions...
 *     Labeling partitions...
 *   Mounting disk...
 *   Setting work directory...
 *   Installing stage3...
 *     Downloading: http://distfiles.gentoo.org/releases/amd64/autobuilds/20200422T214502Z/stage3-amd64-20200422T214502Z.tar.xz ...
 *     Verifying sha512 hash...
 *     Verifying whirlpool hash...
 *     Verifying GPG signature...
 *     Extracting...
 *     Cleaning up...
 *   Installing LiveCD's kernel configuration...
 *   Copying network options...
 *   Configuring fstab...
 *   Mounting proc/sys/dev/pts...
 * PHASE 3: Build Root...
 *   Updating configuration...
 *   Tuning compiler options...
 *   Installing portage repo...
 *   Rebuilding the world...
 *   Installing kernel sources...
 *   Installing genkernel...
 *   Installing kernel...
 *   Installing bootloader...
 *   Installing acpid...
 *   Configuring network...
 *   Configuring SSH...
 *   Installing authorized SSH public key...
 *   Rebooting...
 *   Waiting until SSH will be up (1/5)...
 *   Shutting down...
 *   Removing LiveCD from DVD drive...
 * Done at Thu May 14 01:20:36 EDT 2020
 * Process took 130 minutes

from gentoo-vbox-builder.

Gremlingroj avatar Gremlingroj commented on June 19, 2024

Thanks for such a quick reply.

  • Are you running install from root?

I start the virtual machine from the image c0de3cd004636722448e7b7c116feed9 * install-amd64-minimal-20200419T214502Z.iso in livecd mode, type gentoo, set the passwd password, start the ssh server and connect through the putty. I don’t do anything else, because there is nothing in the instructions or I read poorly.

  • VBoxManage is not installed. Do you have VBox installed and added in PATH?

VBoxManage is most likely not installed, since again it is not clear how. Emerge in Livecd mode is not available. For some reason, connecting the add-on disk of the guest operating system fails.

There were no such problems with other *nix systems, but here I cannot install the third day even with a simple script. Please help as you can.

from gentoo-vbox-builder.

sormy avatar sormy commented on June 19, 2024

The script from this repo should be execute on host, NOT on guest.

from gentoo-vbox-builder.

Gremlingroj avatar Gremlingroj commented on June 19, 2024

So I can’t just put Gentoo on VirtualBox in Windows environment? If I can, then please tell me how?

from gentoo-vbox-builder.

sormy avatar sormy commented on June 19, 2024

You can :-) But this script uses bash and a bunch of tools. If you will install all of them in windows then it will work. There is simplified gist that is designed to be executed inside guest: https://gist.github.com/sormy/7221a65a3becf082aaa3af2ec8dee1bc. You also reported an issue with it. I will need to take a look what has changed and fix it.

from gentoo-vbox-builder.

Gremlingroj avatar Gremlingroj commented on June 19, 2024

I used it https://gist.githubusercontent.com/sormy/7221a65a3becf082aaa3af2ec8dee1bc/raw/7b207c32d3ea90e683a7d9b53b1723059160dc93/gentoo-installer.sh, everything was fine, but the bootloader did not install and the system did not boot.

from gentoo-vbox-builder.

Gremlingroj avatar Gremlingroj commented on June 19, 2024

Tomorrow I can continue. Thanks for the help.

from gentoo-vbox-builder.

sormy avatar sormy commented on June 19, 2024

I fixed the script in https://www.artembutusov.com/gentoo-linux-quick-installer-script/
So closing the issue ;-)

from gentoo-vbox-builder.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.