Difference between revisions of "--memory (virt-install)"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 8: Line 8:
  
  
   virt-install --install ubuntu20.04 --memory 2048 --disk size=1 --extra-args='console=ttyS0'
+
   [[virt-install --install]] ubuntu20.04 --memory 2048 --disk size=1 --extra-args='console=ttyS0'
 
   WARNING  KVM acceleration not available, using 'qemu'
 
   WARNING  KVM acceleration not available, using 'qemu'
 
   Using ubuntu20.04 --location http://archive.ubuntu.com/ubuntu/dists/focal/main/installer-amd64
 
   Using ubuntu20.04 --location http://archive.ubuntu.com/ubuntu/dists/focal/main/installer-amd64

Revision as of 09:27, 4 April 2021


--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.

See also

Advertising: