Proxmox: Difference between revisions
From DWIKI
m (→FAQ) |
mNo edit summary |
||
Line 2: | Line 2: | ||
*[https://pve.proxmox.com/pve-docs/pve-admin-guide.html Proxmox VE Administration Guide] | *[https://pve.proxmox.com/pve-docs/pve-admin-guide.html Proxmox VE Administration Guide] | ||
=FAQ= | |||
==Error: VM quit/powerdown failed - got timeout== | = FAQ = | ||
== Error: VM quit/powerdown failed - got timeout == | |||
qm stop VMID | qm stop VMID | ||
| |||
==enable serial console in guest== | == enable serial console in guest == | ||
*[https://pve.proxmox.com/wiki/Serial_Terminal https://pve.proxmox.com/wiki/Serial_Terminal] | |||
looks like this is not needed: | looks like this is not needed: | ||
Line 16: | Line 20: | ||
in /etc/default/grub | in /etc/default/grub | ||
GRUB_CMDLINE_LINUX_DEFAULT="console=ttyS0 console=tty0" | GRUB_CMDLINE_LINUX_DEFAULT="console=ttyS0 console=tty0" | ||
ttyS0 is for qm terminal, tty0 is for the "console" buttion in UI | ttyS0 is for qm terminal, tty0 is for the "console" buttion in UI | ||
# debian based | #debian based | ||
update-grub | update-grub | ||
# redhat based | |||
#redhat based | |||
grub2-mkconfig --output=/boot/grub2/grub.cfg | grub2-mkconfig --output=/boot/grub2/grub.cfg | ||
| |||
add | |||
serial0: socket | serial0: socket | ||
to /etc/pve/qemu-server/[vmid].conf and restart | |||
| |||
=== agetty: /dev/ttyS0: not a device === | |||
systemctl status useless again, means the serial bit is missing from <vmid>.conf | systemctl status useless again, means the serial bit is missing from <vmid>.conf | ||
==TASK ERROR: command 'apt-get update' failed: exit code 100== | == TASK ERROR: command 'apt-get update' failed: exit code 100 == | ||
subtle way of telling you to get subscription of at least change the sources list | subtle way of telling you to get subscription of at least change the sources list | ||
== Import vmdk to lvm == | |||
https://pve.proxmox.com/wiki/Qemu/KVM_Virtual_Machines#_importing_virtual_machines_and_disk_images |
Revision as of 11:38, 23 December 2020
Links
FAQ
Error: VM quit/powerdown failed - got timeout
qm stop VMID
enable serial console in guest
looks like this is not needed:
systemctl enable serial-getty@ttyS0.service
in /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="console=ttyS0 console=tty0"
ttyS0 is for qm terminal, tty0 is for the "console" buttion in UI
- debian based
update-grub
- redhat based
grub2-mkconfig --output=/boot/grub2/grub.cfg
add
serial0: socket
to /etc/pve/qemu-server/[vmid].conf and restart
agetty: /dev/ttyS0: not a device
systemctl status useless again, means the serial bit is missing from <vmid>.conf
TASK ERROR: command 'apt-get update' failed: exit code 100
subtle way of telling you to get subscription of at least change the sources list
Import vmdk to lvm
https://pve.proxmox.com/wiki/Qemu/KVM_Virtual_Machines#_importing_virtual_machines_and_disk_images