-
Senior Member
registered user
Inserting kernel modules for kvm and booting the MBR in a kvm VM.
There may be problems with kvm kernel modules not being loaded. There should be two modules loaded, kvm and either kvm-intel or kvm-amd. If you don't know the processor type, and load status just look at the contents of /proc/cpuinfo and output of lsmod, e.g. by using
Code:
less /proc/cpuinfo
lsmod | grep 'kvm'
If there are no kvm modules loaded, use modprobe to insert them, in the Intel case:
Code:
sudo modprobe kvm && modprobe kvm-intel
A useful feature of kvm is that it can be used to run different OSes installed on the computer in a VM. This can be handy for lots of uses. Using GRUB, this command will give me GRUB's boot menu in a window:
Code:
sudo kvm -hda /dev/sda -m 1024 &
And from the boot screen, pick the OS version to boot. If you are running 32 bits kernel, 64 bits OS versions of course won't work.
The problem can be if different installs mount the same partitions rw, and insist on writing to them. But running Knoppix from a separate partition from what you are using can work just fine. You can do all kinds of administrative work in such a window, I even ran a DVD remastering there once. (The objection that DVD remastering takes a lot of time - if it turns out to be correct - becomes kind of moot when you can du it as a background process in a VM.)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Cisco Catalyst C9300-24UX-A 24 Port 10G/mGig UPOE Network Switch, no module
$349.97
Fortinet FortiSwitch FS-124D-POE 24 Port Gigabit Ethernet Switch UNREGISTERED
$99.97
ARUBA J9772A 2530-48G PoE+ 48 PORT ETHERNET SWITCH W/ RACK EARS J9772-60301
$125.69
Dell X1018 X-Series Smart Managed Switches 16-Port Gigabit 2-Port SFP Switch
$65.00
New Linksys SE3005 5-port Gigabit Ethernet Switch
$18.99
NETGEAR GS305300PAS 5 Port Gigabit Ethernet Unmanaged Switch
$15.99
Linksys SE3008 8 Ports Rack Mountable Gigabit Ethernet Switch
$21.99
Cudy 5-Port 10/100Mbps Fast Ethernet Desktop Unmanaged Switch | FS105D
$12.99
Cisco SG300-10P 10x PoE RJ45 Gigabit Switch SRW2008P-K9 V03 + Power Adapter
$37.49
HPE ARUBA 2530-24G J9773A PoE+ 24-PORT GIGABIT ETHERNET SWITCH J9773-60201
$87.98