🖥️VirtualBox

A virtualization software is required to perform the installation. In this tutorial we will use VirtualBox.

Creating the Virtual Machine

If you already have VirtualBox installed and the Debian ISO ready, we can proceed with creating the virtual machine.

Step-by-step VM creation:

  1. Open VirtualBox: Launch VirtualBox and click the New button to create a new virtual machine.

    VirtualBox Dashboard
    VirtualBox Dashboard
  2. Configure VM name and location: Choose a name for your virtual machine and select the folder where it will be stored.

    CRITICAL FOR 42 STUDENTS: Store the machine inside the sgoinfre folder on your campus server to avoid running out of storage space. Ask students if you can't locate this folder. Or better, use an external storage device as recommended above.

    VM Name and Location Setup
    VM Name and Location Setup
  3. Allocate RAM memory: Select the amount of RAM memory to reserve for the virtual machine. Recommended: 1024MB (1GB) minimum, 2048MB (2GB) for better performance.

    RAM Memory Allocation
    RAM Memory Allocation
  4. Create virtual hard disk: Select the second option to create a virtual hard disk now.

    Virtual Hard Disk Creation
    Virtual Hard Disk Creation
  5. Choose disk type: Select the first option VDI (VirtualBox Disk Image) as our disk format.

    VDI selection from VirtualBox
    VDI selection from VirtualBox
  6. Select the first option Dynamically allocated so it will allocate the memory of the physical machine as it feels necessary while using the virtual machine until we reach the available limit.

    Dynamically allocation on VirtualBox
    Dynamically allocation on VirtualBox
  7. One we established the recommended 12 GB we must click on Create. If we are doing the bonus we might set 30 GB.

    Storage size selection of the virtual machine
    Storage size selection of the virtual machine

Last updated

Was this helpful?