Difference between revisions of "Virt-install --install"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 3: Line 3:
  
 
  virt-install --install ubuntu20.04 --memory 2048 --disk size=1
 
  virt-install --install ubuntu20.04 --memory 2048 --disk size=1
  virt-install --install ubuntu20.04 --memory 2048 --disk size=1  
+
  virt-install --install ubuntu20.04 --memory 2048 --disk size=1 [[--extra-args]]='console=ttyS0'
  
  

Revision as of 08:45, 4 April 2021

virt-install --install

virt-install --install ubuntu20.04 --memory 2048 --disk size=1
virt-install --install ubuntu20.04 --memory 2048 --disk size=1 --extra-args='console=ttyS0'


virt-install --install ubuntu20.04 --memory 2048 --disk size=1
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
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:03:17
Retrieving file initrd.gz...                                                                      |  49 MB  00:14:54
Allocating 'disk-1.qcow2'                                                                         | 1.0 GB  00:00:00
Domain installation still in progress.
Waiting for installation to complete.
.../...


With errors

WARNING  KVM acceleration not available, using 'qemu'
WARNING  Requested memory 512 MiB is less than the recommended 2048 MiB for OS ubuntu20.04
WARNING  CDROM media does not print to the text console by default, so you likely will not see text install output. You might want to use --location. See the man page for examples of 
using --location with CDROM media
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
WARNING  Requested memory 500 MiB is less than the recommended 2048 MiB for OS ubuntu20.04
WARNING  Graphics requested but DISPLAY is not set. Not running virt-viewer.
WARNING  No console to launch for the guest, defaulting to --wait -1


ERROR    Cannot get interface MTU on 'br0': No such device

See also

Advertising: