Archive for February, 2021

Feb 15 2021

EFI boot entry

show
efibootmgr
root@hphost:~# efibootmgr
BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 0000,0004,0002,0001
Boot0000* debian
Boot0001* ubuntu
Boot0002* rEFInd Boot Manager
Boot0004* Windows Boot Manager

change order
sudo efibootmgr -o 0004,0002,0001,0000

change the EFI boot manager timeout
efibootmgr --timeout=4

delete entry
efibootmgr -Bb 0003

Feb 5 2021

KVM – set CPU resources

virsh vcpucount <vm_name>
virsh setvcpus <vm_name> <max-number-of-CPUs> –maximum –config
virsh setvcpus <vm_name> <number-of-CPUs> –config
virsh setvcpus <vm_name> <number-of-CPUs> –live