当前位置: 代码迷 >> 综合 >> Is there a way to enable UEFI support in KVM
  详细解决方案

Is there a way to enable UEFI support in KVM

热度:93   发布时间:2023-12-14 23:52:16.0

文章目录

  • install ovmf
  • use kvm with Virtual Machine Manager
  • virt-install

install ovmf

lwk@qwfys:~$ apt install ovmf
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:ovmf
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,157 kB of archives.
After this operation, 4,231 kB of additional disk space will be used.
Get:1 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/universe amd64 ovmf all 0~20180205.c0d9813c-2ubuntu0.1 [1,157 kB]
Fetched 1,157 kB in 3s (352 kB/s)
Selecting previously unselected package ovmf.
(Reading database ... 369487 files and directories currently installed.)
Preparing to unpack .../ovmf_0~20180205.c0d9813c-2ubuntu0.1_all.deb ...
Unpacking ovmf (0~20180205.c0d9813c-2ubuntu0.1) ...
Setting up ovmf (0~20180205.c0d9813c-2ubuntu0.1) ...
lwk@qwfys:~$ ll /usr/share/
total 1532
drwxr-xr-x  340 root root 12288 Dec  9 00:17 ./
drwxr-xr-x   11 root root  4096 Jul 29 18:26 ../
drwxr-xr-x    3 root root  4096 Jul 29 18:38 accountsservice/
drwxr-xr-x    2 root root  4096 Nov 25 22:41 aclocal/
drwxr-xr-x    2 root root  4096 Jul 29 18:39 acpi-support/
drwxr-xr-x    2 root root  4096 Jul 29 18:28 adduser/
drwxr-xr-x    9 root root  4096 Jul 29 18:41 alsa/
drwxr-xr-x    2 root root  4096 Jul 29 18:39 alsa-base/
drwxr-xr-x    2 root root  4096 Nov  9 01:51 appdata/
drwxr-xr-x    5 root root  4096 Jul 29 18:52 app-install/
drwxr-xr-x    2 root root  4096 Nov  6 23:55 application-registry/
drwxr-xr-x    3 root root 20480 Nov 29 23:31 applications/
drwxr-xr-x    3 root root  4096 Jan 25  2018 apport/
drwxr-xr-x    5 root root  4096 Aug  9 19:51 apps/
drwxr-xr-x    2 root root  4096 Oct 17 23:18 apt-file/
drwxr-xr-x    2 root root  4096 Jul 29 18:39 aptitude/
drwxr-xr-x    2 root root  4096 Jul 29 18:40 apturl/
drwxr-xr-x    2 root root  4096 Oct 16 20:37 aspell/
drwxr-xr-x    3 root root  4096 Nov 25 21:53 augeas/
drwxr-xr-x    2 root root  4096 Jul 29 18:40 avahi/
drwxr-xr-x    2 root root  4096 Jul 29 18:38 awk/
drwxr-xr-x   19 root root  4096 Aug  8 00:09 backgrounds/
drwxr-xr-x    2 root root  4096 Jul 29 18:31 base-files/
drwxr-xr-x    2 root root  4096 Jul 29 18:27 base-passwd/
drwxr-xr-x    4 root root  4096 Jul 29 18:39 bash-completion/
drwxr-xr-x    2 root root  4096 Nov 26 22:32 binfmts/
drwxr-xr-x    4 root root  4096 Jul 29 18:40 bison/
drwxr-xr-x    3 root root  4096 Jul 29 18:51 brltty/
drwxr-xr-x  121 root root  4096 Nov 25 22:41 bug/
drwxr-xr-x    3 root root  4096 Jul 29 18:28 ca-certificates/
drwxr-xr-x    2 root root  4096 Jul 29 18:40 ca-certificates-java/
drwxr-xr-x    3 root root  4096 Jul 29 18:49 caja-python/
drwxr-xr-x   10 root root  4096 Jul 29 18:37 calendar/
drwxr-xr-x    3 root root  4096 Jul 29 18:41 caribou/
drwxr-xr-x    2 root root  4096 Jul 29 18:51 casper/
drwxr-xr-x    2 root root  4096 Jul 31 04:25 chromium-browser/
drwxr-xr-x   19 root root  4096 Sep  5 22:06 cinnamon/
drwxr-xr-x    2 root root  4096 Aug  8 00:09 cinnamon-background-properties/
drwxr-xr-x    4 root root  4096 Jul 29 18:40 cinnamon-control-center/
drwxr-xr-x    7 root root  4096 Aug  7 23:29 cinnamon-screensaver/
drwxr-xr-x    3 root root  4096 Jul 29 18:41 cinnamon-session/
drwxr-xr-x    3 root root  4096 Jul 29 18:40 cinnamon-settings-daemon/
drwxr-xr-x    5 root root  4096 Jul 29 18:42 cli-common/
drwxr-xr-x    3 root root  4096 Jul 29 18:39 cmake/
drwxr-xr-x    3 root root  4096 Jul 29 18:46 cogl/
drwxr-xr-x    3 root root  4096 Jul 29 18:40 color/
drwxr-xr-x    7 root root  4096 Jul 29 18:42 colord/
drwxr-xr-x    2 root root  4096 Jul 29 18:39 command-not-found/
drwxr-xr-x    2 root root  4096 Jul 29 18:31 common-licenses/
drwxr-xr-x    2 root root 20480 Jul 29 18:33 consolefonts/
drwxr-xr-x    2 root root  4096 Jul 29 18:33 console-setup/
drwxr-xr-x    2 root root  4096 Jul 29 18:33 consoletrans/
drwxr-xr-x    3 root root  4096 Jul 29 18:42 cryptsetup/
drwxr-xr-x   18 root root  4096 Aug 21 21:40 cups/
drwxr-xr-x    7 root root  4096 Jul 29 18:40 dbus-1/
drwxr-xr-x    2 root root  4096 Jul 29 18:32 debconf/
drwxr-xr-x    3 root root  4096 Jul 29 18:28 debhelper/
drwxr-xr-x    2 root root  4096 Jul 29 18:27 debianutils/
drwxr-xr-x    3 root root  4096 Jul 29 18:40 defaults/
drwxr-xr-x    2 root root  4096 Sep  5 22:06 desktop-directories/
drwxr-xr-x    2 root root  4096 Jul 29 18:54 dict/
drwxr-xr-x    2 root root  4096 Jul 29 18:40 dictionaries-common/
drwxr-xr-x    2 root root  4096 Oct 21 22:36 distro-info/
drwxr-xr-x    4 root root  4096 Jul 29 18:46 djvu/
drwxr-xr-x    2 root root  4096 Jul 29 18:42 dns/
drwxr-xr-x    2 root root  4096 Jul 29 18:42 dnsmasq-base/
drwxr-xr-x 2328 root root 77824 Dec  9 00:17 doc/
drwxr-xr-x    3 root root  4096 Dec  7 20:04 doc-base/
drwxr-xr-x    2 root root  4096 Dec 16  2016 dotnet/
drwxr-xr-x    2 root root  4096 Sep 26 00:32 dpkg/
drwxr-xr-x    2 root root  4096 Oct 12 00:48 drirc.d/
drwxr-xr-x    2 root root  4096 Jul 29 18:42 ecryptfs-utils/
drwxr-xr-x    3 root root  4096 Jul 29 18:40 emacs/
drwxr-xr-x    2 root root  4096 Jul 29 18:41 enchant/
drwxr-xr-x    2 root root  4096 Jul 29 18:42 evolution-data-server/
drwxr-xr-x   14 root root  4096 Aug  8 00:16 fcitx/
drwxr-xr-x    4 root root  4096 Nov  7 00:06 fcitx-sogoupinyin/
drwxr-xr-x    3 root root  4096 Nov  2 00:09 file/
drwxr-xr-x    2 root root  4096 Sep 26 00:32 file-roller/
drwxr-xr-x    3 root root  4096 Aug 14 23:32 fish/
drwxr-xr-x    3 root root  4096 Jul 29 18:43 flatpak/
drwxr-xr-x    3 root root  4096 Jul 29 18:43 fontconfig/
drwxr-xr-x    9 root root  4096 Nov  7 00:06 fonts/
drwxr-xr-x    3 root root  4096 Jul 29 18:37 fonts-droid-fallback/
drwxr-xr-x    3 root root  4096 Jul 29 18:43 fonts-sil-padauk/
drwxr-xr-x    3 root root  4096 Jul 29 18:50 foo2qpdl/
drwxr-xr-x    3 root root  4096 Jul 29 18:50 foo2zjs/
drwxr-xr-x    5 root root  4096 Jul 29 18:43 fwupd/
drwxr-xr-x    3 root root  4096 Jul 29 18:29 gcc-8/
drwxr-xr-x    5 root root  4096 Jul 29 18:44 gconf/
drwxr-xr-x    3 root root  4096 Nov 25 21:53 GConf/
drwxr-xr-x    6 root root  4096 Jul 29 18:44 gdb/
drwxr-xr-x    3 root root  4096 Nov  6 23:55 gdebi/
drwxr-xr-x    5 root root  4096 Jul 29 18:51 gdm/
drwxr-xr-x    2 root root  4096 Jul 29 18:39 GeoIP/
drwxr-xr-x    7 root root  4096 Jul 29 18:40 gettext/
drwxr-xr-x    3 root root  4096 Jul 29 18:40 gettext-0.19.8/
drwxr-xr-x    4 root root  4096 Jul 29 18:40 ghostscript/
drwxr-xr-x    3 root root  4096 Jul 29 18:44 gimp/
drwxr-xr-x    2 root root  4096 Nov 25 22:41 gir-1.0/
drwxr-xr-x    4 root root  4096 Aug  8 00:53 git-core/
drwxr-xr-x    2 root root  4096 Oct  1  2017 git-flow/
drwxr-xr-x    3 root root  4096 Aug  8 00:53 gitweb/
drwxr-xr-x    7 root root  4096 Nov 25 22:41 glib-2.0/
drwxr-xr-x    3 root root  4096 Jul 29 18:38 glvnd/
drwxr-xr-x    5 root root  4096 Aug  8 00:01 gnome/
drwxr-xr-x    2 root root  4096 Aug  8 00:09 gnome-background-properties/
drwxr-xr-x    2 root root  4096 Jul 29 18:40 gnome-bluetooth/
drwxr-xr-x    4 root root  4096 Aug  8 00:12 gnome-control-center/
drwxr-xr-x    2 root root  4096 Jul 29 18:45 gnome-session/
drwxr-xr-x    3 root root  4096 Jul 29 18:51 gnome-settings-daemon/
drwxr-xr-x    3 root root  4096 Aug  7 23:34 gnome-shell/
drwxr-xr-x    2 root root  4096 Jul 29 18:45 gnome-system-monitor/
drwxr-xr-x    3 root root  4096 Oct 23 23:49 gnome-vpn-properties/
drwxr-xr-x    2 root root  4096 Jul 29 18:39 gnupg/
drwxr-xr-x    3 root root  4096 Jul 29 18:41 goa-1.0/
drwxr-xr-x    3 root root  4096 Jul 29 18:37 groff/
drwxr-xr-x    3 root root  4096 Dec  7 20:03 grub/
drwxr-xr-x    3 root root  4096 Aug  9 19:51 gst-plugins-bad/
drwxr-xr-x    3 root root  4096 Jul 29 18:41 gst-plugins-base/
drwxr-xr-x    3 root root  4096 Jul 29 18:45 gstreamer-1.0/
drwxr-xr-x    2 root root  4096 Nov 25 22:41 gtk-3.0/
drwxr-xr-x    3 root root  4096 Jul 29 18:46 gtk-doc/
drwxr-xr-x    2 root root  4096 Jul 29 18:45 gtk-engines/
drwxr-xr-x    3 root root  4096 Jul 29 18:42 gtksourceview-2.0/
drwxr-xr-x    4 root root  4096 Jul 29 18:44 gtksourceview-3.0/
drwxr-xr-x    5 root root  4096 Jul 29 18:45 gufw/
drwxr-xr-x    3 root root  4096 Jul 29 18:45 guile/
drwxr-xr-x    3 root root  4096 Jul 29 18:46 gutenprint/
drwxr-xr-x    4 root root  4096 Jul 29 18:42 gvfs/
drwxr-xr-x    3 root root  4096 Jul 29 18:37 hal/
drwxr-xr-x  150 root root  4096 Jul 29 18:41 help/
drwxr-xr-x    4 root root  4096 Jul 29 18:38 help-langpack/
drwxr-xr-x    2 root root  4096 Jul 29 18:45 hfsprogs/
drwxr-xr-x   12 root root  4096 Aug  7 23:29 hplip/
drwxr-xr-x    2 root root  4096 Jul 29 18:41 hunspell/
drwxr-xr-x    2 root root  4096 Jul 29 18:46 hwdata/
drwxr-xr-x    2 root root  4096 Jul 29 18:46 hyphen/
drwxr-xr-x    4 root root  4096 Jul 29 18:29 i18n/
drwxr-xr-x    6 root root  4096 Aug  8 00:16 ibus/
drwxr-xr-x    4 root root  4096 Aug  8 00:16 ibus-sunpinyin/
drwxr-xr-x    7 root root  4096 Aug  8 00:16 ibus-table/
drwxr-xr-x   51 root root  4096 Aug  9 19:51 icons/
drwxr-xr-x    3 root root  4096 Nov 25 22:41 icu/
drwxr-xr-x    2 root root  4096 Nov 16 19:54 ImageMagick-6/
drwxr-xr-x    3 root root  4096 Jul 29 18:46 im-config/
drwxr-xr-x    4 root root  4096 Jul 29 18:50 indicators/
drwxr-xr-x    2 root root  4096 Dec  7 20:03 info/
drwxr-xr-x    7 root root  4096 Nov  6 23:55 initramfs-tools/
drwxr-xr-x    2 root root  4096 Jul 29 18:46 intltool-debian/
drwxr-xr-x    2 root root  4096 Jul 29 18:39 iptables/
drwxr-xr-x    3 root root  4096 Jul 29 18:34 iso-codes/
drwxr-xr-x    2 root root 12288 Jul 29 18:36 iso-flag-png/
drwxr-xr-x    2 root root 12288 Sep 26 00:32 java/
drwxr-xr-x    3 root root  4096 Jul 29 18:43 javascript/
drwxr-xr-x    4 root root  4096 Jul 29 18:49 kde4/
drwxr-xr-x    2 root root  4096 Nov  7 00:06 keyrings/
drwxr-xr-x    2 root root  4096 Jul 29 18:42 keyutils/
drwxr-xr-x    2 root root  4096 Jul 29 18:39 language-tools/
drwxr-xr-x    3 root root  4096 Jul 29 18:49 ldm/
drwxr-xr-x    2 root root  4096 Jul 29 18:45 libaudio2/
drwxr-xr-x    2 root root  4096 Jul 29 18:27 libc-bin/
drwxr-xr-x    2 root root  4096 Jul 29 18:38 libdrm/
drwxr-xr-x    2 root root  4096 Jul 29 18:46 libexttextcat/
drwxr-xr-x    4 root root  4096 Jul 29 18:36 libgnomekbd/
drwxr-xr-x    3 root root  4096 Jul 29 18:42 libgphoto2/
drwxr-xr-x    2 root root  4096 Jul 29 18:43 libgweather/
drwxr-xr-x    3 root root  4096 Jul 29 18:46 liblangtag/
drwxr-xr-x    3 root root  4096 Jul 29 18:45 liblouis/
drwxr-xr-x    3 root root  4096 Jul 29 18:47 liblouisutdml/
drwxr-xr-x    2 root root  4096 Jul 29 18:41 libmate-desktop/
drwxr-xr-x    2 root root  4096 Jul 29 18:42 libmateweather/
drwxr-xr-x    2 root root  4096 Jul 29 18:47 libparse-debianchangelog-perl/
drwxr-xr-x    3 root root  4096 Jul 29 18:50 librarian/
drwxr-xr-x    6 root root  4096 Sep 26 00:32 libreoffice/
drwxr-xr-x    3 root root  4096 Jul 29 18:46 librevenge/
drwxr-xr-x    2 root root  4096 Apr  6  2017 libsensors4/
drwxr-xr-x    2 root root  4096 Jul 29 18:35 libthai/
drwxr-xr-x    3 root root  4096 Jul 29 18:45 libtimezonemap/
drwxr-xr-x    3 root root  4096 Dec  5 23:48 libvirt/
drwxr-xr-x    3 root root  4096 Jul 29 18:48 libvisual-plugins-0.4/
drwxr-xr-x    3 root root 12288 Jul 29 18:38 libwacom/
drwxr-xr-x    4 root root  4096 Jul 29 18:38 lightdm/
drwxr-xr-x   11 root root  4096 Jul 29 18:48 lintian/
drwxr-xr-x   13 root root  4096 Oct 26 23:35 linuxmint/
drwxr-xr-x    2 root root  4096 Jul 29 18:39 linux-sound-base/
drwxr-xr-x  248 root root  4096 Aug  9 19:51 locale/
drwxr-xr-x    2 root root  4096 Jul 29 18:48 localechooser/
drwxr-xr-x   11 root root  4096 Aug  7 23:29 locale-langpack/
drwxr-xr-x    2 root root  4096 Jul 29 18:29 locales/
drwxr-xr-x    3 root root  4096 Jul 29 18:50 m2300w/
drwxr-xr-x   36 root root  4096 Jul 29 18:50 man/
drwxr-xr-x    2 root root  4096 Jul 29 18:37 man-db/
drwxr-xr-x    3 root root  4096 Jul 29 18:41 mate/
drwxr-xr-x    2 root root  4096 Jul 29 18:41 mate-about/
drwxr-xr-x    2 root root  4096 Aug  8 00:09 mate-background-properties/
drwxr-xr-x    3 root root  4096 Jul 29 18:41 mate-menus/
drwxr-xr-x    5 root root  4096 Jul 29 18:42 mate-panel/
drwxr-xr-x    6 root root  4096 Aug  8 00:53 maven/
drwxr-xr-x    8 root root  4096 Aug  8 00:53 maven-repo/
drwxr-xr-x    2 root root  4096 Jul 29 18:49 mdm/
drwxr-xr-x    2 root root 12288 Jul 29 18:48 media-player-info/
drwxr-xr-x    2 root root  4096 Dec  7 22:58 menu/
drwxr-xr-x    3 root root  4096 Jul 29 18:42 metacity/
drwxr-xr-x    2 root root  4096 Sep 26 00:32 metainfo/
drwxr-xr-x   15 root root  4096 Nov  7 00:06 mime/
drwxr-xr-x    2 root root  4096 Oct 16 20:38 mime-info/
drwxr-xr-x    3 root root  4096 Jul 29 18:47 mimelnk/
drwxr-xr-x    8 root root  4096 Jul 29 18:49 mint-artwork/
drwxr-xr-x    2 root root  4096 Jul 29 18:40 mint-mirrors/
drwxr-xr-x   15 root root  4096 Jul 29 18:36 mintsources/
drwxr-xr-x    2 root root  4096 Jul 29 18:49 mintstick/
drwxr-xr-x    4 root root  4096 Aug  7 23:55 mint-upgrade-info/
drwxr-xr-x    2 root root  4096 Nov  2 00:09 misc/
drwxr-xr-x    2 root root  4096 Jul 29 18:51 mobile-broadband-provider-info/
drwxr-xr-x    2 root root  4096 Jul 29 18:46 mono/
lrwxrwxrwx    1 root root    19 Aug  7 23:26 .mono -> /etc/mono/certstore/
drwxr-xr-x    3 root root  4096 Jul 29 18:46 mono-2.0/
drwxr-xr-x    2 root root  4096 Jul 29 18:49 mousetweaks/
drwxr-xr-x    4 root root  4096 Jul 29 18:40 muffin/
drwxr-xr-x    3 root root  4096 Jul 29 18:41 myspell/
drwxr-xr-x   28 root root  4096 Oct 16 20:37 mysql-8.0/
drwxr-xr-x   12 root root  4096 Oct 16 20:38 mysql-workbench/
drwxr-xr-x    2 root root  4096 Jul 29 18:49 mythes/
drwxr-xr-x    2 root root  4096 Jul 29 18:39 nano/
drwxr-xr-x    4 root root  4096 Aug 29 23:24 nemo/
drwxr-xr-x    5 root root  4096 Jul 29 18:51 nemo-preview/
drwxr-xr-x    3 root root  4096 Jul 29 18:49 nemo-python/
drwxr-xr-x    3 root root  4096 Jul 29 18:49 nemo-share/
drwxr-xr-x    4 root root  4096 Nov 25 21:53 netcf/
drwxr-xr-x    3 root root  4096 Oct 12 00:48 netplan/
drwxr-xr-x    2 root root  4096 Nov  9 01:51 nvidia/
drwxr-xr-x    2 root root  4096 Aug  9 19:57 nvidia-prime/
drwxr-xr-x    3 root root  4096 Aug  7 23:34 omf/
drwxr-xr-x    6 root root  4096 Jul 29 18:49 onboard/
drwxr-xr-x    3 root root  4096 Aug  9 19:51 openal/
drwxr-xr-x    3 root root  4096 Nov  7 00:06 opencc/
drwxr-xr-x    2 root root  4096 Jul 29 18:49 openvpn/
drwxr-xr-x    3 root root  4096 Jul 29 18:45 orca/
drwxr-xr-x    8 root root  4096 Nov 25 21:53 osinfo/
drwxr-xr-x    2 root root  4096 Jul 29 18:49 os-prober/
drwxr-xr-x    2 root root  4096 Dec  9 00:17 ovmf/
drwxr-xr-x    2 root root  4096 Dec  9 00:17 OVMF/
drwxr-xr-x    3 root root  4096 Jul 29 18:43 p11-kit/
drwxr-xr-x    3 root root  4096 Jul 29 18:45 PackageKit/
drwxr-xr-x    2 root root  4096 Jul 29 18:32 pam/
drwxr-xr-x    2 root root  4096 Nov 29 23:31 pam-configs/
drwxr-xr-x    3 root root  4096 Jul 29 18:29 perl/
drwxr-xr-x   41 root root  4096 Oct 17 23:18 perl5/
drwxr-xr-x    2 root root  4096 Jul 29 18:46 perl-openssl-defaults/
drwxr-xr-x    6 root root  4096 Jul 29 18:50 pix/
drwxr-xr-x    5 root root  4096 Nov 29 23:31 pixmaps/
drwxr-xr-x    2 root root  4096 Nov 29 23:31 pkgconfig/
-rwxr-xr-x    1 root root  2111 Apr 22  2017 pkg-config-crosswrapper*
-rwxr-xr-x    1 root root  1620 Apr 22  2017 pkg-config-dpkghook*
drwxr-xr-x    3 root root  4096 Jul 29 18:38 plymouth/
drwxr-xr-x    2 root root  4096 Jul 29 18:50 pnm2ppa/
drwxr-xr-x    4 root root  4096 Jul 29 18:28 polkit-1/
drwxr-xr-x    6 root root  4096 Jul 29 18:38 poppler/
drwxr-xr-x    5 root root  4096 Jul 29 18:45 ppd/
drwxr-xr-x    2 root root  4096 Jul 29 18:49 ppp/
drwxr-xr-x    2 root root  4096 Aug  8 00:16 presage/
drwxr-xr-x    2 root root  4096 Jul 29 18:39 publicsuffix/
drwxr-xr-x    3 root root  4096 Jul 29 18:41 pulseaudio/
drwxr-xr-x    2 root root  4096 Jul 29 18:29 pyshared/
drwxr-xr-x    5 root root  4096 Jul 29 18:49 python/
drwxr-xr-x    6 root root  4096 Jul 29 18:41 python3/
drwxr-xr-x    3 root root  4096 Jul 29 18:34 python-apt/
drwxr-xr-x    4 root root  4096 Dec  9 00:17 qemu/
drwxr-xr-x    3 root root  4096 Aug  8 00:16 qt4/
drwxr-xr-x    3 root root  4096 Jul 29 18:50 qt5/
drwxr-xr-x    2 root root  4096 Aug  8 00:16 qtchooser/
drwxr-xr-x    2 root root  4096 Jul 29 18:29 readline/
drwxr-xr-x    3 root root  4096 Jul 29 18:50 rhythmbox/
drwxr-xr-x    2 root root  4096 Jul 29 18:29 rsyslog/
drwxr-xr-x    2 root root  4096 Oct 30 23:49 samba/
drwxr-xr-x    2 root root  4096 Aug  9 19:57 screen-resolution-extra/
drwxr-xr-x    3 root root  4096 Nov 25 21:53 seabios/
drwxr-xr-x    3 root root  4096 Jul 29 18:50 seahorse/
drwxr-xr-x    3 root root  4096 Jul 29 18:50 secureboot/
drwxr-xr-x    3 root root  4096 Mar 12  2018 sensible-utils/
drwxr-xr-x   12 root root  4096 Nov 25 22:41 sgml/
drwxr-xr-x    2 root root  4096 Jul 29 18:38 sgml-base/
drwxr-xr-x    2 root root  4096 Jul 29 18:42 sgml-data/
drwxr-xr-x    3 root root  4096 Jul 29 18:50 simple-scan/
drwxr-xr-x    3 root root  4096 Jul 29 18:50 slick-greeter/
drwxr-xr-x    4 root root  4096 Jul 29 18:45 snmp/
drwxr-xr-x    3 root root  4096 Jul 29 18:49 software-center/
drwxr-xr-x    2 root root  4096 Nov  7 00:06 sogoupinyin/
drwxr-xr-x    7 root root  4096 Nov  7 00:06 sogou-qimpanel/
drwxr-xr-x    3 root root  4096 Aug  9 19:51 solid/
drwxr-xr-x    6 root root  4096 Jul 29 18:49 sounds/
drwxr-xr-x    3 root root  4096 Jul 29 18:45 speech-dispatcher/
drwxr-xr-x    2 root root  4096 Jul 29 18:37 ssl-cert/
drwxr-xr-x    3 root root  4096 Oct 23 23:47 strongswan/
drwxr-xr-x    5 root root  4096 Jul 29 18:39 synaptic/
drwxr-xr-x    7 root root  4096 Jul 29 18:58 system-config-printer/
drwxr-xr-x    2 root root  4096 Nov 29 23:31 systemd/
drwxr-xr-x    3 root root  4096 Nov 25 21:53 systemtap/
drwxr-xr-x    4 root root  4096 Jul 29 18:50 system-tools-backends-2.0/
drwxr-xr-x    2 root root  4096 Jul 29 18:32 tabset/
drwxr-xr-x    3 root root  4096 Dec  7 22:58 tasksel/
drwxr-xr-x    2 root root  4096 Oct 26 23:37 tencent-qq/
drwxr-xr-x    3 root root  4096 Aug  8 00:16 terminfo/
drwxr-xr-x   60 root root  4096 Jul 29 18:49 themes/
drwxr-xr-x    2 root root  4096 Jul 29 18:51 thumbnailers/
drwxr-xr-x    3 root root  4096 Jul 29 18:51 timeshift/
drwxr-xr-x    3 root root  4096 Jul 29 18:50 tomboy/
drwxr-xr-x    3 root root  4096 Jul 29 18:50 transmission/
drwxr-xr-x    3 root root  4096 Jul 29 18:30 ubuntu-advantage-tools/
drwxr-xr-x    4 root root  4096 Nov 29 23:31 ubuntu-drivers-common/
drwxr-xr-x    6 root root  4096 Jul 29 18:49 ubuntu-system-adjustments/
drwxr-xr-x    4 root root  4096 Jul 29 18:39 ufw/
drwxr-xr-x    2 root root  4096 Jul 29 18:48 unity/
drwxr-xr-x    4 root root  4096 Jul 29 18:51 upstart/
drwxr-xr-x    2 root root  4096 Jul 29 18:51 usb_modeswitch/
drwxr-xr-x    3 root root  4096 Nov 25 22:41 vala/
drwxr-xr-x    5 root root  4096 Jul 29 18:42 vim/
drwxr-xr-x    8 root root  4096 Nov 25 21:53 virt-manager/
drwxr-xr-x    5 root root  4096 Oct 16 20:37 virtualbox/
drwxr-xr-x    4 root root  4096 Sep 15 18:00 vlc/
drwxr-xr-x    3 root root  4096 Aug  9 19:56 vulkan/
drwxr-xr-x  338 root root 20480 Aug  8 00:09 wallpapers/
drwxr-xr-x    2 root root  4096 Nov 25 22:41 wayland/
drwxr-xr-x    4 root root  4096 Nov 25 22:41 wayland-protocols/
drwxr-xr-x    4 root root  4096 Jul 29 18:45 webkitgtk-3.0/
drwxr-xr-x    5 root root  4096 Jul 29 18:51 X11/
drwxr-xr-x    2 root root  4096 Jul 29 18:42 xawtv/
drwxr-xr-x    3 root root  4096 Jul 29 18:51 xdg-desktop-portal/
drwxr-xr-x    4 root root  4096 Jul 29 18:51 xed/
drwxr-xr-x    3 root root  4096 Jul 29 18:49 xfce4/
drwxr-xr-x    2 root root  4096 Jul 29 18:50 xgreeters/
drwxr-xr-x   14 root root  4096 Nov 25 22:41 xml/
drwxr-xr-x    2 root root  4096 Jul 29 18:42 xml-core/
drwxr-xr-x    2 root root  4096 Jul 29 18:51 xplayer/
drwxr-xr-x    3 root root  4096 Jul 29 18:51 xreader/
drwxr-xr-x    2 root root  4096 Sep  5 22:06 xsessions/
drwxr-xr-x    5 root root  4096 Jul 29 18:51 xviewer/
drwxr-xr-x    6 root root  4096 Jul 29 18:51 yelp/
drwxr-xr-x    5 root root  4096 Jul 29 18:51 yelp-xsl/
drwxr-xr-x    3 root root  4096 Jul 29 18:42 zenity/
drwxr-xr-x   21 root root  4096 Oct 12 00:48 zoneinfo/
drwxr-xr-x    3 root root  4096 Jul 29 18:28 zsh/
lwk@qwfys:~$ ll /usr/share/ovmf
total 2064
drwxr-xr-x   2 root root    4096 Dec  9 00:17 ./
drwxr-xr-x 340 root root   12288 Dec  9 00:17 ../
-rw-r--r--   1 root root 2097152 Jul  9 00:07 OVMF.fd
lwk@qwfys:~$ ll /usr/share/OVMF
total 2064
drwxr-xr-x   2 root root    4096 Dec  9 00:17 ./
drwxr-xr-x 340 root root   12288 Dec  9 00:17 ../
-rw-r--r--   1 root root 1966080 Jul  9 00:07 OVMF_CODE.fd
-rw-r--r--   1 root root  131072 Jul  9 00:07 OVMF_VARS.fd
lwk@qwfys:~$ 

