[Solved] Load KVM kernel module every time after boots

Post here if you are a new Porteus member and you're looking for some help.
xenos
Black ninja
Black ninja
Posts: 40
Joined: 20 Aug 2016, 22:20
Distribution: Porteus
Location: Blackhole

[Solved] Load KVM kernel module every time after boots

Post#1 by xenos » 01 Sep 2016, 17:14

Hi,

I just set up Android Studio on my pc, thinking about trying its emulator,

Code: Select all

# ./emulator-check accel
/dev/kvm is not found: VT disabled in BIOS or KVM kernel module not loaded

# modprobe kvm_intel

# ./emulator-check accel
KVM (version 12) is installed and usable.
Any idea how to load this every time after Porteus boots?
Last edited by xenos on 05 Sep 2016, 11:42, edited 1 time in total.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Load KVM kernel module every time after boots

Post#2 by Bogomips » 01 Sep 2016, 17:27

Code: Select all

su
echo modprobe kvm_intel >> /etc/rc.d/rc.local
chmod +x /etc/rc.d/rc.local
If using changes, otherwise same in rootcopy.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

xenos
Black ninja
Black ninja
Posts: 40
Joined: 20 Aug 2016, 22:20
Distribution: Porteus
Location: Blackhole

Re: Load KVM kernel module every time after boots

Post#3 by xenos » 01 Sep 2016, 17:35

Great and thanks! :good:

Post Reply