That's surprising. Some weeks ago I tested a VM with many more virtual CPUs than the host has. (As a proof-of-concept, not to be used in production.)When I try to create an Ubuntu virtual machine using all 4 cores, it stops with errors during the setup process.
I've never seen that one.Here is a screenshot of the error that occurred.
qm config <yourvmid>
too.Since it's an Intel Core i5-7500, I probably have actual 4 cores.May you can check does your PC is really have 4 cores. or it's 2 cores only and use Hyper-thread let it seems as 4 cores!
Please post the output ofqm config <yourvmid>
too.
boot: order=scsi0;ide2;net0
cores: 4
cpu: x86-64-v2-AES
ide2: local:iso/ubuntu-24.04.2-live-server-amd64.iso,media=cdrom,size=3137758K
memory: 1024
meta: creation-qemu=9.0.2,ctime=1742218915
name: goldenraito
net0: virtio=BC:24:11:53:AE:F4,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
scsi0: local-lvm:vm-101-disk-0,iothread=1,size=32G
scsihw: virtio-scsi-single
smbios1: uuid=7d51131d-bb69-47c3-ba50-6415afa4d4a9
sockets: 1
vmgenid: 3aa02843-31fd-4366-849f-27dcb76cbb1e
I tried all three types, but they all fail at the same point during setup.Next try: which CPU type did you choose? "Host"? Try with "x86-64-v2" or "kvm64". (The most of my VMs use the first one.)
Increase that RAM to at least 2048 (2GB) or more.memory: 1024
The recommended minimal system requirements for this tutorial are:
- RAM: 2 GiB or more
according to the intel specs page this cpu does not support hyperthreading, it has 4 cores / 4 threadsMay you can check does your PC is really have 4 cores. or it's 2 cores only and use Hyper-thread let it seems as 4 cores!
There were no problems with the checksum. Additionally, when using the same ISO file with 3 cores instead of 4 cores, it operates normally.If increasing Ram does not help: please verify the checksum of the downloaded .iso - the SHA256 is in https://releases.ubuntu.com/noble/SHA256SUMS
Even after increasing the memory to 2GB, the error shown in the image occurs after rebooting following installation. This is the same error that appeared when the memory was 1GB, which forced a reboot.You seem to avoid discussing/reporting increasing the VM's RAM - as I have suggested above, based on the official recommendation.
Until now, it wouldn't work after restarting, but now it's working.It seems the cause was that the memory was 1GB.Is there no way to start Ubuntu with 1GB of memory?Even after increasing the memory to 2GB, the error shown in the image occurs after rebooting following installation. This is the same error that appeared when the memory was 1GB, which forced a reboot.
We use essential cookies to make this site work, and optional cookies to enhance your experience.