Verified Commit 82101851 authored by James Landrein's avatar James Landrein
Browse files

vm: add macos vmware installation


Signed-off-by: James Landrein's avatarJames Landrein <james@cri.epita.fr>
parent a98195a3
Pipeline #7816 passed with stages
in 2 minutes and 13 seconds
......@@ -74,7 +74,7 @@ You will find more information on this in the `cri.news` newsgroup.
### First step
Install VMWare Workstation : [VMWare](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
([Debian](https://wiki.debian.org/VMware) or [Archlinux](https://wiki.archlinux.org/index.php/VMware)).
......@@ -120,6 +120,81 @@ You will find more information on this in the `cri.news` newsgroup.
`/home/epita`, this directory is kept between reboot, you will not lose files
each time you stop your VM.
## Mac VMWare Installation
### First step
For MacOS, install VMWare Fusion : [VMWare Fusion](https://www.vmware.com/go/downloadfusion).
### Second step
Download the iso file [ISO](https://static.cri.epita.fr/cri-vm.iso).
Click on `Installer à partir du disque ou de l'image`.
![import](assets/macos_install_1.png)
Select the `cri-vm.iso` file.
![import1](assets/macos_install_2.png)
Select Linux > Autre noyau Linux 5.x et version ultérieur 64 bits.
![import2](assets/macos_install_3.png)
Select "BIOS hérité".
![import2](assets/macos_install_4.png)
Click on "Terminer" and save the VM.
![import2](assets/macos_install_5.png)
Before launching the VM, you need to edit the configuration.
Go to Machine Virtuelle > Paramètres.
![import2](assets/macos_configure_1.png)
Then edit "Processeurs et mémoires".
![import2](assets/macos_configure_2.png)
Put 4096 Mo (at least) of memory. If you can put more - if you have *enough* RAM
available. (Note that 4Go will probably be the maximum on a 8Go Mac).
![import2](assets/macos_configure_3.png)
Go back to the previous menu and click "Disque Dur (SCSI)".
![import2](assets/macos_configure_2.png)
Put (at least) 64 Go of disk space. Note that the disk format is optimized not to take
that much space on your disk.
![import2](assets/macos_configure_4.png)
### Third step
You now have an imported VM. You can now run it by double clicking on it.
![imported](assets/macos_launch.png)
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
done.
![ipxemenu](assets/vmware_ipxe.png)
### Fourth step
You can now `Start` your VM again. You can now use the PXE menu as usual to
boot `Archlinux` 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
Be careful ! You should log with `epita` user and no password. Your data is in
`/home/epita`, this directory is kept between reboot, you will not lose files
each time you stop your VM.
## Common issues
### Error: failed to start Switch Root.
......@@ -192,6 +267,9 @@ Choose the iso called `PIE-disk001.iso`.
You should now be able to boot your VM.
## Small tips for a better environment
### Screen resolution
......@@ -208,3 +286,4 @@ A command line program allows you to change the font size in your terminal.
You can use it with `term_size SIZE`. SIZE being the font size (12, 14, ...
for instance)
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