Difference between revisions of "--memory (virt-install)"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
+ | |||
+ | [[virt-install --install]] ubuntu20.04 --memory 2048 --disk size=1 --extra-args='console=ttyS0' | ||
+ | WARNING KVM acceleration not available, using 'qemu' | ||
+ | Using ubuntu20.04 --location http://archive.ubuntu.com/ubuntu/dists/focal/main/installer-amd64 | ||
+ | WARNING Using legacy d-i based installer, that has been deprecated and will be removed in the future. https://discourse.ubuntu.com/c/server | ||
+ | Using default --name ubuntu20.04-3 | ||
+ | WARNING Graphics requested but DISPLAY is not set. Not running virt-viewer. | ||
+ | WARNING No console to launch for the guest, defaulting to --wait -1 | ||
+ | |||
+ | Starting install... | ||
+ | Retrieving file linux... | 11 MB 00:08:27 | ||
+ | Retrieving file initrd.gz... | 49 MB 00:19:58 | ||
+ | Allocating 'disk-2.qcow2' | 1.0 GB 00:00:00 | ||
+ | ERROR internal error: process exited while connecting to monitor: 2021-04-04T09:24:30.601481Z qemu-system-x86_64: cannot set up guest memory 'pc.ram': '''Cannot allocate memory''' | ||
+ | Removing disk 'disk-2.qcow2' | 0 B 00:00:00 | ||
+ | Domain installation does not appear to have been successful. | ||
+ | If it was, you can restart your domain by running: | ||
+ | [[virsh --connect]] qemu:///system start ubuntu20.04-3 | ||
+ | otherwise, please restart your installation. | ||
+ | |||
+ | == Related == | ||
+ | [[docker run --rm]] --memory | ||
== See also == | == See also == |
Latest revision as of 15:39, 18 April 2023
--memory 8192
--memory 8GB ERROR Error: --memory 8GB: invalid literal for int() with base 10: '8GB
virt-install --install ubuntu20.04 --memory 2048 --disk size=1 --extra-args='console=ttyS0' WARNING KVM acceleration not available, using 'qemu' Using ubuntu20.04 --location http://archive.ubuntu.com/ubuntu/dists/focal/main/installer-amd64 WARNING Using legacy d-i based installer, that has been deprecated and will be removed in the future. https://discourse.ubuntu.com/c/server Using default --name ubuntu20.04-3 WARNING Graphics requested but DISPLAY is not set. Not running virt-viewer. WARNING No console to launch for the guest, defaulting to --wait -1 Starting install... Retrieving file linux... | 11 MB 00:08:27 Retrieving file initrd.gz... | 49 MB 00:19:58 Allocating 'disk-2.qcow2' | 1.0 GB 00:00:00 ERROR internal error: process exited while connecting to monitor: 2021-04-04T09:24:30.601481Z qemu-system-x86_64: cannot set up guest memory 'pc.ram': Cannot allocate memory Removing disk 'disk-2.qcow2' | 0 B 00:00:00 Domain installation does not appear to have been successful. If it was, you can restart your domain by running: virsh --connect qemu:///system start ubuntu20.04-3 otherwise, please restart your installation.
Related[edit]
docker run --rm --memory
See also[edit]
Advertising: