Verified Commit 92448cbf authored by Nicolas Froger's avatar Nicolas Froger
Browse files

from_home: vm: fix formating and typos



Signed-off-by: Nicolas Froger's avatarNicolas Froger <nico@cri.epita.fr>
parent e431b055
...@@ -16,7 +16,7 @@ Please ensure you are using VirtualBox 6.1 (you can check in ...@@ -16,7 +16,7 @@ Please ensure you are using VirtualBox 6.1 (you can check in
![virt-disabled](assets/vm_error_virt_disabled.png) ![virt-disabled](assets/vm_error_virt_disabled.png)
You need to enable Vt-x or AMD-V in your BIOS. You need to enable VT-x or AMD-V in your BIOS.
### Cannot enable nested VT-x/AMD-V without nested-paging ### Cannot enable nested VT-x/AMD-V without nested-paging
......
...@@ -6,15 +6,15 @@ ...@@ -6,15 +6,15 @@
Install [VirtualBox](https://www.virtualbox.org/). Install [VirtualBox](https://www.virtualbox.org/).
On Linux you can install it with your package manager On Linux you can install it with your package manager
([Debian](https://wiki.debian.org/VirtualBox) or ([Debian](https://wiki.debian.org/VirtualBox) or [Arch
[Arch Linux](https://wiki.archlinux.org/index.php/VirtualBox)). Linux](https://wiki.archlinux.org/index.php/VirtualBox)).
### Second step ### Second step
Download our [VirtualBox appliance](https://static.cri.epita.fr/cri-vm.ova). Download our [VirtualBox appliance](https://static.cri.epita.fr/cri-vm.ova).
Open VirtualBox and go to `File > Import Appliance` and import the file you Open VirtualBox and go to `File > Import Appliance` and import the file you just
just downloaded. downloaded.
![appliance](assets/vm_external_1.PNG) ![appliance](assets/vm_external_1.PNG)
...@@ -32,32 +32,24 @@ You can then click the `Import` button. ...@@ -32,32 +32,24 @@ You can then click the `Import` button.
### Third step ### Third step
Inside Virtual Box select your newly created virtual machine and click on Inside VirtualBox select your newly created virtual machine and click on the
the `Start` button. `Start` button.
![select](assets/vm_external_5.PNG) ![select](assets/vm_external_5.PNG)
In the familiar PXE menu, choose the `Prepare disk` entry. In the familiar PXE menu, choose the `Prepare disk` entry.
Let it boot, a script will run automatically and your VM will shutdown once its Let it boot, a script will run automatically and your VM will shutdown once it
done. is done.
![menu](assets/vm_external_6.PNG) ![menu](assets/vm_external_6.PNG)
### Fourth step ### Fourth step
You can now `Start` your VM again. You can now use the PXE menu as usual to You can `Start` your VM again. You can now use the PXE menu as usual to boot
boot NixOS image. NixOS image.
You can use the `skip-download` image to avoid downloading the image each time.
Be wary that this image may not be up to date and then have bugs. You should re-download
the VM every once in a while to be sure to have all the latest tools and potential bugs fixes.
You will find more information on this in the `cri.news` newsgroup.
!!! warning !!! warning
Be careful ! You should log with `epita` user and no password. Your data is in Be careful ! You should log in with `epita` user and no password. Your data
`/home/epita`, this directory is kept between reboot, you will not lose files is in `/home/epita`, this directory is kept between reboot, you will not
each time you stop your VM. lose files each time you stop your VM.
...@@ -4,17 +4,19 @@ ...@@ -4,17 +4,19 @@
### First step ### First step
Install VMWare Workstation : [VMWare Workstation](https://www.vmware.com/products/workstation-player/workstation-player-evaluation.html) Install VMWare Workstation : [VMWare
Workstation](https://www.vmware.com/products/workstation-player/workstation-player-evaluation.html)
On Linux you can download it with your package manager On Linux you can download it with your package manager
([Debian](https://wiki.debian.org/VMware) or [Arch Linux](https://wiki.archlinux.org/index.php/VMware)). ([Debian](https://wiki.debian.org/VMware) or [Arch
Linux](https://wiki.archlinux.org/index.php/VMware)).
### Second step ### Second step
Download our [VMWare appliance](https://static.cri.epita.fr/vmware-cri-vm.zip). Download our [VMWare appliance](https://static.cri.epita.fr/vmware-cri-vm.zip).
Unzip the folder in an appropriate location (you can use `unzip vmware-cri-vm.zip`). Unzip the folder in an appropriate location (you can use
`unzip vmware-cri-vm.zip`).
Click on `Open a Virtual Machine`. Click on `Open a Virtual Machine`.
![import](assets/vmware.png) ![import](assets/vmware.png)
Select the `CRI_VM` folder. Select the `CRI_VM` folder.
...@@ -37,15 +39,10 @@ done. ...@@ -37,15 +39,10 @@ done.
### Fourth step ### Fourth step
You can now `Start` your VM again. You can now use the PXE menu as usual to You can `Start` your VM again. You can now use the PXE menu as usual to
boot NixOS image. boot NixOS image.
You can use the `skip-download` image to avoid downloading the image each time.
Be wary that this image may not be up to date and then have bugs. You should re-download
the VM every once in a while to be sure to have all the latest tools and potential bugs fixes.
You will find more information on this in the `cri.news` newsgroup.
!!! warning !!! warning
Be careful ! You should log with `epita` user and no password. Your data is in Be careful ! You should log in with `epita` user and no password. Your data
`/home/epita`, this directory is kept between reboot, you will not lose files is in `/home/epita`, this directory is kept between reboot, you will not
each time you stop your VM. lose files each time you stop your VM.
...@@ -3,7 +3,8 @@ ...@@ -3,7 +3,8 @@
## Installation ## Installation
### First step ### First step
For MacOS, install VMWare Fusion : [VMWare Fusion](https://www.vmware.com/go/downloadfusion). For MacOS, install VMWare Fusion : [VMWare
Fusion](https://www.vmware.com/go/downloadfusion).
### Second step ### Second step
Download the iso file [ISO](https://static.cri.epita.fr/cri-vm.iso). Download the iso file [ISO](https://static.cri.epita.fr/cri-vm.iso).
...@@ -30,7 +31,7 @@ Go to `Machine Virtuelle` > `Paramètres`. ...@@ -30,7 +31,7 @@ Go to `Machine Virtuelle` > `Paramètres`.
Then edit `Processeurs et mémoires`. Then edit `Processeurs et mémoires`.
![import2](assets/macos_configure_2.png) ![import2](assets/macos_configure_2.png)
Put (at least) 4096MB of memory. If you can put more - if you have *enough* RAM Put (at least) 4096MB of memory. Put more if you can - if you have *enough* RAM
available. (Note that 4GB will probably be the maximum on a 8GB Mac). available. (Note that 4GB will probably be the maximum on a 8GB Mac).
![import2](assets/macos_configure_3.png) ![import2](assets/macos_configure_3.png)
...@@ -53,16 +54,11 @@ done. ...@@ -53,16 +54,11 @@ done.
![ipxemenu](assets/vmware_ipxe.png) ![ipxemenu](assets/vmware_ipxe.png)
### Fourth step ### Fourth step
You can now `Start` your VM again. You can now use the PXE menu as usual to You can `Start` your VM again. You can now use the PXE menu as usual to
boot NixOS image. boot NixOS image.
You can use the `skip-download` image to avoid downloading the image each time.
Be wary that this image may not be up to date and then have bugs. You should re-download
the VM every once in a while to be sure to have all the latest tools and potential bugs fixes.
You will find more information on this in the `cri.news` newsgroup.
!!! warning !!! warning
Be careful! You should log with `epita` user and no password. Your data is Be careful! You should log in with `epita` user and no password. Your data
in `/home/epita`, this directory is kept between reboot, you will not lose is in `/home/epita`, this directory is kept between reboot, you will not
files each time you stop your VM. lose files each time you stop your VM.
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