use kvm with Virtual Machine Manager

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

virt-install

lwk@qwfys:~$ virt-install  --virt-type=kvm  --name=lanzhou --vcpus=2 --memory=4096 --location=/home/lwk/Downloads/BACK/ubuntu-18.04.3-server-amd64.iso --disk path=/home/lwk/.kvm/lanzhou.qcow2,size=50,format=qcow2 --network  type=direct,source=wlp2s0,source_mode=bridge,model=virtio  --graphics none --extra-args='console=ttyS0' --force --boot uefiStarting install...
Retrieving file .treeinfo...                                                                                                                                                                                           |    0 B  00:00:00     
Retrieving file content...                                                                                                                                                                                             |    0 B  00:00:00     
Retrieving file info...                                                                                                                                                                                                |   68 B  00:00:00     
Retrieving file vmlinuz...                                                                                                                                                                                             | 7.9 MB  00:00:00     
Retrieving file initrd.gz...                                                                                                                                                                                           |  16 MB  00:00:00     
Allocating 'virtinst-vmlinuz.RBrKwN'                                                                                                                                                                                   | 7.9 MB  00:00:00     
Transferring virtinst-vmlinuz.RBrKwN                                                                                                                                                                                   | 7.9 MB  00:00:00     
Allocating 'virtinst-initrd.gz.Ljmnjk'                                                                                                                                                                                 |  16 MB  00:00:00     
Transferring virtinst-initrd.gz.Ljmnjk                                                                                                                                                                                 |  16 MB  00:00:00     
Allocating 'lanzhou.qcow2'                                                                                                                                                                                             |  50 GB  00:00:00     
Connected to domain lanzhou
Escape character is ^][=3h[=3h[=3h[    0.000000] Linux version 4.15.0-55-generic (buildd@lcy01-amd64-029) (gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)) #60-Ubuntu SMP Tue Jul 2 18:22:20 UTC 2019 (Ubuntu 4.15.0-55.60-generic 4.15.18)
[    0.000000] Command line: console=ttyS0
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000]   AMD AuthenticAMD
[    0.000000]   Centaur CentaurHauls
[    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[    0.000000] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
[    0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format.
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000be9ecfff] usable
[    0.000000] BIOS-e820: [mem 0x00000000be9ed000-0x00000000beb1afff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000beb1b000-0x00000000bfb9afff] usable
[    0.000000] BIOS-e820: [mem 0x00000000bfb9b000-0x00000000bfbf2fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000bfbf3000-0x00000000bfbfafff] ACPI data
[    0.000000] BIOS-e820: [mem 0x00000000bfbfb000-0x00000000bfbfefff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x00000000bfbff000-0x00000000bffdffff] usable
[    0.000000] BIOS-e820: [mem 0x00000000bffe0000-0x00000000bfffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000ffe00000-0x00000000ffffffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000013fffffff] usable
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] extended physical RAM map:
[    0.000000] reserve setup_data: [mem 0x0000000000000000-0x000000000009ffff] usable
[    0.000000] reserve setup_data: [mem 0x0000000000100000-0x00000000be7ea017] usable
[    0.000000] reserve setup_data: [mem 0x00000000be7ea018-0x00000000be833857] usable
[    0.000000] reserve setup_data: [mem 0x00000000be833858-0x00000000be9ecfff] usable
[    0.000000] reserve setup_data: [mem 0x00000000be9ed000-0x00000000beb1afff] reserved
[    0.000000] reserve setup_data: [mem 0x00000000beb1b000-0x00000000bfb9afff] usable
[    0.000000] reserve setup_data: [mem 0x00000000bfb9b000-0x00000000bfbf2fff] reserved
[    0.000000] reserve setup_data: [mem 0x00000000bfbf3000-0x00000000bfbfafff] ACPI data
[    0.000000] reserve setup_data: [mem 0x00000000bfbfb000-0x00000000bfbfefff] ACPI NVS
[    0.000000] reserve setup_data: [mem 0x00000000bfbff000-0x00000000bffdffff] usable
[    0.000000] reserve setup_data: [mem 0x00000000bffe0000-0x00000000bfffffff] reserved
[    0.000000] reserve setup_data: [mem 0x00000000ffe00000-0x00000000ffffffff] reserved
[    0.000000] reserve setup_data: [mem 0x0000000100000000-0x000000013fffffff] usable
[    0.000000] efi: EFI v2.70 by EDK II
[    0.000000] efi:  SMBIOS=0xbfbcb000  ACPI=0xbfbfa000  ACPI 2.0=0xbfbfa014  MEMATTR=0xbed4d298 
[    0.000000] secureboot: Secure boot disabled
[    0.000000] SMBIOS 2.8 present.
[    0.000000] DMI: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 0.0.0 02/06/2015
[    0.000000] Hypervisor detected: KVM
[    0.000000] e820: last_pfn = 0x140000 max_arch_pfn = 0x400000000
[    0.000000] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT  
[    0.000000] e820: last_pfn = 0xbffe0 max_arch_pfn = 0x400000000
[    0.000000] Scanning 1 areas for low memory corruption
[    0.000000] RAMDISK: [mem 0x7f034000-0x7fffffff]
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x00000000BFBFA014 000024 (v02 BOCHS )
[    0.000000] ACPI: XSDT 0x00000000BFBF90E8 000034 (v01 BOCHS  BXPCFACP 00000001      01000013)
[    0.000000] ACPI: FACP 0x00000000BFBF6000 000074 (v01 BOCHS  BXPCFACP 00000001 BXPC 00000001)
[    0.000000] ACPI: DSDT 0x00000000BFBF7000 001402 (v01 BOCHS  BXPCDSDT 00000001 BXPC 00000001)
[    0.000000] ACPI: FACS 0x00000000BFBFD000 000040
[    0.000000] ACPI: APIC 0x00000000BFBF5000 000080 (v01 BOCHS  BXPCAPIC 00000001 BXPC 00000001)
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at [mem 0x0000000000000000-0x000000013fffffff]
[    0.000000] NODE_DATA(0) allocated [mem 0x13ffd2000-0x13fffcfff]
[    0.000000] kvm-clock: cpu 0, msr 1:3ff51001, primary cpu clock
[    0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
[    0.000000] kvm-clock: using sched offset of 6527777014 cycles
[    0.000000] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.000000]   DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
[    0.000000]   Normal   [mem 0x0000000100000000-0x000000013fffffff]
[    0.000000]   Device   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000001000-0x000000000009ffff]
[    0.000000]   node   0: [mem 0x0000000000100000-0x00000000be9ecfff]
[    0.000000]   node   0: [mem 0x00000000beb1b000-0x00000000bfb9afff]
[    0.000000]   node   0: [mem 0x00000000bfbff000-0x00000000bffdffff]
[    0.000000]   node   0: [mem 0x0000000100000000-0x000000013fffffff]
[    0.000000] Reserved but unavailable: 531 pages
[    0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000013fffffff]
[    0.000000] ACPI: PM-Timer IO Port: 0xb008
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
[    0.000000] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] smpboot: Allowing 2 CPUs, 0 hotplug CPUs
[    0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000fffff]
[    0.000000] PM: Registered nosave memory: [mem 0xbe7ea000-0xbe7eafff]
[    0.000000] PM: Registered nosave memory: [mem 0xbe833000-0xbe833fff]
[    0.000000] PM: Registered nosave memory: [mem 0xbe9ed000-0xbeb1afff]
[    0.000000] PM: Registered nosave memory: [mem 0xbfb9b000-0xbfbf2fff]
[    0.000000] PM: Registered nosave memory: [mem 0xbfbf3000-0xbfbfafff]
[    0.000000] PM: Registered nosave memory: [mem 0xbfbfb000-0xbfbfefff]
[    0.000000] PM: Registered nosave memory: [mem 0xbffe0000-0xbfffffff]
[    0.000000] PM: Registered nosave memory: [mem 0xc0000000-0xffdfffff]
[    0.000000] PM: Registered nosave memory: [mem 0xffe00000-0xffffffff]
[    0.000000] e820: [mem 0xc0000000-0xffdfffff] available for PCI devices
[    0.000000] Booting paravirtualized kernel on KVM
[    0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns
[    0.000000] random: get_random_bytes called from start_kernel+0x99/0x4fd with crng_init=0
[    0.000000] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:2 nr_cpu_ids:2 nr_node_ids:1
[    0.000000] percpu: Embedded 46 pages/cpu @        (ptrval) s151552 r8192 d28672 u1048576
[    0.000000] KVM setup async PF for cpu 0
[    0.000000] kvm-stealtime: cpu 0, msr 13fc24040
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1029628
[    0.000000] Policy zone: Normal
[    0.000000] Kernel command line: console=ttyS0
[    0.000000] Memory: 3998024K/4192180K available (12300K kernel code, 2473K rwdata, 4276K rodata, 2408K init, 2416K bss, 194156K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Kernel/User page tables isolation: enabled
[    0.000000] ftrace: allocating 39219 entries in 154 pages
[    0.004000] Hierarchical RCU implementation.
[    0.004000]  RCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=2.
[    0.004000]  Tasks RCU enabled.
[    0.004000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.004000] NR_IRQS: 524544, nr_irqs: 440, preallocated irqs: 16
[    0.004000] Console: colour dummy device 80x25
[    0.004000] console [ttyS0] enabled
[    0.004000] ACPI: Core revision 20170831
[    0.004000] ACPI: 1 ACPI AML tables successfully acquired and loaded
[    0.004009] APIC: Switch to symmetric I/O mode setup
[    0.004874] x2apic enabled
[    0.005467] Switched APIC routing to physical x2apic.
[    0.007144] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.007925] tsc: Detected 2808.000 MHz processor
[    0.008009] Calibrating delay loop (skipped) preset value.. 5616.00 BogoMIPS (lpj=11232000)
[    0.009050] pid_max: default: 32768 minimum: 301
[    0.009845] Security Framework initialized
[    0.010368] Yama: becoming mindful.
[    0.010826] AppArmor: AppArmor initialized
[    0.012347] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.013836] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.015110] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.016012] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.017519] mce: CPU supports 10 MCE banks
[    0.018317] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[    0.019207] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[    0.020005] Spectre V2 : Mitigation: Full generic retpoline
[    0.020908] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[    0.022401] Spectre V2 : Enabling Restricted Speculation for firmware calls
[    0.024016] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier
[    0.025624] Speculative Store Bypass: Vulnerable
[    0.026650] MDS: Vulnerable: Clear CPU buffers attempted, no microcode
[    0.028107] Freeing SMP alternatives memory: 36K
[    0.030228] smpboot: CPU0: Intel Core Processor (Broadwell, no TSX, IBRS) (family: 0x6, model: 0x3d, stepping: 0x2)
[    0.032000] Performance Events: unsupported p6 CPU model 61 no PMU driver, software events only.
[    0.032000] Hierarchical SRCU implementation.
[    0.032511] NMI watchdog: Perf event create on CPU 0 failed with -2
[    0.033717] NMI watchdog: Perf NMI watchdog permanently disabled
[    0.034962] smp: Bringing up secondary CPUs ...
[    0.035859] x86: Booting SMP configuration:
[    0.036008] .... node  #0, CPUs:      #1
[    0.004000] kvm-clock: cpu 1, msr 1:3ff51041, secondary cpu clock
[    0.040086] KVM setup async PF for cpu 1
[    0.040729] kvm-stealtime: cpu 1, msr 13fd24040
[    0.041361] smp: Brought up 1 node, 2 CPUs
[    0.041361] smpboot: Max logical packages: 2
[    0.041621] smpboot: Total of 2 processors activated (11232.00 BogoMIPS)
[    0.044310] devtmpfs: initialized
[    0.044950] x86/mm: Memory block size: 128MB
[    0.045903] evm: security.selinux
[    0.046407] evm: security.SMACK64
[    0.046898] evm: security.SMACK64EXEC
[    0.047449] evm: security.SMACK64TRANSMUTE
[    0.048005] evm: security.SMACK64MMAP
[    0.048547] evm: security.apparmor
[    0.049058] evm: security.ima
[    0.049477] evm: security.capability
[    0.050044] PM: Registering ACPI NVS region [mem 0xbfbfb000-0xbfbfefff] (16384 bytes)
[    0.050044] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.052012] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.052886] pinctrl core: initialized pinctrl subsystem
[    0.053773] RTC time: 15:16:54, date: 12/09/19
[    0.054561] NET: Registered protocol family 16
[    0.055289] audit: initializing netlink subsys (disabled)
[    0.056063] audit: type=2000 audit(1575904614.849:1): state=initialized audit_enabled=0 res=1
[    0.057579] cpuidle: using governor ladder
[    0.057579] cpuidle: using governor menu
[    0.057579] ACPI: bus type PCI registered
[    0.058024] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.060126] PCI: Using configuration type 1 for base access
[    0.060960] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.061036] ACPI: Added _OSI(Module Device)
[    0.061036] ACPI: Added _OSI(Processor Device)
[    0.064019] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.064888] ACPI: Added _OSI(Processor Aggregator Device)
[    0.065879] ACPI: Added _OSI(Linux-Dell-Video)
[    0.066690] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.067657] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[    0.069077] ACPI: Interpreter enabled
[    0.069795] ACPI: (supports S0 S5)
[    0.070440] ACPI: Using IOAPIC for interrupt routing
[    0.071426] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.072163] ACPI: Enabled 2 GPEs in block 00 to 0F
[    0.075326] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.076014] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI]
[    0.077233] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
[    0.078418] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.
[    0.080240] acpiphp: Slot [2] registered
[    0.080986] acpiphp: Slot [4] registered
[    0.081728] acpiphp: Slot [5] registered
[    0.082468] acpiphp: Slot [6] registered
[    0.083208] acpiphp: Slot [7] registered
[    0.083947] acpiphp: Slot [8] registered
[    0.084049] acpiphp: Slot [9] registered
[    0.084786] acpiphp: Slot [10] registered
[    0.085541] acpiphp: Slot [11] registered
[    0.086299] acpiphp: Slot [12] registered
[    0.087056] acpiphp: Slot [13] registered
[    0.087807] acpiphp: Slot [14] registered
[    0.088049] acpiphp: Slot [15] registered
[    0.088801] acpiphp: Slot [16] registered
[    0.089557] acpiphp: Slot [17] registered
[    0.090392] acpiphp: Slot [18] registered
[    0.091259] acpiphp: Slot [19] registered
[    0.092083] acpiphp: Slot [20] registered
[    0.092941] acpiphp: Slot [21] registered
[    0.094344] acpiphp: Slot [22] registered
[    0.095650] acpiphp: Slot [23] registered
[    0.096110] acpiphp: Slot [24] registered
[    0.096672] acpiphp: Slot [25] registered
[    0.097215] acpiphp: Slot [26] registered
[    0.097756] acpiphp: Slot [27] registered
[    0.098297] acpiphp: Slot [28] registered
[    0.098840] acpiphp: Slot [29] registered
[    0.099526] acpiphp: Slot [30] registered
[    0.100046] acpiphp: Slot [31] registered
[    0.100793] PCI host bridge to bus 0000:00
[    0.101544] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
[    0.102778] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    0.103999] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[    0.104004] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xfebfffff window]
[    0.105158] pci_bus 0000:00: root bus resource [mem 0x800000000-0x80000bfff window]
[    0.106286] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.110212] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
[    0.111232] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io  0x03f6]
[    0.112004] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
[    0.113077] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
[    0.114880] pci 0000:00:01.3: quirk: [io  0xb000-0xb03f] claimed by PIIX4 ACPI
[    0.115862] pci 0000:00:01.3: quirk: [io  0xb100-0xb10f] claimed by PIIX4 SMB
[    0.143560] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 10 *11)
[    0.144116] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 10 *11)
[    0.145133] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 *10 11)
[    0.146041] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 *10 11)
[    0.146850] ACPI: PCI Interrupt Link [LNKS] (IRQs *9)
[    0.148032] SCSI subsystem initialized
[    0.148864] vgaarb: loaded
[    0.149631] ACPI: bus type USB registered
[    0.150550] usbcore: registered new interface driver usbfs
[    0.152041] usbcore: registered new interface driver hub
[    0.153026] usbcore: registered new device driver usb
[    0.153990] EDAC MC: Ver: 3.0.0
[    0.153990] Registered efivars operations
[    0.153990] PCI: Using ACPI for IRQ routing
[    0.156268] NetLabel: Initializing
[    0.156899] NetLabel:  domain hash size = 128
[    0.157686] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.158729] NetLabel:  unlabeled traffic allowed by default
[    0.159767] clocksource: Switched to clocksource kvm-clock
[    0.163993] VFS: Disk quotas dquot_6.6.0
[    0.164762] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.166064] AppArmor: AppArmor Filesystem Enabled
[    0.166947] pnp: PnP ACPI init
[    0.167886] pnp: PnP ACPI: found 5 devices
[    0.174612] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    0.177325] pci 0000:00:02.0: can't claim BAR 6 [mem 0xfff80000-0xffffffff pref]: no compatible bridge window
[    0.180269] pci 0000:00:02.0: BAR 6: assigned [mem 0xc0080000-0xc00fffff pref]
[    0.181665] NET: Registered protocol family 2
[    0.182652] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
[    0.184027] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
[    0.185295] TCP: Hash tables configured (established 32768 bind 32768)
[    0.186513] UDP hash table entries: 2048 (order: 4, 65536 bytes)
[    0.187731] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
[    0.188965] NET: Registered protocol family 1
[    0.189774] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[    0.190875] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[    0.191946] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[    0.215849] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 10
[    0.259462] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
[    0.303415] ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
[    0.346610] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
[    0.370530] Unpacking initramfs...
[    0.561609] Freeing initrd memory: 16176K
[    0.562223] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.563042] software IO TLB [mem 0xb7fbe000-0xbbfbe000] (64MB) mapped at [        (ptrval)-        (ptrval)]
[    0.564330] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2879c5f06f2, max_idle_ns: 440795220049 ns
[    0.565631] Scanning for low memory corruption every 60 seconds
[    0.566867] Initialise system trusted keyrings
[    0.567511] Key type blacklist registered
[    0.568066] workingset: timestamp_bits=36 max_order=20 bucket_order=0
[    0.569596] zbud: loaded
[    0.570286] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.571134] fuse init (API version 7.26)
[    0.572703] Key type asymmetric registered
[    0.573246] Asymmetric key parser 'x509' registered
[    0.573888] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.574861] io scheduler noop registered
[    0.575524] io scheduler deadline registered
[    0.576237] io scheduler cfq registered (default)
[    0.577507] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[    0.579259] ACPI: Power Button [PWRF]
[    0.644250] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[    0.668428] 00:04: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    0.670695] Linux agpgart interface v0.103
[    0.672273] loop: module loaded
[    0.673327] scsi host0: ata_piix
[    0.673973] scsi host1: ata_piix
[    0.674603] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc0e0 irq 14
[    0.675950] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc0e8 irq 15
[    0.677791] libphy: Fixed MDIO Bus: probed
[    0.678635] tun: Universal TUN/TAP device driver, 1.6
[    0.679695] PPP generic driver version 2.4.2
[    0.680391] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.681351] ehci-pci: EHCI PCI platform driver
[    0.702610] ehci-pci 0000:00:03.7: EHCI Host Controller
[    0.703496] ehci-pci 0000:00:03.7: new USB bus registered, assigned bus number 1
[    0.704626] ehci-pci 0000:00:03.7: irq 10, io mem 0xc0001000
[    0.720135] ehci-pci 0000:00:03.7: USB 2.0 started, EHCI 1.00
[    0.722408] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.724539] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.726504] usb usb1: Product: EHCI Host Controller
[    0.727851] usb usb1: Manufacturer: Linux 4.15.0-55-generic ehci_hcd
[    0.729774] usb usb1: SerialNumber: 0000:00:03.7
[    0.731300] hub 1-0:1.0: USB hub found
[    0.732418] hub 1-0:1.0: 6 ports detected
[    0.733706] ehci-platform: EHCI generic platform driver
[    0.734735] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.735975] ohci-pci: OHCI PCI platform driver
[    0.736860] ohci-platform: OHCI generic platform driver
[    0.738145] uhci_hcd: USB Universal Host Controller Interface driver
[    0.762161] uhci_hcd 0000:00:03.0: UHCI Host Controller
[    0.762983] uhci_hcd 0000:00:03.0: new USB bus registered, assigned bus number 2
[    0.763936] uhci_hcd 0000:00:03.0: detected 2 ports
[    0.764623] uhci_hcd 0000:00:03.0: irq 10, io base 0x0000c0a0
[    0.765435] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    0.766335] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.767636] usb usb2: Product: UHCI Host Controller
[    0.768415] usb usb2: Manufacturer: Linux 4.15.0-55-generic uhci_hcd
[    0.769400] usb usb2: SerialNumber: 0000:00:03.0
[    0.770312] hub 2-0:1.0: USB hub found
[    0.770867] hub 2-0:1.0: 2 ports detected
[    0.793089] uhci_hcd 0000:00:03.1: UHCI Host Controller
[    0.794095] uhci_hcd 0000:00:03.1: new USB bus registered, assigned bus number 3
[    0.795095] uhci_hcd 0000:00:03.1: detected 2 ports
[    0.796074] uhci_hcd 0000:00:03.1: irq 11, io base 0x0000c080
[    0.797150] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[    0.798279] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.799503] usb usb3: Product: UHCI Host Controller
[    0.800436] usb usb3: Manufacturer: Linux 4.15.0-55-generic uhci_hcd
[    0.801709] usb usb3: SerialNumber: 0000:00:03.1
[    0.802586] hub 3-0:1.0: USB hub found
[    0.803194] hub 3-0:1.0: 2 ports detected
[    0.825150] uhci_hcd 0000:00:03.2: UHCI Host Controller
[    0.826290] uhci_hcd 0000:00:03.2: new USB bus registered, assigned bus number 4
[    0.827380] uhci_hcd 0000:00:03.2: detected 2 ports
[    0.828142] uhci_hcd 0000:00:03.2: irq 11, io base 0x0000c060
[    0.829028] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[    0.830003] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.831064] usb usb4: Product: UHCI Host Controller
[    0.831758] usb usb4: Manufacturer: Linux 4.15.0-55-generic uhci_hcd
[    0.832711] usb usb4: SerialNumber: 0000:00:03.2
[    0.833745] hub 4-0:1.0: USB hub found┌───────────────────────┤ [!!] Select a language ├────────────────────────┐│                                                                         ││ Choose the language to be used for the installation process. The        ││ selected language will also be the default language for the installed   ││ system.                                                                 ││                                                                         ││ Language:                                                               ││                                                                         ││                               C                                         ││                               C.UTF-8                                   ││                               English                                   ││                                                                         ││     <Go Back>                                                           ││                                                                         │└─────────────────────────────────────────────────────────────────────────┘<Tab> moves; <Space> selects; <Enter> activates buttons┌──────────────────────┤ [!!] Select your location ├──────────────────────┐│                                                                         ││ The selected location will be used to set your time zone and also for   ││ example to help select the system locale. Normally this should be the   ││ country where you live.                                                 ││                                                                         ││ This is a shortlist of locations based on the language you selected.    ││ Choose "other" if your location is not listed.                          ││                                                                         ││ Country, territory or area:                                             ││                                                                         ││                         Philippines                                     ││                         Seychelles           ?                          ││                         Singapore            ?                          ││                         South Africa                                    ││                         United Kingdom       ?                          ││                         United States                                   ││                                                                         ││     <Go Back>                                                           ││                                                                         │└─────────────────────────────────────────────────────────────────────────┘<Tab> moves; <Space> selects; <Enter> activates buttons┌──────────────────────┤ [!!] Select your location ├──────────────────────┐│                                                                         ││ The selected location will be used to set your time zone and also for   ││ example to help select the system locale. Normally this should be the   ││ country where you live.                                                 ││                                                                         ││ This is a shortlist of locations based on the language you selected.    ││ Choose "other" if your location is not listed.                          ││                                                                         ││ Country, territory or area:                                             ││                                                                         ││                         South Africa                                    ││                         United Kingdom       ?                          ││                         United States        ?                          ││                         Zambia               ?                          ││                         Zimbabwe                                        ││                         other                                           ││                                                                         ││     <Go Back>                                                           ││                                                                         │└─────────────────────────────────────────────────────────────────────────┘<Tab> moves; <Space> selects; <Enter> activates buttons┌──────────────────────┤ [!!] Select your location ├──────────────────────┐│                                                                         ││ The selected location will be used to set your time zone and also for   ││ example to help select the system locale. Normally this should be the   ││ country where you live.                                                 ││                                                                         ││ Select the continent or region to which your location belongs.          ││                                                                         ││ Continent or region:                                                    ││                                                                         ││                           Asia                                          ││                           Atlantic Ocean   ?                            ││                           Caribbean                                     ││                           Central America  ?                            ││                           Europe           ?                            ││                           Indian Ocean     ?                            ││                           North America                                 ││                                                                         ││     <Go Back>                                                           ││                                                                         │└─────────────────────────────────────────────────────────────────────────┘<Tab> moves; <Space> selects; <Enter> activates buttons┌──────────────────────┤ [!!] Select your location ├──────────────────────┐│                                                                         ││ The selected location will be used to set your time zone and also for   ││ example to help select the system locale. Normally this should be the   ││ country where you live.                                                 ││                                                                         ││ Listed are locations for: Asia. Use the <Go Back> option to select a    ││ different continent or region if your location is not listed.           ││                                                                         ││ Country, territory or area:                                             ││                                                                         ││                Bangladesh                                               ││                Bhutan                                                   ││                Brunei Darussalam                       ?                ││                Cambodia                                ?                ││                China                                   ?                ││                Hong Kong                                                ││                                                                         ││     <Go Back>                                                           ││                                                                         │└─────────────────────────────────────────────────────────────────────────┘<Tab> moves; <Space> selects; <Enter> activates buttons┌────────────────────────┤ [!] Configure locales ├────────────────────────┐│                                                                         ││ There is no locale defined for the combination of language and          ││ country you have selected. You can now select your preference from      ││ the locales available for the selected language. The locale that will   ││ be used is listed in the second column.                                 ││                                                                         ││ Country to base default locale settings on:                             ││                                                                         ││                 New Zealand          -  en_NZ.UTF-8                     ││                 Nigeria              -  en_NG        ?                  ││                 Philippines          -  en_PH.UTF-8  ?                  ││                 Seychelles           -  en_SC.UTF-8  ?                  ││                 Singapore            -  en_SG.UTF-8  ?                  ││                 South Africa         -  en_ZA.UTF-8                     ││                 United Kingdom       -  en_GB.UTF-8  ?                  ││                 United States        -  en_US.UTF-8                     ││                                                                         ││     <Go Back>                                                           ││                                                                         │└─────────────────────────────────────────────────────────────────────────┘<F1> for help; <Tab> moves; <Space> selects; <Enter> activates buttons┌───────────────────┤ [!] Configure the keyboard ├────────────────────┐│                                                                     ││ You can try to have your keyboard layout detected by pressing a     ││ series of keys. If you do not want to do this, you will be able to  ││ select your keyboard layout from a list.                            ││                                                                     ││ Detect keyboard layout?                                             ││                                                                     ││     <Go Back>                                     <Yes>    <No>     ││                                                                     │└─────────────────────────────────────────────────────────────────────┘<Tab> moves; <Space> selects; <Enter> activates buttons┌─────────────────────┤ [!] Configure the keyboard ├──────────────────────┐│                                                                         ││ The layout of keyboards varies per country, with some countries         ││ having multiple common layouts. Please select the country of origin     ││ for the keyboard of this computer.                                      ││                                                                         ││ Country of origin for the keyboard:                                     ││                                                                         ││              Dutch                                                      ││              Dzongkha                                   ?               ││              English (Australian)                                       ││              English (Cameroon)                         ?               ││              English (Ghana)                            ?               ││              English (Nigeria)                          ?               ││              English (South Africa)                     ?               ││              English (UK)                               ?               ││              English (US)                                               ││                                                                         ││     <Go Back>                                                           ││                                                                         │└─────────────────────────────────────────────────────────────────────────┘<Tab> moves; <Space> selects; <Enter> activates buttons┌─────────────────────┤ [!] Configure the keyboard ├──────────────────────┐│                                                                         ││ Please select the layout matching the keyboard for this machine.        ││                                                                         ││ Keyboard layout:                                                        ││                                                                         ││  English (US)                                                           ││  English (US) - Cherokee                                                ││  English (US) - English (Colemak)                                   ?   ││  English (US) - English (Dvorak)                                    ?   ││  English (US) - English (Dvorak, alt. intl.)                        ?   ││  English (US) - English (Dvorak, intl., with dead keys)             ?   ││  English (US) - English (Dvorak, left-handed)                       ?   ││  English (US) - English (Dvorak, right-handed)                      ?   ││  English (US) - English (Macintosh)                                 ?   ││  English (US) - English (US, alt. intl.)                            ?   ││  English (US) - English (US, euro on 5)                                 ││                                                                         ││     <Go Back>                                                           ││                                                                         │└─────────────────────────────────────────────────────────────────────────┘<Tab> moves; <Space> selects; <Enter> activates buttons┌────────────────────┤ [!!] Configure the network ├─────────────────────┐│                                                                       ││                   Network autoconfiguration failed                    ││ Your network is probably not using the DHCP protocol. Alternatively,  ││ the DHCP server may be slow or some network hardware is not working   ││ properly.                                                             ││                                                                       ││                              <Continue>                               ││                                                                       │└───────────────────────────────────────────────────────────────────────┘<Tab> moves; <Space> selects; <Enter> activates buttons┌─────────────────────┤ [!!] Configure the network ├──────────────────────┐│                                                                         ││ From here you can choose to retry DHCP network autoconfiguration        ││ (which may succeed if your DHCP server takes a long time to respond)    ││ or to configure the network manually. Some DHCP servers require a       ││ DHCP hostname to be sent by the client, so you can also choose to       ││ retry DHCP network autoconfiguration with a hostname that you           ││ provide.                                                                ││                                                                         ││ Network configuration method:                                           ││                                                                         ││         Retry network autoconfiguration                                 ││         Retry network autoconfiguration with a DHCP hostname            ││         Configure network manually                                      ││         Do not configure the network at this time                       ││                                                                         ││     <Go Back>                                                           ││                                                                         │└─────────────────────────────────────────────────────────────────────────┘<Tab> moves; <Space> selects; <Enter> activates buttons┌─────────────────┤ [!!] Configure the network ├──────────────────┐│                                                                 ││ The IP address is unique to your computer and may be:           ││                                                                 ││  * four numbers separated by periods (IPv4);                    ││  * blocks of hexadecimal characters separated by colons (IPv6). ││                                                                 ││ You can also optionally append a CIDR netmask (such as "/24").  ││                                                                 ││ If you don't know what to use here, consult your network        ││ administrator.                                                  ││                                                                 ││ IP address:                                                     ││                                                                 ││ 192.168.31.79__________________________________________________ ││                                                                 ││     <Go Back>                                    <Continue>     ││                                                                 │└─────────────────────────────────────────────────────────────────┘<Tab> moves; <Space> selects; <Enter> activates buttons┌────────────────────┤ [!!] Configure the network ├────────────────────┐│                                                                      ││ The netmask is used to determine which machines are local to your    ││ network.  Consult your network administrator if you do not know the  ││ value.  The netmask should be entered as four numbers separated by   ││ periods.                                                             ││                                                                      ││ Netmask:                                                             ││                                                                      ││ 255.255.255.0_______________________________________________________ ││                                                                      ││     <Go Back>                                         <Continue>     ││                                                                      │└──────────────────────────────────────────────────────────────────────┘<Tab> moves; <Space> selects; <Enter> activates buttons┌────────────────────┤ [!!] Configure the network ├─────────────────────┐│                                                                       ││ The gateway is an IP address (four numbers separated by periods) that ││ indicates the gateway router, also known as the default router.  All  ││ traffic that goes outside your LAN (for instance, to the Internet) is ││ sent through this router.  In rare circumstances, you may have no     ││ router; in that case, you can leave this blank.  If you don't know    ││ the proper answer to this question, consult your network              ││ administrator.                                                        ││                                                                       ││ Gateway:                                                              ││                                                                       ││ 192.168.31.1_________________________________________________________ ││                                                                       ││     <Go Back>                                          <Continue>     ││                                                                       │└───────────────────────────────────────────────────────────────────────┘<Tab> moves; <Space> selects; <Enter> activates buttons┌────────────────────┤ [!!] Configure the network ├─────────────────────┐│                                                                       ││ The name servers are used to look up host names on the network.       ││ Please enter the IP addresses (not host names) of up to 3 name        ││ servers, separated by spaces. Do not use commas. The first name       ││ server in the list will be the first to be queried. If you don't want ││ to use any name server, just leave this field blank.                  ││                                                                       ││ Name server addresses:                                                ││                                                                       ││ 223.5.5.5 223.6.6.6__________________________________________________ ││                                                                       ││     <Go Back>                                          <Continue>     ││                                                                       │└───────────────────────────────────────────────────────────────────────┘<Tab> moves; <Space> selects; <Enter> activates buttons┌───────────────┤ Detecting link on ens2; please wait... ├────────────────┐│                                                                         ││                                    0%                                   ││                                                                         ││                                                                         ││                                                                         ││     <Cancel>                                                            ││                                                                         │└─────────────────────────────────────────────────────────────────────────┘┌─────────────────────┤ [!] Configure the network ├─────────────────────┐│                                                                       ││ Please enter the hostname for this system.                            ││                                                                       ││ The hostname is a single word that identifies your system to the      ││ network. If you don't know what your hostname should be, consult your ││ network administrator. If you are setting up your own home network,   ││ you can make something up here.                                       ││                                                                       ││ Hostname:                                                             ││                                                                       ││ lanzhou______________________________________________________________ ││                                                                       ││     <Go Back>                                          <Continue>     ││                                                                       │└───────────────────────────────────────────────────────────────────────┘<Tab> moves; <Space> selects; <Enter> activates buttons┌─────────────────────┤ [!] Configure the network ├─────────────────────┐│                                                                       ││ The domain name is the part of your Internet address to the right of  ││ your host name.  It is often something that ends in .com, .net, .edu, ││ or .org.  If you are setting up a home network, you can make          ││ something up, but make sure you use the same domain name on all your  ││ computers.                                                            ││                                                                       ││ Domain name:                                                          ││                                                                       ││ _____________________________________________________________________ ││                                                                       ││     <Go Back>                                          <Continue>     ││                                                                       │└───────────────────────────────────────────────────────────────────────┘<Tab> moves; <Space> selects; <Enter> activates buttons┌──────────────────┤ [!!] Set up users and passwords ├──────────────────┐│                                                                       ││ A user account will be created for you to use instead of the root     ││ account for non-administrative activities.                            ││                                                                       ││ Please enter the real name of this user. This information will be     ││ used for instance as default origin for emails sent by this user as   ││ well as any program which displays or uses the user's real name. Your ││ full name is a reasonable choice.                                     ││                                                                       ││ Full name for the new user:                                           ││                                                                       ││ lwk__________________________________________________________________ ││                                                                       ││     <Go Back>                                          <Continue>     ││                                                                       │└───────────────────────────────────────────────────────────────────────┘<Tab> moves; <Space> selects; <Enter> activates buttons┌──────────────────┤ [!!] Set up users and passwords ├──────────────────┐│                                                                       ││ Select a username for the new account. Your first name is a           ││ reasonable choice. The username should start with a lower-case        ││ letter, which can be followed by any combination of numbers and more  ││ lower-case letters.                                                   ││                                                                       ││ Username for your account:                                            ││                                                                       ││ lwk__________________________________________________________________ ││                                                                       ││     <Go Back>                                          <Continue>     ││                                                                       │└───────────────────────────────────────────────────────────────────────┘<Tab> moves; <Space> selects; <Enter> activates buttons┌───────────────┤ [!!] Set up users and passwords ├───────────────┐│                                                                 ││ A good password will contain a mixture of letters, numbers and  ││ punctuation and should be changed at regular intervals.         ││                                                                 ││ Choose a password for the new user:                             ││                                                                 ││ ******_________________________________________________________ ││                                                                 ││ [ ] Show Password in Clear                                      ││                                                                 ││     <Go Back>                                    <Continue>     ││                                                                 │└─────────────────────────────────────────────────────────────────┘<Tab> moves; <Space> selects; <Enter> activates buttons┌──────────────────┤ [!!] Set up users and passwords ├──────────────────┐│                                                                       ││ Please enter the same user password again to verify you have typed it ││ correctly.                                                            ││                                                                       ││ Re-enter password to verify:                                          ││                                                                       ││ ******_______________________________________________________________ ││                                                                       ││ [ ] Show Password in Clear                                            ││                                                                       ││     <Go Back>                                          <Continue>     ││                                                                       │└───────────────────────────────────────────────────────────────────────┘<Tab> moves; <Space> selects; <Enter> activates buttons┌─────────────────┤ [!!] Set up users and passwords ├──────────────────┐│                                                                      ││ You entered a password that consists of less than eight characters,  ││ which is considered too weak. You should choose a stronger password. ││                                                                      ││ Use weak password?                                                   ││                                                                      ││     <Go Back>                                      <Yes>    <No>     ││                                                                      │└──────────────────────────────────────────────────────────────────────┘<Tab> moves; <Space> selects; <Enter> activates buttons┌────────────────────────┤ Setting up the clock ├─────────────────────────┐│                                                                         ││                                    0%                                   ││                                                                         ││ Getting the time from a network time server...                          ││                                                                         ││     <Cancel>                                                            ││                                                                         │└─────────────────────────────────────────────────────────────────────────┘┌────────────────────────┤ [!!] Partition disks ├─────────────────────────┐│                                                                         ││ The installer can guide you through partitioning a disk (using          ││ different standard schemes) or, if you prefer, you can do it            ││ manually. With guided partitioning you will still have a chance later   ││ to review and customise the results.                                    ││                                                                         ││ If you choose guided partitioning for an entire disk, you will next     ││ be asked which disk should be used.                                     ││                                                                         ││ Partitioning method:                                                    ││                                                                         ││          Guided - use entire disk                                       ││          Guided - use entire disk and set up LVM                        ││          Guided - use entire disk and set up encrypted LVM              ││          Manual                                                         ││                                                                         ││     <Go Back>                                                           ││                                                                         │└─────────────────────────────────────────────────────────────────────────┘<Tab> moves; <Space> selects; <Enter> activates buttons┌────────────────────────┤ [!!] Partition disks ├─────────────────────────┐│                                                                         ││ Note that all data on the disk you select will be erased, but not       ││ before you have confirmed that you really want to make the changes.     ││                                                                         ││ Select disk to partition:                                               ││                                                                         ││          Virtual disk 1 (vda) - 53.7 GB Virtio Block Device             ││                                                                         ││     <Go Back>                                                           ││                                                                         │└─────────────────────────────────────────────────────────────────────────┘<Tab> moves; <Space> selects; <Enter> activates buttons┌───────────────────────┤ [!!] Partition disks ├────────────────────────┐│                                                                       ││ Before the Logical Volume Manager can be configured, the current      ││ partitioning scheme has to be written to disk. These changes cannot   ││ be undone.                                                            ││                                                                       ││ After the Logical Volume Manager is configured, no additional changes ││ to the partitioning scheme of disks containing physical volumes are   ││ allowed during the installation. Please decide if you are satisfied   ││ with the current partitioning scheme before continuing.               ││                                                                       ││ The partition tables of the following devices are changed:            ││    Virtual disk 1 (vda)                                               ││                                                                       ││ Write the changes to disks and configure LVM?                         ││                                                                       ││     <Yes>                                                    <No>     ││                                                                       │└───────────────────────────────────────────────────────────────────────┘<Tab> moves; <Space> selects; <Enter> activates buttons┌─────────────────────────┤ [!] Partition disks ├─────────────────────────┐│                                                                         ││ You may use the whole volume group for guided partitioning, or part     ││ of it. If you use only part of it, or if you add more disks later,      ││ then you will be able to grow logical volumes later using the LVM       ││ tools, so using a smaller part of the volume group at installation      ││ time may offer more flexibility.                                        ││                                                                         ││ The minimum size of the selected partitioning recipe is 1.9 GB (or      ││ 3%); please note that the packages you choose to install may require    ││ more space than this. The maximum available size is 53.1 GB.            ││                                                                         ││ Hint: "max" can be used as a shortcut to specify the maximum size, or   ││ enter a percentage (e.g. "20%") to use that percentage of the maximum   ││ size.                                                                   ││                                                                         ││ 53.1 GB______________________________________________________________   ││                                                                         ││     <Go Back>                                            <Continue>     ││                                                                         │└─────────────────────────────────────────────────────────────────────────┘<Tab> moves; <Space> selects; <Enter> activates buttons┌───────────────────────┤ [!!] Partition disks ├───────────────────────┐│                                                                      ││ If you continue, the changes listed below will be written to the     ││ disks. Otherwise, you will be able to make further changes manually. ││                                                                      ││ The partition tables of the following devices are changed:           ││    LVM VG ubuntu-vg, LV root                                         ││    LVM VG ubuntu-vg, LV swap_1                                       ││    Virtual disk 1 (vda)                                              ││                                                                      ││ The following partitions are going to be formatted:                  ││    LVM VG ubuntu-vg, LV root as ext4                                 ││    LVM VG ubuntu-vg, LV swap_1 as swap                               ││    partition #1 of Virtual disk 1 (vda) as ESP                       ││                                                                      ││ Write the changes to disks?                                          ││                                                                      ││     <Yes>                                                   <No>     ││                                                                      │└──────────────────────────────────────────────────────────────────────┘<Tab> moves; <Space> selects; <Enter> activates buttons┌────────────────┤ [!] Configure the package manager ├────────────────┐│                                                                     ││ If you need to use a HTTP proxy to access the outside world, enter  │┌─│ the proxy information here. Otherwise, leave this blank.            │ ┐│ │                                                                     │ ││ │ The proxy information should be given in the standard form of       │ ││ │ "http://[[user][:pass]@]host[:port]/".                              │ ││ │                                                                     │ ││ │ HTTP proxy information (blank for none):                            │ ││ │                                                                     │ ││ │ ___________________________________________________________________ │ │└─│                                                                     │ ┘│     <Go Back>                                        <Continue>     ││                                                                     │└─────────────────────────────────────────────────────────────────────┘<Tab> moves; <Space> selects; <Enter> activates buttons┌───────────────────────┤ [!] Configuring tasksel ├───────────────────────┐│                                                                         ││ Applying updates on a frequent basis is an important part of keeping    ││ your system secure.                                                     ││                                                                         ││ By default, updates need to be applied manually using package           ││ management tools. Alternatively, you can choose to have this system     ││ automatically download and install security updates, or you can         ││ choose to manage this system over the web as part of a group of         ││ systems using Canonical's Landscape service.                            ││                                                                         ││ How do you want to manage upgrades on this system?                      ││                                                                         ││                No automatic updates                                     ││                Install security updates automatically                   ││                Manage system with Landscape                             ││                                                                         │└─────────────────────────────────────────────────────────────────────────┘<Tab> moves; <Space> selects; <Enter> activates buttons┌───────────────────────┤ [!] Software selection ├────────────────────────┐│                                                                         ││ At the moment, only the core of the system is installed. To tune the    ││ system to your needs, you can choose to install one or more of the      ││ following predefined collections of software.                           ││                                                                         ││ Choose software to install:                                             ││                                                                         ││                         [ ] DNS server                                  ││                         [ ] LAMP server                                 ││                         [ ] Mail server                                 ││                         [ ] PostgreSQL database                         ││                         [ ] Print server                                ││                         [ ] Samba file server                           ││                         [*] OpenSSH server                              ││                         [ ] Basic Ubuntu server                         ││                                                                         ││                               <Continue>                                ││                                                                         │└─────────────────────────────────────────────────────────────────────────┘<Tab> moves; <Space> selects; <Enter> activates buttons┌────────────────────┤ [!] Finish the installation ├────────────────────┐│                                                                       │┌│ System clocks are generally set to Coordinated Universal Time (UTC).  │││ The operating system uses your time zone to convert system time into  │││ local time. This is recommended unless you also use another operating │││ system that expects the clock to be set to local time.                │││                                                                       │││ Is the system clock set to UTC?                                       │└│                                                                       ││     <Go Back>                                       <Yes>    <No>     ││                                                                       │└───────────────────────────────────────────────────────────────────────┘<Tab> moves; <Space> selects; <Enter> activates buttons┌───────────────────┤ [!!] Finish the installation ├────────────────────┐│                                                                       │┌│                         Installation complete                         │││ Installation is complete, so it is time to boot into your new system. │││ Make sure to remove the installation media (CD-ROM, floppies), so     │││ that you boot into the new system rather than restarting the          │││ installation.                                                         │││                                                                       │└│     <Go Back>                                          <Continue>     ││                                                                       │└───────────────────────────────────────────────────────────────────────┘<Tab> moves; <Space> selects; <Enter> activates buttons┌─────────────────────┤ Finishing the installation ├──────────────────────┐│                                                                         ││                                   96%                                   ││                                                                         │
The system is going down NOW!ystem...                                       │
Sent SIGTERM to all processes                                               │
Sent SIGKILL to all processes───────────────────────────────────────────────┘
Requesting system reboot[ 2326.083628] reboot: Restarting systemDomain creation completed.
Restarting guest.
Connected to domain lanzhou
Escape character is ^][=3h[=3h[=3hGNU GRUB  version 2.02+----------------------------------------------------------------------------+|*Ubuntu                                                                     | | Advanced options for Ubuntu                                                || System setup                                                               ||                                                                            ||                                                                            ||                                                                            ||                                                                            ||                                                                            ||                                                                            ||                                                                            ||                                                                            | +----------------------------------------------------------------------------+Use the ^ and v keys to select which entry is highlighted.          Press enter to boot the selected OS, `e' to edit the commands       before booting or `c' for a command-line. ESC to return             previous menu.  error: no suitable video mode found.
Booting in blind mode

参考文献

  • How to use qemu with UEFI on Ubuntu
  • https://wiki.ubuntu.com/UEFI/OVMF
  • Snippet 0x0E: Booting image files and ISOs with KVM/QEMU (EFI and BIOS)
  • Virt-Manager (QEMU/KVM) install internal error when using UEFI x86_64 OVMF firmware
  相关解决方案