Verified Commit 8ff714d7 authored by Nicolas Froger's avatar Nicolas Froger
Browse files

vm: restructure, update some info



Signed-off-by: Nicolas Froger's avatarNicolas Froger <nico@cri.epita.fr>
parent 7ff1c73e
# Common issues
### Error: failed to start Switch Root.
![error-switch-root](assets/vm_error_switch_root.png)
You probably didn't start the `Prepare disk` image, please do the third step
again.
### Black screen after starting the VM
Please ensure you are using VirtualBox 6.1 (you can check in
`Help -> About VirtualBox`).
### Not in a hypervisor partition
![virt-disabled](assets/vm_error_virt_disabled.png)
You need to enable Vt-x or AMD-V in your BIOS.
### Cannot enable nested VT-x/AMD-V without nested-paging
![nested](assets/vm_error_nested.png)
Go to the VM settings window and in the `System` page and `Processor` tab,
uncheck the `Enable nested Vt-x/AMD-V` box.
### FATAL: Could not read from the boot medium! System halted
![no-boot-medium-display](assets/vm_error_no_boot_medium-1.png)
This issue often happens if you tried to install `VBoxGuestAdditions`. The
tools provided by VirtualBox are given as an ISO file. When you try to install
the tools, the ISO will replace your boot device.
To fix this issue, you need to re-attach the original boot device to your VM.
Go into your VM settings (`Settings -> Storage`)
!!! warning
Be careful ! You should only edit the `Controller: IDE` section of the Storage settings.
In the `Controller: IDE` section, you will either see nothing or the `VBoxGuestAdditions` iso.
##### `Controller: IDE` section is empty
![no-boot-medium](assets/vm_error_no_boot_medium-2.png)
Click on the little CD/ROM button on the `Controller: IDE` line.
![add-boot-iso](assets/vm_error_no_boot_medium-3.png)
Choose the iso called `PIE-disk001.iso`, it should have a size of ~1MB.
![add-boot-iso-menu](assets/vm_error_no_boot_medium-4.png)
You should now be able to boot your VM.
##### VBoxGuestAdditions iso is present in the `Controller: IDE` section
![guest-additions](assets/vm_error_no_boot_medium-5.png)
1. Select `VBoxGuestAdditions` iso.
2. Click on the disk icon on the right of the menu.
![guest-additions](assets/vm_error_no_boot_medium-6.png)
Choose the iso called `PIE-disk001.iso`.
![guest-additions](assets/vm_error_no_boot_medium-7.png)
You should now be able to boot your VM.
# CRI VM
!!! warning
No support is done by the CRI on the PIE VM. If you do not succeed in
making it work by your own means, you must work on the school computers.
This method allow you to have the PIE environment running in a VM on your
computer.
There exists two installation : [VirtualBox](virtualbox.md) and
[VMWare](vmware.md). Note that VirtualBox has shown numerous bugs on MacOS.
VMWare is thus recommended for MacOS users.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment