You are not logged in.
Pages: 1
I was following the instructions on kvm on archwiki but I think I wrote the command that should be written on the virtual machine on my host computer and my host computer thinks it is a virtual machine. Now it gives kernel panic. How do remove kvm? I booted with arch iso and mounted everything. What should I do in chroot?
why use vim when there is vis?
Offline
I was following the instructions on kvm on archwiki but I think I wrote the command that should be written on the virtual machine on my host computer and my host computer thinks it is a virtual machine.
What command was that?
Now it gives kernel panic.
What is the output of the panic?
Offline
@loqs, probably the OP appended '-device x-iommu' and/or simili to their cmd line.
@datxinitric, be more specific when you ask for support in the forums and post exactly what you did wrapped in code tags.
Offline
I did write:
echo 550 > /proc/sys/vm/nr_hugepages
qemu-system-x86_64 -enable-kvm -m 1024 -mem-path /dev/hugepages -hda <disk_image> [...]
and added
vm.nr_hugepages = 550
to my /etc/sysctl.d/40-hugepage.conf file
It says
No init Found
in the kernel panic
Last edited by datxinitric (2018-03-03 14:02:30)
why use vim when there is vis?
Offline
You can disable /etc/sysctl.d/40-hugepage.conf by deleting it or changing the extension from .conf.
Offline
You can disable /etc/sysctl.d/40-hugepage.conf by deleting it or changing the extension from .conf.
there is no files in /etc/sysctl.d/
why use vim when there is vis?
Offline
Hugepages are ok, seems to me that you may have damaged something else.
and added
vm.nr_hugepages = 550
to my /etc/sysctl.d/40-hugepage.conf file....
there is no files in /etc/sysctl.d/
What's in your /etc/fstab?
Offline
Hugepages are ok, seems to me that you may have damaged something else.
datxinitrc wrote:and added
vm.nr_hugepages = 550
to my /etc/sysctl.d/40-hugepage.conf file....
there is no files in /etc/sysctl.d/
What's in your /etc/fstab?
Swap and root is mounted nothing else
why use vim when there is vis?
Offline
My previous post contains an implied question: where the hell did your 40-hugepages.conf go?
Also, what else did you do before editing it? I suspect this will be fixed only by looking at ~/.bash_history...
Offline
Pages: 1