User Tools

Site Tools


usersguide:runningonvirtualbox

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
usersguide:runningonvirtualbox [2014/12/05 04:03]
lionelsambuc [Install issue (no hardware acceleration)]
usersguide:runningonvirtualbox [2018/01/08 21:04] (current)
nnyby [Virtual Machine Setup] remove unnecessary setup step: utc time
Line 3: Line 3:
 This page describes the process of installing MINIX 3 on VirtualBox. This page describes the process of installing MINIX 3 on VirtualBox.
  
 +Confirmed to work with 
 +
 +^ VirtualBox ​    ^ Minix           ^ Host-OS ​          ^ Notes ^
 +| 4.3.36 ​        | 3.3.0-3234ff ​    | Debian 3.16.36 ​   | X not installed
 +| 4.3.36 ​        | 3.4.0rc2-373b793 | Debian 3.16.36 ​   | X works ok
 +| 5.2.4          | 3.4.0rc6 ​        | Debian 10 (buster)|
  
 ===== Preliminaries ===== ===== Preliminaries =====
-First of all you'll need to install [[https://​www.virtualbox.org|VirtualBox]]. VirtualBox binaries can be downloaded from their webpage. If you're running a Linux distribution,​ you can install VirtualBox via the package manager.+First of all you'll need to install [[https://​www.virtualbox.org|VirtualBox]]. VirtualBox binaries can be downloaded from their webpage. If you're running a Linux distribution,​ you can probably ​install VirtualBox via the package manager ​(e.g. with //apt-get install virtualbox//​ on Debian-like systems).
  
 ===== Virtual Machine Setup ===== ===== Virtual Machine Setup =====
-Before you install ​Minix 3, you will need to create a new virtual machine configuration. The VM configuration specifies the parameters of your Virtual machine, e.g., how much memory you want the VM to use, how big you want the virtual hard disk to be, etc. Please see [[.:​hardwarerequirements|Hardware Requirements]] for guidelines.+Before you install ​MINIX 3, you will need to create a new virtual machine configuration. The VM configuration specifies the parameters of your Virtual machine, e.g., how much memory you want the VM to use, how big you want the virtual hard disk to be, etc. Please see [[.:​hardwarerequirements|Hardware Requirements]] for guidelines.
  
 In the main screen of VirtualBox, click the big **New** button. In the main screen of VirtualBox, click the big **New** button.
  
-  - At the //Name and operating system// screen, for //Name// write **MINIX3** (anything will work). For //​Type// ​and //Version// select **Other**. +  - At the //Name and operating system// screen, for //Name// write **MINIX3** (anything will work). ​ 
-  - At the //Memory size// screen, select the amount of memory for this Virtual Machine.+  - For //​Type// ​select **Other**. 
 +  - For //Version// select **Other/unknown**. 
 +  - At the //Memory size// screen, select the amount of memory for this Virtual Machine ​(e.g. **1024MB**).
   - At the //Hard Drive// screen set the size and properties of the Virtual Hard Disk. It is okay to either leave those options at their defaults or change them.   - At the //Hard Drive// screen set the size and properties of the Virtual Hard Disk. It is okay to either leave those options at their defaults or change them.
   - Pressing **Create** will create the Disk Image and the Virtual Machine that we  will run.   - Pressing **Create** will create the Disk Image and the Virtual Machine that we  will run.
   - Now select **MINIX3** in the list on the left.   - Now select **MINIX3** in the list on the left.
-  - Click the **Settings** button on the main screen of VirtualBox. Then click on //System// in the list on the right and tick the **Hardware Clock in UTC Time** checkbox. 
   - Click OK, and you are now ready to install MINIX 3!   - Click OK, and you are now ready to install MINIX 3!
 +
 +Troubleshooting:​
 +
 +  - If the installer fails to detect the virtual hard disk attached to a SATA controller, reconfigure the machine and attach the disk to the IDE controller. Also, make sure that the CDROM is attached to the IDE controller as well. (VirtualBox 5.1.22)
  
 ===== Installation ===== ===== Installation =====
Line 25: Line 36:
   - Select **MINIX3** in the list on the left.   - Select **MINIX3** in the list on the left.
   - Click **Start**.   - Click **Start**.
-  - You will be asked to select a start-up disk. Browse to and select the **.iso** ​Minix image you downloaded earlier and press **Open**.+  - You will be asked to select a start-up disk. Browse to and select the **.iso** ​MINIX 3 image you downloaded earlier and press **Open**.
  
 Then you can follow the [[.:​doinginstallation#​runningsetup|normal installation instructions]]. Then you can follow the [[.:​doinginstallation#​runningsetup|normal installation instructions]].
Line 51: Line 62:
  
 ==== X.org ==== ==== X.org ====
 +
 +FIXME: This chapter needs to be re-written, as MINIX 3.3.0 does not install Xorg by default, where as MINIX 3.4.0 Beta //can// start X with no additional fiddling.
  
 VirtualBox'​s guest additions are not available for MINIX3. Therefore, MINIX cannot correctly guess the screen resolution. The desired screen resolution has to be set manually in the xorg.conf file. VirtualBox'​s guest additions are not available for MINIX3. Therefore, MINIX cannot correctly guess the screen resolution. The desired screen resolution has to be set manually in the xorg.conf file.
Line 225: Line 238:
     * Replace your VM image'​s name for //minix// in the preceding command.     * Replace your VM image'​s name for //minix// in the preceding command.
     * VirtualBox 4.0 has no **Enable VT-x/​AMD-V** button, but you can issue this command to avoid kernel panics during installation:​ ''​%%VBoxSDL --startvm minix --norawr0 --norawr3%%''​     * VirtualBox 4.0 has no **Enable VT-x/​AMD-V** button, but you can issue this command to avoid kernel panics during installation:​ ''​%%VBoxSDL --startvm minix --norawr0 --norawr3%%''​
 +
 +==== DNS resolution not working ====
 +
 +When the MINIX3 virtual machine is using (at least) NAT networking configuration,​ it will obtain the DNS server address from the host system through DHCP. The VirtualBox-provided DNS server address is the exact same address as used on the host system. On some systems, this can lead to nonworking DNS resolution. For example, the host system uses a local resolver (on 127.0.1.1), which leads to the MINIX3 guest fruitlessly sending DNS requests to itself rather than the host's resolver. The result is that for example ''​pkgin up''​ gives "Host name lookup failure"​ errors.
 +
 +On MINIX3, the current DHCP-obtained DNS server settings can be checked with the command ''​dhcpd -q''​ - the DNS server address is listed as ''​DNSserver''​. If this address is indeed not a routable IP address, one may have to enable VirtualBox'​s DNS proxy, using [[https://​www.virtualbox.org/​manual/​ch09.html#​nat-adv-dns|these instructions from the official VirtualBox website]]. This should resolve the issue.
 +
 ===== Time zone issues ===== ===== Time zone issues =====
  
usersguide/runningonvirtualbox.1417770217.txt.gz · Last modified: 2016/02/24 10:41 (external edit)