virtualbox : can’t install android-x86

Forum Forums General Software virtualbox : can’t install android-x86

  • This topic has 3 replies, 2 voices, and was last updated Nov 6-10:39 am by Xecure.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #44468
    Member
    kouroukinos77

      Hi !

      I need to edit grub files in android-x86 in virtualbox, so I use vi .

      And I can’t save and quit, because the escape touch (ESC) don’t work.

      I need to do like that :

      Found the solution!

      You have to edit menu.lst file. Here is how:

      boot in debug mode (usually the second option in boot menu)
      when booting stops (for me it just hangs there with flashing cursor and without any prompt) enter mount -o remount,rw /mnt
      enter cd /mnt/grub
      enter vi menu.lst
      press Shift+a
      right under the first boot entry find the line starting with kernel initrd=/in (your line might look different; it depends on Android version; in general just find the line that starts with kernel)
      at the end of the line type vga=834 nomodeset xforcevesa
      press ESC then :wq – these commands will save the file and quit vi
      enter cd /
      enter umount /mnt
      enter reboot -f

      Now the system should reboot in the VESA mode of your choice.

      This will enforces to use the VESA driver for X.

      You can replace the vga=xxx by any number you want for your screen resolution. Also tested that 832 works fine (gives 800×600 resolution).

      You can find all the VESA modes when you use the iso file and pick the boot option to boot in VESA mode – it will show the list with all modes (numbers are in hex and there is also a redundant letter in front of some modes – ignore it) and you can test them there immediately to see if it works and is good to use in this menu.lst fix, but you have to convert it from hex to dec first using any hex->dec converter.

      If anyone know how to save and quit in vi , in grub on virtualbox, thank you very much. (I read this too ):

      The Escape key is a shortcut to Ctrl+[. If the key is missing (as on a real vt220, for example), or if it doesn’t do what you want (it’s been remapped by VirtualBox, or similar), then try the Ctrl+[ combination instead.

      Check your VirtualBox setup. It should not remap Escape by default (at least not on the systems I’ve been using it on).

      But don’t work … And Ctrl + C , don’t work, maybe I can mapping this touche in virtualbox, but I don’t found tutorial for that. Sorry.

      $ uname -r
      4.9.212-antix.1-amd64-smp
      Mon retour de inxi -Fxz : https://pastebin.com/kqRMrRZZ
      my xmpp : weerbor@jabber.fr

      #44470
      Member
      kouroukinos77
        Helpful
        Up
        0
        ::

        finaly it work, but my computer is too slow for 2 CPU, and 128mb video memory, and 16mb ram … SO it work, but I cannot found how to enabled NAT network.

        $ uname -r
        4.9.212-antix.1-amd64-smp
        Mon retour de inxi -Fxz : https://pastebin.com/kqRMrRZZ
        my xmpp : weerbor@jabber.fr

        #44479
        Member
        kouroukinos77
          Helpful
          Up
          0
          ::

          I’m trying to do that set host-only adapter on VM (Virtual box) :

          http://paste.debian.net/1170138/

          but in that I don’t have ” Name ” in Adapter 4, and ” No host only, network adapter is currently selected.” for error message.

          and I’m reading the tutorial : dev.to/isabolic99/

          edit : my computer is too slow for android 9.

          But in network configuration of the android_x86 iso, I select Bridged Adapter and Name : usb0

          • This reply was modified 2 years, 6 months ago by kouroukinos77.
          • This reply was modified 2 years, 6 months ago by kouroukinos77.

          $ uname -r
          4.9.212-antix.1-amd64-smp
          Mon retour de inxi -Fxz : https://pastebin.com/kqRMrRZZ
          my xmpp : weerbor@jabber.fr

          #44502
          Member
          Xecure
            Helpful
            Up
            0
            ::

            There are a few factor to take into account.
            Version of android x86 (You inform us it is android 9).
            Version of virtualbox.

            For android 8.2: https://forums.virtualbox.org/viewtopic.php?f=7&t=91201&sid=3fc0232b369db9fcd2faedd180021055&start=15#p454977

            Turns out I just had to enable wifi in addition to my existing bridged mode. Problem solved!

            Based on this video: https://youtu.be/137jBpJniNs?t=239
            You don’t need to set anything different in Network for internet to work on the guest system. You just need to connect to virtual wifi.

            If this is for your youtube music problem, and you want to run the android app from a VM, I would opt for using the mobile app and try mirroring it inside your machine if you haven’t already tried it.

            antiX Live system enthusiast.
            General Live Boot Parameters for antiX.

          Viewing 4 posts - 1 through 4 (of 4 total)
          • You must be logged in to reply to this topic.