QEMU is a free and open-source emulator. It emulates the machine's processor through dynamic binary translation and provides a set of different hardware and device models for the machine, enabling it to run a variety of guest operating systems
We need a virtual disk that is needed to emulate the storage device and on that device we are going to install our rlxos.
1
qemu-img create disk.img 10G
Copied!
You can configure the disk size as per your requirement, rlxos need atleast 10GiB of disk space.
KVM Acceleration
QEMU is a type 2 hypervisor and emulate all of the virtual machine's resources, which can be extremely slow. Using KVM (Linux Kernel Module), which is a type 1 hypervisor for full virtualization and can be used as accelerator so that the physical CPU virtualization extensions can be used
So we need to check if the system supports KVM virtualization (most hardware does).
1
file /dev/kvm
Copied!
and it should print something like
1
/dev/kvm: character special (../...)
Copied!
Starting virtual machine
1
qemu-system-x86_64 \
2
-m 4G \
3
-vga virtio \
4
-display default,show-cursor=on \
5
-usb \
6
-smp 2 \
7
-cdrom **/path/to/rlxos.iso** \
8
-drive file=disk.img,if=qcow2 \
9
-enable-kvm \
10
-cpu host \
Copied!
Parameters you can customize
Parameter
Description
-m
virtual memory to allocate
-vga
graphics driver
-smp
cpu core
-cdrom
path to rlxos ISO
-enable-kvm
if KVM is available
Now follow the installation and partition GUIDE as it is