top of page
Search
prissylenix7691fys

Why Virtual Box won’t work with 64 bits guests: how to fix it



Your choice to create a generation 1 or generation 2 virtual machine depends on which guest operating system you want to install and the boot method you want to use to deploy the virtual machine. We recommend that you create a generation 2 virtual machine to take advantage of features like Secure Boot unless one of the following statements is true:


You can't change a virtual machine's generation after you've created it. So, we recommend that you review the considerations here, as well as choose the operating system, boot method, and features you want to use before you choose a generation.




Why Virtual Box won’t give me option to create 64 bits guests




This is a feature that verifies the boot loader is signed by a trusted authority in the UEFI database to help prevent unauthorized firmware, operating systems, or UEFI drivers from running at boot time. Secure Boot is enabled by default for generation 2 virtual machines. If you need to run a guest operating system that's not supported by Secure Boot, you can disable it after the virtual machine's created. For more information, see Secure Boot.


  • If you have not already created a VirtualBox virtual machine for Android-x86 yet, do so as follows: Click the "New" button, and name your new virtual machine however you like. Set Type to Linux, and Version to Linux 2.6 / 3.x / 4.x. Note that you should choose the appropriate bit type for the version of Android-x86 that you downloaded.

  • Specify how much RAM will be allocated to your virtual machine when you run it. Android doesn't specify a bare-minimum requirement for memory, just keep in mind what apps you plan on running. 2GB (2048MB) is a good place to start, and you can change this later if you need to.

  • Create a new Hard disk image which will act as your machine's storage. The recommended starting size of 8GB is enough. Click through the rest of the options for creating your Hard disk.

Your virtual machine has now been created. It still needs to be initially installed at this point.


  • Click the green Start arrow to power-on your virtual machine. You'll be presented with a list of options. Use the arrow keys to pick which one you want, then press Enter once the one you want is selected. If you don't want to install Android-x86 yet and just want to test it, pick one of the Live CD options (except for Debug mode).

  • Pick the Installation option if you want your system to be installed to the virtual hard drive.

If you want to use higher resolution, you can edit the boot option by pressing TAB, change vga=788 (800x600) to vga=791 (1024x768) or vga=794 (1280x1024), and press Enter. You can also use vga=ask to see all available modes. But please note Android will only work under 16-bit mode.


Congratulations! You have successfully enabled hardware virtualization on your computer which in turn enabled the 64-bit option in VirtualBox. You can now install a 64-bit operating system in your VirtualBox. Reach us via the feedback form below for any questions or comments.


Fedora requires a minimum of 20GB disk space & 2GB RAM, to install and run successfully. Although double those amounts is recommended for a smoother user experience. Based on that I will create and configure the virtual machine.


4. Hard disk. The default option is to create a virtual hard disk for the new VM. Click Create to continue. Alternatively, you can use an existing virtual hard disk file or decide not to add one at all.


The reasons why you might experience this issue are quite diverse and include several different elements. Since a lot of elevated and BIOS level elements are involved during virtualization (Hyper-V, Hypervisor, Hardware security etc.), it might be possible that you have some options not configured properly.


Hyper-V is a tool developed by Microsoft which allows users to create one or more virtual machines. This is done to run different operating systems in Windows. It almost performs the same tasks as of VirtualBox but has difficult options in addition to confusing architecture. We found from the user reports that Hyper-V must be disabled on your Windows for VirtualBox to run properly.


First you'll need software that allows you to install Linux withouterasing your existing operating system in the process. Although thereare a variety of possible virtualization options, we highly recommendusing Virtual Box. You can download it directly from follow the installation instructions provided there. Once VirtualBox is installed, you'll be able to set up the Linux environment forthe course.


While the installation formats your disk and copies files, a number ofadditional screens will need filling out. First select your location,probably "New York" since Baltimore is not an option. Then select yourkeyboard layout, probably "English (US)" but that depends on youractual keyboard more than anything else. Next fill in your name andthe name for the virtual machine itself (the default is okay). Werecommend that you pick the first part of your JHU email address asyour user name, but once again this is really up to you. Pick a decentpassword that you won't forget! Since you will probably be the onlyperson working on your virtual machine, select "Login automatically"but do NOT select "Encrypt my home folder" as that could be troublelater and hit "Continue" one last time. Now you can sit back and watchthe installation progress. Once the installation finishes, hit"Restart Now". Once the message "Please remove the installationmedia..." pops up, simply hit "Return" and watch your virtual machinereset and then boot into your shiny new Lubuntu system. If the"Restart Now" doesn't finish properly, then simply close the Lubuntuwindow and then click the "Start" button in VirtualBox to restart yournew virtual machine.


