Dexter Evil Clone.

Alchemiclabs.ca


Welcome Demo

Setting Up a VirtualBox Virtual Machine to Install openSUSE

VirtualBox is a powerful virtualization tool that allows you to run different operating systems on your current machine. If you’re looking to explore openSUSE, a popular Linux distribution, installing it on a VirtualBox virtual machine is a great way to test it without affecting your main operating system. This guide will walk you through the steps to set up a VirtualBox virtual machine for openSUSE installation.


Step 1: Download and Install VirtualBox

  1. Download VirtualBox

    • Visit the VirtualBox official website and download the installer for your operating system.
    • Install VirtualBox by following the instructions for your platform (Windows, macOS, or Linux).
  2. Download openSUSE ISO

    • Go to the openSUSE official website and download the ISO file for the version you want to install (Leap or Tumbleweed).
    • Choose the version that fits your needs:
      • Leap is stable and ideal for production.
      • Tumbleweed is rolling-release and great for developers.

Step 2: Create a Virtual Machine

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

  2. Name and OS Type

    • Enter a name for your virtual machine, e.g., openSUSE_VM.
    • Set the type to Linux and the version to openSUSE (64-bit).
  3. Allocate Memory

    • Assign RAM to the VM. A minimum of 2 GB (2048 MB) is recommended for openSUSE, but 4 GB or more is ideal for smoother performance.
  4. Create a Virtual Hard Disk

    • Choose Create a virtual hard disk now and click Create.
    • Select VDI (VirtualBox Disk Image) and Dynamically allocated.
    • Specify at least 20 GB of disk space for openSUSE.

Step 3: Configure Virtual Machine Settings

  1. Select the VM
    Click on your newly created VM and then click Settings.

  2. System Settings

    • Under the System tab, ensure that the Boot Order has Optical first and Hard Disk second.
    • Enable EFI (special OSes only) if you're using UEFI-based installations.
  3. Processor

    • In the Processor tab under System, assign at least 2 CPUs for better performance.
  4. Storage Settings

    • Under the Storage tab, click the Empty slot under the Controller: IDE.
    • Click the disk icon on the right, select Choose a disk file, and browse to the openSUSE ISO you downloaded.
  5. Network Settings

    • Go to the Network tab and ensure that the adapter is set to NAT or Bridged Adapter for internet access.

Step 4: Install openSUSE

  1. Start the Virtual Machine
    Click Start to boot your VM. The VM will boot from the ISO file.

  2. Select Installation Options

    • When the openSUSE installer loads, choose Installation from the menu.
  3. Follow the Installation Wizard

    • Select your language and keyboard layout.
    • Configure the disk partitioning (default options are usually sufficient for testing).
    • Set up user accounts and passwords.
    • Choose the desktop environment (KDE or GNOME are the most common choices).
  4. Complete Installation

    • Proceed with the installation and wait for it to complete.
    • Once installed, the system will reboot. Remove the ISO file by going to the Devices menu in VirtualBox, selecting Optical Drives, and unchecking the ISO.

Step 5: Post-Installation Configuration

  1. Update openSUSE

    • Open a terminal and run:
      sudo zypper refresh
      sudo zypper update
  2. Install VirtualBox Guest Additions

    • Go to Devices > Insert Guest Additions CD Image in VirtualBox.
    • Mount the disk and run the installer:
      sudo mount /dev/cdrom /mnt
      sudo /mnt/VBoxLinuxAdditions.run
      sudo reboot
    • This will enable features like shared folders and better display resolutions.
  3. Customize Your Environment

    • Install additional software using YaST or zypper as needed.

Conclusion

You now have a fully functional openSUSE virtual machine running in VirtualBox! This setup is perfect for exploring openSUSE, testing software, or learning Linux. For further exploration, dive into openSUSE’s extensive documentation or customize your virtual machine to suit your workflow.

Happy virtualizing! 🎉