🖥️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.
IMPORTANT FOR 42 STUDENTS: On step 2, store the virtual machine inside the sgoinfre
folder located on your campus server. This is crucial because you will run out of memory space in your user session, causing the installation to fail.
BETTER ALTERNATIVE: Use external storage (SSD/USB drive) as recommended above. This eliminates storage limitations and provides better performance than campus sgoinfre
storage. And you can use it for all your 42 projects, not just this one.
Even continuing your work at home by using VirtualBox on your personal computer, with your external storage device plugged in.
Step-by-step VM creation:
Open VirtualBox: Launch VirtualBox and click the
New
button to create a new virtual machine.VirtualBox Dashboard 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 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 Create virtual hard disk: Select the second option to create a virtual hard disk now.
Virtual Hard Disk Creation Choose disk type: Select the first option
VDI (VirtualBox Disk Image)
as our disk format.VDI selection from VirtualBox 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 One we established the recommended
12 GB
we must click onCreate
. If we are doing the bonus we might set30 GB
.Storage size selection of the virtual machine
Last updated
Was this helpful?