There are a few tools that you will want to add to Lubuntu right away.As the semester progresses, you'll start adding more and more toolsand applications to Lubuntu, so we'll briefly explain the process forinstalling software here. The actual packages to install are listedbelow. If you find a cool package not yet listed, feel free to post acomment on the course's Piazza site to recommend it.Most Unix systems, Lubuntu included, come with a package managementsystem. This system handles installation, updating, andun-installation of software; you are likely familiar with the idea,since GooglePlay, the AppStore, and Steam are all modeled after Unixpackage management systems.To install a new package click on the "Lubuntu" icon in the lower leftcorner of the screen, go to "System Tools" and start the "SynapticPackage Manager". You'll have to authenticate with your password againbefore you can continue. Click on the "Search" button at the top andenter the name of the package you want to install as your query. Oncethe search finishes look through the list of results to find theactual package. Once you have found the package, click on the box tothe left of it and select "Mark for installation". At this point awindow might pop up telling you what other packages need to beinstalled as well in order to install the package you want. Simply hit"Okay" to confirm. Then hit the "Apply" button at the top, which willpop up another confirmation dialog where you again hit "Apply" andthen you can watch the packages get installed. Once the installationfinishes, confirm again with the "Close" button. Then close the"Synaptic Package Manager" itself. Easy!7. Packages to InstallHere are some packagesthat will be useful regardless of the course/programming language youwill be using. Check with your course instructor for languagespecific packages you will need to install. virtualbox-guest-utils, virtualbox-guest-x11, virtualbox-guest-dkms - You should install these packages first thing, and then re-boot your virtual machine. These packages provide a better interface between your "host" operating system, and the "guest" linux operating system running on the virtual machine. They will allow you to resize your virtual desktop, and offer better cursor integration and more responsive input handling. Once installed, go to "Preferences -> Monitor Settings" within your virtual machine to change the desktop resolution. These packages will also let you copy/paste from non-virtual-machine programs, as long as you have your VirtualBox Settings configured to allow "bidirectional" copy/paste (under the "Advanced" tab of the "General" settings). emacs - a very popular editor (the one Joanne uses) vim - another very popular editor vim-gtk - a GUI version of vim with a bunch of menus,easier to use, better integration with other GUI windows git - version control program you may be usingThere is also a command-line interface to the package managementsystem, called apt-get. To install a package using it, open aterminal and type sudo apt-get install packagename(substituting the actual name of the package you want to install). Itcan be useful for installing multiple packages at once; for instance,to install all the recommended packages above, simply type orcopy/paste the following into a terminal (though unfortunately,copy/paste won't work until you install the virtualbox-guestpackages and enable it in your virtualbox settings): sudo apt-get install virtualbox-guest-utils virtualbox-guest-x11virtualbox-guest-dkms vim vim-gtk emacs git8. Using Lubuntu after installingWhen you restart your virtual box, you will need to reopen a terminalsession to use your Lubuntu installation. In the lower left corner ofthe virtual box open the main menu -> SystemTools -> LXTerminal(or Accessories on older versions). Nowyou're back in your linux environment and can code away. You can alsoaccess a nice version of emacs through Accessories or the Programmingmenu options. It's good to work with several open windows - one foreditting, one for compiling and running. 9. Keeping Lubuntu CurrentLubuntu's Update Manager will pop up from time to time when newversions of various installed packages are available. Unless you areworking on something really really important you should go ahead andinstall the updates to keep your system current. However, there isalways a risk that an update will break things. That has neverhappened to me, but there's no guarantee that it won't happen in thefuture. So don't update things the day before an assignment is due,unless of course you cannot finish your assignment without theupdate. The sole exception to this is an entirely new Lubuntu release:Do not not NOT switch to a new release, stay with your current packageupdates for the entire course. 2ff7e9595c


1 view0 comments

Recent Posts

See All

Download do jogo de paciência no iPhone

Como baixar o jogo Solitaire no iPhone Solitaire é um dos jogos de cartas mais clássicos e populares do mundo. É um jogo de paciência,...

Comments


bottom of page