How to install openSUSE Leap 42.2 in VirtualBox

Published on February 12, 2017 by Daniel Lanza

 opensuse  virtualbox

This tutorial will explain how to install openSUSE 42.2 Leap in VirtualBox.

Requirements

You will need the following:

Steps

Preparing the virtual machine

Open VirtualBox and create a new virtual machine. Select Linux type and openSUSE version.

New openSUSE virtual machine
New openSUSE virtual machine

Select the amount of memory RAM. The recommendation is 4096 MB (4 GB).

4096-MB memory RAM
4096-MB memory RAM

Create a new virtual hard disk.

New virtual hard disk
New virtual hard disk

Select VirtualBox Disk Image.

VirtualBox Disk Image
VirtualBox Disk Image

And dynamically allocated.

Dynamically allocated
Dynamically allocated

The amount of memory size will be 80 GB. As we selected dynamically allocated, the real size of hard disk will be growing until reaching 80 GB.

80-GB memory size
80-GB memory size

Installing openSUSE

We have created a new empty virtual machine. We need to set more properties and load ISO file. Go to settings of the new virtual machine.

Virtual machine settings
Virtual machine settings

Enable bidirectional shared clipboard and drag and drop functionality in General tab.

Bidirectional shared clipboard and drag and drop
Bidirectional shared clipboard and drag and drop

Increase number of processors by 2 in System tab.

2 processors
2 processors

And increase video memory by 128 MB in Display tab.

128-MB memory size
128-MB memory size

Load openSUSE ISO file in Storage tab.

Load ISO openSUSE
Load ISO openSUSE
Load ISO openSUSE
Load ISO openSUSE

Let’s start and first run the virtual machine.

First start the virtual machine
First start the virtual machine

The ISO file will be loaded when starting the virtual machine. Select installation.

Select installation
Select installation

Set language and keyboard.

Language and keyboard
Language and keyboard

Continue the installation options.

Continue the installation
Continue the installation

Edit suggested partition. We will install using one partition and Ext4 file system for root partition.

Only one partition
Only one partition
Only one partition
Only one partition
Only one partition
Only one partition

Set Clock and Time Zone.

Clock and Time Zone
Clock and Time Zone

And here the Desktop type. If you only want openSUSE as server, select server (text mode). In this case, we will use KDE Plasma Desktop.

KDE Plasma Desktop
KDE Plasma Desktop

Local user to login.

Local user
Local user

Disable firewall and enable SSH service.

Firewall and enable SSH
Firewall and enable SSH
Firewall and enable SSH
Firewall and enable SSH

Confirm the installation and wait.

Install openSUSE
Install openSUSE
Install openSUSE
Install openSUSE

When finished, openSUSE will be rebooted.

Install openSUSE
Install openSUSE

Post-installation tasks

Shutdown the virtual machine, and remove the ISO file from virtual drive that was loaded previously.

Remove ISO file
Remove ISO file

Next, start the virtual machine and update the system with the last software and libraries.

Update system
Update system
Update system
Update system
Update system
Update system
Update system
Update system

And finally, shutdown the virtual machine to make a snapshot. This snapshot will let you restore a fresh openSUSE installation.

Make a snapshot
Make a snapshot
Make a snapshot
Make a snapshot
Make a snapshot
Make a snapshot
comments powered by Disqus

See also

How to install Windows Server 2012 R2 on VirtualBox

This tutorial will explain how to install Windows Server 2012 R2 in a virtual machine. First, you need to have Windows Server 2012 R2 ISO file and VirtualBox installed. Create a new virtual machine on VirtualBox by clicking on New. Select type and version of the virtual machine. In this case, Windows 2012 (64-bits). Create new virtual machine Set the amount of memory (RAM). I selected 4096 MB (4 GB).

Read more

Setting up a Virtual Web Server with VirtualBox, Apache, MySQL, FTP, Ubuntu, and Samba

This tutorial will explain how to set up a Ubuntu Server virtual machine with: Apache FTP Samba First, check out how to install Ubuntu Server on VirtualBox to get ready a virtual machine to test. Our virtual machine has two network adapters. The second one (eth1) is a host-only adapter with a static IP address -> 192.168.56.101 Apache Web Server Apache Web Server needs to be running. The installation and configuration was indicated in the previous post.

Read more

Install Ubuntu Server 14.04.4 on VirtualBox

This tutorial will explain how to install Ubuntu Server on a virtual machine. First, you need to have Ubuntu Server ISO file and VirtualBox installed. VirtualBox Ubuntu Server Create a new virtual machine on VirtualBox by clicking on New. Create new virtual machine Select type and version of the virtual machine. In this case, Linux and Ubuntu (64-bits). Select type and version of the virtual machine Select the amount of memory (RAM).

Read more