daily pastebin goal
24%
SHARE
TWEET

Untitled

a guest Sep 13th, 2017 186 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. curtin: Installation started. (0.1.0~bzr505-0ubuntu1~16.04.1)
  2. third party drivers not installed or necessary.
  3. Creating new GPT entries.
  4. The operation has completed successfully.
  5. Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
  6. Get:2 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
  7. Get:3 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
  8. Get:4 http://archive.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
  9. Get:5 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [7532 kB]
  10. Get:6 http://archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [144 kB]
  11. Get:7 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [637 kB]
  12. Get:8 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [541 kB]
  13. Get:9 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [15.5 kB]
  14. Get:10 http://archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [4884 B]
  15. Get:11 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [5800 B]
  16. Get:12 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 Packages [356 kB]
  17. Get:13 http://archive.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [168 kB]
  18. Get:14 http://archive.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [2748 B]
  19. Fetched 9713 kB in 24s (399 kB/s)
  20. Reading package lists...
  21. Reading package lists...
  22. Building dependency tree...
  23. Reading state information...
  24. The following NEW packages will be installed:
  25.   bridge-utils
  26. 0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
  27. Need to get 28.6 kB of archives.
  28. After this operation, 102 kB of additional disk space will be used.
  29. Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 bridge-utils amd64 1.5-9ubuntu1 [28.6 kB]
  30. Fetched 28.6 kB in 20s (1430 B/s)
  31. E: Can not write log (Is /dev/pts mounted?) - posix_openpt (2: No such file or directory)
  32. Selecting previously unselected package bridge-utils.
  33. (Reading database ... 25513 files and directories currently installed.)
  34. Preparing to unpack .../bridge-utils_1.5-9ubuntu1_amd64.deb ...
  35. Unpacking bridge-utils (1.5-9ubuntu1) ...
  36. Processing triggers for man-db (2.7.5-1) ...
  37. Setting up bridge-utils (1.5-9ubuntu1) ...
  38. Reading package lists...
  39. Building dependency tree...
  40. Reading state information...
  41. The following additional packages will be installed:
  42.   crda grub-common grub-gfxpayload-lists grub-pc grub-pc-bin grub2-common iw
  43.   libfreetype6 libnl-3-200 libnl-genl-3-200 linux-firmware
  44.   linux-headers-4.4.0-93 linux-headers-4.4.0-93-generic linux-headers-generic
  45.   linux-image-4.4.0-93-generic linux-image-extra-4.4.0-93-generic
  46.   linux-image-generic os-prober thermald wireless-regdb
  47. Suggested packages:
  48.   multiboot-doc grub-emu xorriso desktop-base fdutils linux-doc-4.4.0
  49.   | linux-source-4.4.0 linux-tools
  50. The following NEW packages will be installed:
  51.   crda grub-common grub-gfxpayload-lists grub-pc grub-pc-bin grub2-common iw
  52.   libfreetype6 libnl-3-200 libnl-genl-3-200 linux-firmware linux-generic
  53.   linux-headers-4.4.0-93 linux-headers-4.4.0-93-generic linux-headers-generic
  54.   linux-image-4.4.0-93-generic linux-image-extra-4.4.0-93-generic
  55.   linux-image-generic os-prober thermald wireless-regdb
  56. 0 upgraded, 21 newly installed, 0 to remove and 6 not upgraded.
  57. Need to get 111 MB of archives.
  58. After this operation, 479 MB of additional disk space will be used.
  59. Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libfreetype6 amd64 2.6.1-0.1ubuntu2.3 [316 kB]
  60. Get:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub-common amd64 2.02~beta2-36ubuntu3.12 [1776 kB]
  61. Get:3 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub2-common amd64 2.02~beta2-36ubuntu3.12 [512 kB]
  62. Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub-pc-bin amd64 2.02~beta2-36ubuntu3.12 [889 kB]
  63. Get:5 http://archive.ubuntu.com/ubuntu xenial/main amd64 grub-gfxpayload-lists amd64 0.7 [3658 B]
  64. Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub-pc amd64 2.02~beta2-36ubuntu3.12 [197 kB]
  65. Get:7 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnl-3-200 amd64 3.2.27-1ubuntu0.16.04.1 [52.2 kB]
  66. Get:8 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnl-genl-3-200 amd64 3.2.27-1ubuntu0.16.04.1 [11.2 kB]
  67. Get:9 http://archive.ubuntu.com/ubuntu xenial/main amd64 wireless-regdb all 2015.07.20-1ubuntu1 [9058 B]
  68. Get:10 http://archive.ubuntu.com/ubuntu xenial/main amd64 iw amd64 3.17-1 [63.5 kB]
  69. Get:11 http://archive.ubuntu.com/ubuntu xenial/main amd64 crda amd64 3.13-1 [60.5 kB]
  70. Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-firmware all 1.157.12 [38.8 MB]
  71. Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-image-4.4.0-93-generic amd64 4.4.0-93.116 [21.9 MB]
  72. Get:14 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-image-extra-4.4.0-93-generic amd64 4.4.0-93.116 [35.9 MB]
  73. Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-image-generic amd64 4.4.0.93.98 [2286 B]
  74. Get:16 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-headers-4.4.0-93 all 4.4.0-93.116 [9981 kB]
  75. Get:17 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-headers-4.4.0-93-generic amd64 4.4.0-93.116 [812 kB]
  76. Get:18 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-headers-generic amd64 4.4.0.93.98 [2268 B]
  77. Get:19 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-generic amd64 4.4.0.93.98 [1790 B]
  78. Get:20 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 os-prober amd64 1.70ubuntu3.3 [19.1 kB]
  79. Get:21 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 thermald amd64 1.5-2ubuntu4 [187 kB]
  80. Preconfiguring packages ...
  81. Fetched 111 MB in 22s (4979 kB/s)
  82. E: Can not write log (Is /dev/pts mounted?) - posix_openpt (2: No such file or directory)
  83. Selecting previously unselected package libfreetype6:amd64.
  84. (Reading database ... 25539 files and directories currently installed.)
  85. Preparing to unpack .../libfreetype6_2.6.1-0.1ubuntu2.3_amd64.deb ...
  86. Unpacking libfreetype6:amd64 (2.6.1-0.1ubuntu2.3) ...
  87. Selecting previously unselected package grub-common.
  88. Preparing to unpack .../grub-common_2.02~beta2-36ubuntu3.12_amd64.deb ...
  89. Unpacking grub-common (2.02~beta2-36ubuntu3.12) ...
  90. Selecting previously unselected package grub2-common.
  91. Preparing to unpack .../grub2-common_2.02~beta2-36ubuntu3.12_amd64.deb ...
  92. Unpacking grub2-common (2.02~beta2-36ubuntu3.12) ...
  93. Selecting previously unselected package grub-pc-bin.
  94. Preparing to unpack .../grub-pc-bin_2.02~beta2-36ubuntu3.12_amd64.deb ...
  95. Unpacking grub-pc-bin (2.02~beta2-36ubuntu3.12) ...
  96. Selecting previously unselected package grub-gfxpayload-lists.
  97. Preparing to unpack .../grub-gfxpayload-lists_0.7_amd64.deb ...
  98. Unpacking grub-gfxpayload-lists (0.7) ...
  99. Selecting previously unselected package grub-pc.
  100. Preparing to unpack .../grub-pc_2.02~beta2-36ubuntu3.12_amd64.deb ...
  101. Unpacking grub-pc (2.02~beta2-36ubuntu3.12) ...
  102. Selecting previously unselected package libnl-3-200:amd64.
  103. Preparing to unpack .../libnl-3-200_3.2.27-1ubuntu0.16.04.1_amd64.deb ...
  104. Unpacking libnl-3-200:amd64 (3.2.27-1ubuntu0.16.04.1) ...
  105. Selecting previously unselected package libnl-genl-3-200:amd64.
  106. Preparing to unpack .../libnl-genl-3-200_3.2.27-1ubuntu0.16.04.1_amd64.deb ...
  107. Unpacking libnl-genl-3-200:amd64 (3.2.27-1ubuntu0.16.04.1) ...
  108. Selecting previously unselected package wireless-regdb.
  109. Preparing to unpack .../wireless-regdb_2015.07.20-1ubuntu1_all.deb ...
  110. Unpacking wireless-regdb (2015.07.20-1ubuntu1) ...
  111. Selecting previously unselected package iw.
  112. Preparing to unpack .../archives/iw_3.17-1_amd64.deb ...
  113. Unpacking iw (3.17-1) ...
  114. Selecting previously unselected package crda.
  115. Preparing to unpack .../archives/crda_3.13-1_amd64.deb ...
  116. Unpacking crda (3.13-1) ...
  117. Selecting previously unselected package linux-firmware.
  118. Preparing to unpack .../linux-firmware_1.157.12_all.deb ...
  119. Unpacking linux-firmware (1.157.12) ...
  120. Selecting previously unselected package linux-image-4.4.0-93-generic.
  121. Preparing to unpack .../linux-image-4.4.0-93-generic_4.4.0-93.116_amd64.deb ...
  122. Done.
  123. Unpacking linux-image-4.4.0-93-generic (4.4.0-93.116) ...
  124. Selecting previously unselected package linux-image-extra-4.4.0-93-generic.
  125. Preparing to unpack .../linux-image-extra-4.4.0-93-generic_4.4.0-93.116_amd64.deb ...
  126. Unpacking linux-image-extra-4.4.0-93-generic (4.4.0-93.116) ...
  127. Selecting previously unselected package linux-image-generic.
  128. Preparing to unpack .../linux-image-generic_4.4.0.93.98_amd64.deb ...
  129. Unpacking linux-image-generic (4.4.0.93.98) ...
  130. Selecting previously unselected package linux-headers-4.4.0-93.
  131. Preparing to unpack .../linux-headers-4.4.0-93_4.4.0-93.116_all.deb ...
  132. Unpacking linux-headers-4.4.0-93 (4.4.0-93.116) ...
  133. Selecting previously unselected package linux-headers-4.4.0-93-generic.
  134. Preparing to unpack .../linux-headers-4.4.0-93-generic_4.4.0-93.116_amd64.deb ...
  135. Unpacking linux-headers-4.4.0-93-generic (4.4.0-93.116) ...
  136. Selecting previously unselected package linux-headers-generic.
  137. Preparing to unpack .../linux-headers-generic_4.4.0.93.98_amd64.deb ...
  138. Unpacking linux-headers-generic (4.4.0.93.98) ...
  139. Selecting previously unselected package linux-generic.
  140. Preparing to unpack .../linux-generic_4.4.0.93.98_amd64.deb ...
  141. Unpacking linux-generic (4.4.0.93.98) ...
  142. Selecting previously unselected package os-prober.
  143. Preparing to unpack .../os-prober_1.70ubuntu3.3_amd64.deb ...
  144. Unpacking os-prober (1.70ubuntu3.3) ...
  145. Selecting previously unselected package thermald.
  146. Preparing to unpack .../thermald_1.5-2ubuntu4_amd64.deb ...
  147. Unpacking thermald (1.5-2ubuntu4) ...
  148. Processing triggers for libc-bin (2.23-0ubuntu9) ...
  149. Processing triggers for man-db (2.7.5-1) ...
  150. Processing triggers for systemd (229-4ubuntu19) ...
  151. Processing triggers for ureadahead (0.100.0-19) ...
  152. Processing triggers for install-info (6.1.0.dfsg.1-5) ...
  153. Processing triggers for dbus (1.10.6-1ubuntu3.3) ...
  154. Setting up libfreetype6:amd64 (2.6.1-0.1ubuntu2.3) ...
  155. Setting up grub-common (2.02~beta2-36ubuntu3.12) ...
  156. update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
  157. Running in chroot, ignoring request.
  158. invoke-rc.d: policy-rc.d denied execution of start.
  159. Setting up grub2-common (2.02~beta2-36ubuntu3.12) ...
  160. Setting up grub-pc-bin (2.02~beta2-36ubuntu3.12) ...
  161. Setting up libnl-3-200:amd64 (3.2.27-1ubuntu0.16.04.1) ...
  162. Setting up libnl-genl-3-200:amd64 (3.2.27-1ubuntu0.16.04.1) ...
  163. Setting up wireless-regdb (2015.07.20-1ubuntu1) ...
  164. Setting up iw (3.17-1) ...
  165. Setting up crda (3.13-1) ...
  166. Setting up linux-firmware (1.157.12) ...
  167. Setting up linux-image-4.4.0-93-generic (4.4.0-93.116) ...
  168. Running depmod.
  169. update-initramfs: deferring update (hook will be called later)
  170. Examining /etc/kernel/postinst.d.
  171. run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-93-generic /boot/vmlinuz-4.4.0-93-generic
  172. run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-93-generic /boot/vmlinuz-4.4.0-93-generic
  173. update-initramfs: Generating /boot/initrd.img-4.4.0-93-generic
  174. W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
  175. run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.4.0-93-generic /boot/vmlinuz-4.4.0-93-generic
  176. run-parts: executing /etc/kernel/postinst.d/update-notifier 4.4.0-93-generic /boot/vmlinuz-4.4.0-93-generic
  177. Setting up linux-image-extra-4.4.0-93-generic (4.4.0-93.116) ...
  178. run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-93-generic /boot/vmlinuz-4.4.0-93-generic
  179. run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-93-generic /boot/vmlinuz-4.4.0-93-generic
  180. update-initramfs: Generating /boot/initrd.img-4.4.0-93-generic
  181. W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
  182. run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.4.0-93-generic /boot/vmlinuz-4.4.0-93-generic
  183. run-parts: executing /etc/kernel/postinst.d/update-notifier 4.4.0-93-generic /boot/vmlinuz-4.4.0-93-generic
  184. Setting up linux-image-generic (4.4.0.93.98) ...
  185. Setting up linux-headers-4.4.0-93 (4.4.0-93.116) ...
  186. Setting up linux-headers-4.4.0-93-generic (4.4.0-93.116) ...
  187. Setting up linux-headers-generic (4.4.0.93.98) ...
  188. Setting up linux-generic (4.4.0.93.98) ...
  189. Setting up os-prober (1.70ubuntu3.3) ...
  190. Setting up thermald (1.5-2ubuntu4) ...
  191. Running in chroot, ignoring request.
  192. invoke-rc.d: policy-rc.d denied execution of start.
  193. Setting up grub-pc (2.02~beta2-36ubuntu3.12) ...
  194.  
  195. Creating config file /etc/default/grub with new version
  196. Generating grub configuration file ...
  197. Found linux image: /boot/vmlinuz-4.4.0-93-generic
  198. Found initrd image: /boot/initrd.img-4.4.0-93-generic
  199.   /run/lvm/lvmetad.socket: connect failed: No such file or directory
  200.   WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
  201. done
  202. Setting up grub-gfxpayload-lists (0.7) ...
  203. Processing triggers for libc-bin (2.23-0ubuntu9) ...
  204. Processing triggers for systemd (229-4ubuntu19) ...
  205. Processing triggers for ureadahead (0.100.0-19) ...
  206. Processing triggers for dbus (1.10.6-1ubuntu3.3) ...
  207. Setting up swapspace version 1, size = 8 GiB (8589930496 bytes)
  208. no label, UUID=e507b464-be7a-485f-baa8-2dec5f18d86c
  209. Reading package lists...
  210. Building dependency tree...
  211. Reading state information...
  212. The following package was automatically installed and is no longer required:
  213.   grub-pc-bin
  214. Use 'apt autoremove' to remove it.
  215. The following additional packages will be installed:
  216.   efibootmgr grub-efi-amd64-bin libefivar0 mokutil sbsigntool secureboot-db
  217.   shim
  218. The following packages will be REMOVED:
  219.   grub-gfxpayload-lists grub-pc
  220. The following NEW packages will be installed:
  221.   efibootmgr grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed
  222.   libefivar0 mokutil sbsigntool secureboot-db shim shim-signed
  223. 0 upgraded, 10 newly installed, 2 to remove and 6 not upgraded.
  224. Need to get 1908 kB of archives.
  225. After this operation, 10.3 MB of additional disk space will be used.
  226. Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 libefivar0 amd64 0.23-2 [44.3 kB]
  227. Get:2 http://archive.ubuntu.com/ubuntu xenial/main amd64 efibootmgr amd64 0.12-4 [20.3 kB]
  228. Get:3 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub-efi-amd64-bin amd64 2.02~beta2-36ubuntu3.12 [660 kB]
  229. Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub-efi-amd64 amd64 2.02~beta2-36ubuntu3.12 [65.6 kB]
  230. Get:5 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub-efi-amd64-signed amd64 1.66.12+2.02~beta2-36ubuntu3.12 [296 kB]
  231. Get:6 http://archive.ubuntu.com/ubuntu xenial/main amd64 mokutil amd64 0.3.0-0ubuntu3 [20.4 kB]
  232. Get:7 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 sbsigntool amd64 0.6-0ubuntu10.1 [54.2 kB]
  233. Get:8 http://archive.ubuntu.com/ubuntu xenial/main amd64 secureboot-db amd64 1.1 [2740 B]
  234. Get:9 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 shim amd64 0.9+1474479173.6c180c6-1ubuntu1 [434 kB]
  235. Get:10 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 shim-signed amd64 1.32~16.04.1+0.9+1474479173.6c180c6-1ubuntu1 [310 kB]
  236. Preconfiguring packages ...
  237. Fetched 1908 kB in 23s (82.0 kB/s)
  238. E: Can not write log (Is /dev/pts mounted?) - posix_openpt (2: No such file or directory)
  239. (Reading database ... 59820 files and directories currently installed.)
  240. Removing grub-gfxpayload-lists (0.7) ...
  241. Removing grub-pc (2.02~beta2-36ubuntu3.12) ...
  242. Saving menu.lst backup in /boot/grub/menu.lst_backup_by_grub2_prerm
  243. Running update-grub Legacy to remove our core.img in it
  244.     Searching for GRUB installation directory ... found: /boot/grub
  245.     /usr/lib/grub-legacy/update-grub: line 116: grub: command not found
  246.     /usr/lib/grub-legacy/update-grub: line 116: grub: command not found
  247.     /usr/lib/grub-legacy/update-grub: line 153: grub: command not found
  248.     Searching for default file ... found: /boot/grub/default
  249.     Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
  250.     Searching for splash image ... none found, skipping ...
  251.     Found kernel: /boot/vmlinuz-4.4.0-93-generic
  252.     Updating /boot/grub/menu.lst ... done
  253.    
  254. Processing triggers for man-db (2.7.5-1) ...
  255. Selecting previously unselected package libefivar0:amd64.
  256. (Reading database ... 59799 files and directories currently installed.)
  257. Preparing to unpack .../libefivar0_0.23-2_amd64.deb ...
  258. Unpacking libefivar0:amd64 (0.23-2) ...
  259. Selecting previously unselected package efibootmgr.
  260. Preparing to unpack .../efibootmgr_0.12-4_amd64.deb ...
  261. Unpacking efibootmgr (0.12-4) ...
  262. Selecting previously unselected package grub-efi-amd64-bin.
  263. Preparing to unpack .../grub-efi-amd64-bin_2.02~beta2-36ubuntu3.12_amd64.deb ...
  264. Unpacking grub-efi-amd64-bin (2.02~beta2-36ubuntu3.12) ...
  265. Selecting previously unselected package grub-efi-amd64.
  266. Preparing to unpack .../grub-efi-amd64_2.02~beta2-36ubuntu3.12_amd64.deb ...
  267. Unpacking grub-efi-amd64 (2.02~beta2-36ubuntu3.12) ...
  268. Selecting previously unselected package grub-efi-amd64-signed.
  269. Preparing to unpack .../grub-efi-amd64-signed_1.66.12+2.02~beta2-36ubuntu3.12_amd64.deb ...
  270. Unpacking grub-efi-amd64-signed (1.66.12+2.02~beta2-36ubuntu3.12) ...
  271. Selecting previously unselected package mokutil.
  272. Preparing to unpack .../mokutil_0.3.0-0ubuntu3_amd64.deb ...
  273. Unpacking mokutil (0.3.0-0ubuntu3) ...
  274. Selecting previously unselected package sbsigntool.
  275. Preparing to unpack .../sbsigntool_0.6-0ubuntu10.1_amd64.deb ...
  276. Unpacking sbsigntool (0.6-0ubuntu10.1) ...
  277. Selecting previously unselected package secureboot-db.
  278. Preparing to unpack .../secureboot-db_1.1_amd64.deb ...
  279. Unpacking secureboot-db (1.1) ...
  280. Selecting previously unselected package shim.
  281. Preparing to unpack .../shim_0.9+1474479173.6c180c6-1ubuntu1_amd64.deb ...
  282. Unpacking shim (0.9+1474479173.6c180c6-1ubuntu1) ...
  283. Selecting previously unselected package shim-signed.
  284. Preparing to unpack .../shim-signed_1.32~16.04.1+0.9+1474479173.6c180c6-1ubuntu1_amd64.deb ...
  285. Unpacking shim-signed (1.32~16.04.1+0.9+1474479173.6c180c6-1ubuntu1) ...
  286. Processing triggers for libc-bin (2.23-0ubuntu9) ...
  287. Processing triggers for man-db (2.7.5-1) ...
  288. Setting up libefivar0:amd64 (0.23-2) ...
  289. Setting up efibootmgr (0.12-4) ...
  290. Setting up grub-efi-amd64-bin (2.02~beta2-36ubuntu3.12) ...
  291. Setting up grub-efi-amd64 (2.02~beta2-36ubuntu3.12) ...
  292. Replacing config file /etc/default/grub with new version
  293. Generating grub configuration file ...
  294. Found linux image: /boot/vmlinuz-4.4.0-93-generic
  295. Found initrd image: /boot/initrd.img-4.4.0-93-generic
  296.   /run/lvm/lvmetad.socket: connect failed: No such file or directory
  297.   WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
  298. done
  299. Setting up grub-efi-amd64-signed (1.66.12+2.02~beta2-36ubuntu3.12) ...
  300. Setting up mokutil (0.3.0-0ubuntu3) ...
  301. Setting up sbsigntool (0.6-0ubuntu10.1) ...
  302. Setting up secureboot-db (1.1) ...
  303. Can't access efivars filesystem at /sys/firmware/efi/efivars, aborting
  304. Setting up shim (0.9+1474479173.6c180c6-1ubuntu1) ...
  305. Setting up shim-signed (1.32~16.04.1+0.9+1474479173.6c180c6-1ubuntu1) ...
  306. No DKMS packages installed: not changing Secure Boot validation state.
  307. Processing triggers for libc-bin (2.23-0ubuntu9) ...
  308. Unexpected error while running command.
  309. Command: ['sh', '-c', 'exec "$0" "$@" 2>&1', 'install-grub', '--uefi', '--update-nvram', '/tmp/tmp_htugb2w/target', '/dev/sda']
  310. Exit code: 1
  311. Reason: -
  312. Stdout: + echo before grub-install efiboot settings
  313.         before grub-install efiboot settings
  314.         + efibootmgr
  315.         BootCurrent: 0003
  316.         Timeout: 0 seconds
  317.         BootOrder: 0002,0003,0000,0001,0004,0005
  318.         Boot0000* Intel(R) Gigabit ET Quad Port Server Adapter
  319.         Boot0001* Intel(R) Gigabit ET Quad Port Server Adapter
  320.         Boot0002* PLDS DVD+/-RW DS-8A4S                  
  321.         Boot0003* Broadcom NetXtreme II Gigabit Ethernet (BCM5709)
  322.         Boot0004* Intel(R) Gigabit ET Quad Port Server Adapter
  323.         Boot0005* Intel(R) Gigabit ET Quad Port Server Adapter
  324.         + dpkg-reconfigure grub-efi-amd64
  325.         Replacing config file /etc/default/grub with new version
  326.         Generating grub configuration file ...
  327.         Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
  328.         Found linux image: /boot/vmlinuz-4.4.0-93-generic
  329.         Found initrd image: /boot/initrd.img-4.4.0-93-generic
  330.         done
  331.         Processing triggers for shim-signed (1.32~16.04.1+0.9+1474479173.6c180c6-1ubuntu1) ...
  332.         No DKMS packages installed: not changing Secure Boot validation state.
  333.         + update-grub
  334.         Generating grub configuration file ...
  335.         Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
  336.         Found linux image: /boot/vmlinuz-4.4.0-93-generic
  337.         Found initrd image: /boot/initrd.img-4.4.0-93-generic
  338.         done
  339.         + target=--target=x86_64-efi
  340.         + no_nvram=
  341.         + efi_dir=--efi-directory=/boot/efi
  342.         + grub-install --help
  343.         + gi_out=Usage: grub-install [OPTION...] [OPTION] [INSTALL_DEVICE]
  344.         Install GRUB on your drive.
  345.        
  346.               --compress[=no,xz,gz,lzo]   compress GRUB files [optional]
  347.           -d, --directory=DIR        use images and modules under DIR
  348.                                      [default=/usr/lib/grub/<platform>]
  349.               --fonts=FONTS          install FONTS [default=unicode]
  350.               --install-modules=MODULES   install only MODULES and their dependencies
  351.                                      [default=all]
  352.           -k, --pubkey=FILE          embed FILE as public key for signature checking
  353.               --locale-directory=DIR use translations under DIR
  354.                                      [default=/usr/share/locale]
  355.               --locales=LOCALES      install only LOCALES [default=all]
  356.               --modules=MODULES      pre-load specified modules MODULES
  357.               --themes=THEMES        install THEMES [default=starfield]
  358.           -v, --verbose              print verbose messages.
  359.               --allow-floppy         make the drive also bootable as floppy (default
  360.                                      for fdX devices). May break on some BIOSes.
  361.               --boot-directory=DIR   install GRUB images under the directory DIR/grub
  362.                                      instead of the boot/grub directory
  363.               --bootloader-id=ID     the ID of bootloader. This option is only
  364.                                      available on EFI and Macs.
  365.               --core-compress=xz|none|auto
  366.                                      choose the compression to use for core image
  367.               --disk-module=MODULE   disk module to use (biosdisk or native). This
  368.                                      option is only available on BIOS target.
  369.               --efi-directory=DIR    use DIR as the EFI System Partition root.
  370.               --force                install even if problems are detected
  371.               --force-extra-removable   force installation to the removable media path
  372.                                      also. This option is only available on EFI.
  373.               --force-file-id        use identifier file even if UUID is available
  374.               --label-bgcolor=COLOR  use COLOR for label background
  375.               --label-color=COLOR    use COLOR for label
  376.               --label-font=FILE      use FILE as font for label
  377.               --macppc-directory=DIR use DIR for PPC MAC install.
  378.               --no-bootsector        do not install bootsector
  379.               --no-nvram             don't update the `boot-device'/`Boot*' NVRAM
  380.                                      variables. This option is only available on EFI
  381.                                      and IEEE1275 targets.
  382.               --no-rs-codes          Do not apply any reed-solomon codes when
  383.                                      embedding core.img. This option is only available
  384.                                      on x86 BIOS targets.
  385.               --no-uefi-secure-boot  do not install an image usable with UEFI Secure
  386.                                      Boot, even if the system was currently started
  387.                                      using it. This option is only available on EFI.
  388.               --product-version=STRING   use STRING as product version
  389.               --recheck              delete device map if it already exists
  390.               --removable            the installation device is removable. This option
  391.                                      is only available on EFI.
  392.           -s, --skip-fs-probe        do not probe for filesystems in DEVICE
  393.               --target=TARGET        install GRUB for TARGET platform
  394.                                      [default=x86_64-efi]
  395.               --uefi-secure-boot     install an image usable with UEFI Secure Boot.
  396.                                      This option is only available on EFI and if the
  397.                                      grub-efi-amd64-signed package is installed.
  398.           -?, --help                 give this help list
  399.               --usage                give a short usage message
  400.           -V, --version              print program version
  401.        
  402.         Mandatory or optional arguments to long options are also mandatory or optional
  403.         for any corresponding short options.
  404.        
  405.         INSTALL_DEVICE must be system device filename.
  406.         grub-install copies GRUB images into boot/grub.  On some platforms, it may
  407.         also install GRUB into the boot sector.
  408.        
  409.         Report bugs to <bug-grub@gnu.org>.
  410.         + grep -q --
  411.         + echo Usage: grub-install [OPTION...] [OPTION] [INSTALL_DEVICE]
  412.         Install GRUB on your drive.
  413.        
  414.               --compress[=no,xz,gz,lzo]   compress GRUB files [optional]
  415.           -d, --directory=DIR        use images and modules under DIR
  416.                                      [default=/usr/lib/grub/<platform>]
  417.               --fonts=FONTS          install FONTS [default=unicode]
  418.               --install-modules=MODULES   install only MODULES and their dependencies
  419.                                      [default=all]
  420.           -k, --pubkey=FILE          embed FILE as public key for signature checking
  421.               --locale-directory=DIR use translations under DIR
  422.                                      [default=/usr/share/locale]
  423.               --locales=LOCALES      install only LOCALES [default=all]
  424.               --modules=MODULES      pre-load specified modules MODULES
  425.               --themes=THEMES        install THEMES [default=starfield]
  426.           -v, --verbose              print verbose messages.
  427.               --allow-floppy         make the drive also bootable as floppy (default
  428.                                      for fdX devices). May break on some BIOSes.
  429.               --boot-directory=DIR   install GRUB images under the directory DIR/grub
  430.                                      instead of the boot/grub directory
  431.               --bootloader-id=ID     the ID of bootloader. This option is only
  432.                                      available on EFI and Macs.
  433.               --core-compress=xz|none|auto
  434.                                      choose the compression to use for core image
  435.               --disk-module=MODULE   disk module to use (biosdisk or native). This
  436.                                      option is only available on BIOS target.
  437.               --efi-directory=DIR    use DIR as the EFI System Partition root.
  438.               --force                install even if problems are detected
  439.               --force-extra-removable   force installation to the removable media path
  440.                                      also. This option is only available on EFI.
  441.               --force-file-id        use identifier file even if UUID is available
  442.               --label-bgcolor=COLOR  use COLOR for label background
  443.               --label-color=COLOR    use COLOR for label
  444.               --label-font=FILE      use FILE as font for label
  445.               --macppc-directory=DIR use DIR for PPC MAC install.
  446.               --no-bootsector        do not install bootsector
  447.               --no-nvram             don't update the `boot-device'/`Boot*' NVRAM
  448.                                      variables. This option is only available on EFI
  449.                                      and IEEE1275 targets.
  450.               --no-rs-codes          Do not apply any reed-solomon codes when
  451.                                      embedding core.img. This option is only available
  452.                                      on x86 BIOS targets.
  453.               --no-uefi-secure-boot  do not install an image usable with UEFI Secure
  454.                                      Boot, even if the system was currently started
  455.                                      using it. This option is only available on EFI.
  456.               --product-version=STRING   use STRING as product version
  457.               --recheck              delete device map if it already exists
  458.               --removable            the installation device is removable. This option
  459.                                      is only available on EFI.
  460.           -s, --skip-fs-probe        do not probe for filesystems in DEVICE
  461.               --target=TARGET        install GRUB for TARGET platform
  462.                                      [default=x86_64-efi]
  463.               --uefi-secure-boot     install an image usable with UEFI Secure Boot.
  464.                                      This option is only available on EFI and if the
  465.                                      grub-efi-amd64-signed package is installed.
  466.           -?, --help                 give this help list
  467.               --usage                give a short usage message
  468.           -V, --version              print program version
  469.        
  470.         Mandatory or optional arguments to long options are also mandatory or optional
  471.         for any corresponding short options.
  472.        
  473.         INSTALL_DEVICE must be system device filename.
  474.         grub-install copies GRUB images into boot/grub.  On some platforms, it may
  475.         also install GRUB into the boot sector.
  476.        
  477.         Report bugs to <bug-grub@gnu.org>.
  478.         + grep -q -- --target
  479.         + echo Usage: grub-install [OPTION...] [OPTION] [INSTALL_DEVICE]
  480.         Install GRUB on your drive.
  481.        
  482.               --compress[=no,xz,gz,lzo]   compress GRUB files [optional]
  483.           -d, --directory=DIR        use images and modules under DIR
  484.                                      [default=/usr/lib/grub/<platform>]
  485.               --fonts=FONTS          install FONTS [default=unicode]
  486.               --install-modules=MODULES   install only MODULES and their dependencies
  487.                                      [default=all]
  488.           -k, --pubkey=FILE          embed FILE as public key for signature checking
  489.               --locale-directory=DIR use translations under DIR
  490.                                      [default=/usr/share/locale]
  491.               --locales=LOCALES      install only LOCALES [default=all]
  492.               --modules=MODULES      pre-load specified modules MODULES
  493.               --themes=THEMES        install THEMES [default=starfield]
  494.           -v, --verbose              print verbose messages.
  495.               --allow-floppy         make the drive also bootable as floppy (default
  496.                                      for fdX devices). May break on some BIOSes.
  497.               --boot-directory=DIR   install GRUB images under the directory DIR/grub
  498.                                      instead of the boot/grub directory
  499.               --bootloader-id=ID     the ID of bootloader. This option is only
  500.                                      available on EFI and Macs.
  501.               --core-compress=xz|none|auto
  502.                                      choose the compression to use for core image
  503.               --disk-module=MODULE   disk module to use (biosdisk or native). This
  504.                                      option is only available on BIOS target.
  505.               --efi-directory=DIR    use DIR as the EFI System Partition root.
  506.               --force                install even if problems are detected
  507.               --force-extra-removable   force installation to the removable media path
  508.                                      also. This option is only available on EFI.
  509.               --force-file-id        use identifier file even if UUID is available
  510.               --label-bgcolor=COLOR  use COLOR for label background
  511.               --label-color=COLOR    use COLOR for label
  512.               --label-font=FILE      use FILE as font for label
  513.               --macppc-directory=DIR use DIR for PPC MAC install.
  514.               --no-bootsector        do not install bootsector
  515.               --no-nvram             don't update the `boot-device'/`Boot*' NVRAM
  516.                                      variables. This option is only available on EFI
  517.                                      and IEEE1275 targets.
  518.               --no-rs-codes          Do not apply any reed-solomon codes when
  519.                                      embedding core.img. This option is only available
  520.                                      on x86 BIOS targets.
  521.               --no-uefi-secure-boot  do not install an image usable with UEFI Secure
  522.                                      Boot, even if the system was currently started
  523.                                      using it. This option is only available on EFI.
  524.               --product-version=STRING   use STRING as product version
  525.               --recheck              delete device map if it already exists
  526.               --removable            the installation device is removable. This option
  527.                                      is only available on EFI.
  528.           -s, --skip-fs-probe        do not probe for filesystems in DEVICE
  529.               --target=TARGET        install GRUB for TARGET platform
  530.                                      [default=x86_64-efi]
  531.               --uefi-secure-boot     install an image usable with UEFI Secure Boot.
  532.                                      This option is only available on EFI and if the
  533.                                      grub-efi-amd64-signed package is installed.
  534.           -?, --help                 give this help list
  535.               --usage                give a short usage message
  536.           -V, --version              print program version
  537.        
  538.         Mandatory or optional arguments to long options are also mandatory or optional
  539.         for any corresponding short options.
  540.        
  541.         INSTALL_DEVICE must be system device filename.
  542.         grub-install copies GRUB images into boot/grub.  On some platforms, it may
  543.         also install GRUB into the boot sector.
  544.        
  545.         Report bugs to <bug-grub@gnu.org>.
  546.         + grep -q -- --efi-directory
  547.         + echo Usage: grub-install [OPTION...] [OPTION] [INSTALL_DEVICE]
  548.         Install GRUB on your drive.
  549.        
  550.               --compress[=no,xz,gz,lzo]   compress GRUB files [optional]
  551.           -d, --directory=DIR        use images and modules under DIR
  552.                                      [default=/usr/lib/grub/<platform>]
  553.               --fonts=FONTS          install FONTS [default=unicode]
  554.               --install-modules=MODULES   install only MODULES and their dependencies
  555.                                      [default=all]
  556.           -k, --pubkey=FILE          embed FILE as public key for signature checking
  557.               --locale-directory=DIR use translations under DIR
  558.                                      [default=/usr/share/locale]
  559.               --locales=LOCALES      install only LOCALES [default=all]
  560.               --modules=MODULES      pre-load specified modules MODULES
  561.               --themes=THEMES        install THEMES [default=starfield]
  562.           -v, --verbose              print verbose messages.
  563.               --allow-floppy         make the drive also bootable as floppy (default
  564.                                      for fdX devices). May break on some BIOSes.
  565.               --boot-directory=DIR   install GRUB images under the directory DIR/grub
  566.                                      instead of the boot/grub directory
  567.               --bootloader-id=ID     the ID of bootloader. This option is only
  568.                                      available on EFI and Macs.
  569.               --core-compress=xz|none|auto
  570.                                      choose the compression to use for core image
  571.               --disk-module=MODULE   disk module to use (biosdisk or native). This
  572.                                      option is only available on BIOS target.
  573.               --efi-directory=DIR    use DIR as the EFI System Partition root.
  574.               --force                install even if problems are detected
  575.               --force-extra-removable   force installation to the removable media path
  576.                                      also. This option is only available on EFI.
  577.               --force-file-id        use identifier file even if UUID is available
  578.               --label-bgcolor=COLOR  use COLOR for label background
  579.               --label-color=COLOR    use COLOR for label
  580.               --label-font=FILE      use FILE as font for label
  581.               --macppc-directory=DIR use DIR for PPC MAC install.
  582.               --no-bootsector        do not install bootsector
  583.               --no-nvram             don't update the `boot-device'/`Boot*' NVRAM
  584.                                      variables. This option is only available on EFI
  585.                                      and IEEE1275 targets.
  586.               --no-rs-codes          Do not apply any reed-solomon codes when
  587.                                      embedding core.img. This option is only available
  588.                                      on x86 BIOS targets.
  589.               --no-uefi-secure-boot  do not install an image usable with UEFI Secure
  590.                                      Boot, even if the system was currently started
  591.                                      using it. This option is only available on EFI.
  592.               --product-version=STRING   use STRING as product version
  593.               --recheck              delete device map if it already exists
  594.               --removable            the installation device is removable. This option
  595.                                      is only available on EFI.
  596.           -s, --skip-fs-probe        do not probe for filesystems in DEVICE
  597.               --target=TARGET        install GRUB for TARGET platform
  598.                                      [default=x86_64-efi]
  599.               --uefi-secure-boot     install an image usable with UEFI Secure Boot.
  600.                                      This option is only available on EFI and if the
  601.                                      grub-efi-amd64-signed package is installed.
  602.           -?, --help                 give this help list
  603.               --usage                give a short usage message
  604.           -V, --version              print program version
  605.        
  606.         Mandatory or optional arguments to long options are also mandatory or optional
  607.         for any corresponding short options.
  608.        
  609.         INSTALL_DEVICE must be system device filename.
  610.         grub-install copies GRUB images into boot/grub.  On some platforms, it may
  611.         also install GRUB into the boot sector.
  612.        
  613.         Report bugs to <bug-grub@gnu.org>.
  614.         + grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=ubuntu --recheck
  615.         Installing for x86_64-efi platform.
  616.         grub-install: error: failed to get canonical path of `/boot/efi'.
  617.         failed to install grub!
  618.        
  619. Stderr: ''
  620. curtin: Installation failed with exception: Unexpected error while running command.
  621. Command: ['curtin', 'curthooks']
  622. Exit code: 3
  623. Reason: -
  624. Stdout: Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
  625.         Get:2 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
  626.         Get:3 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
  627.         Get:4 http://archive.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
  628.         Get:5 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [7532 kB]
  629.         Get:6 http://archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [144 kB]
  630.         Get:7 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [637 kB]
  631.         Get:8 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [541 kB]
  632.         Get:9 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [15.5 kB]
  633.         Get:10 http://archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [4884 B]
  634.         Get:11 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [5800 B]
  635.         Get:12 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 Packages [356 kB]
  636.         Get:13 http://archive.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [168 kB]
  637.         Get:14 http://archive.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [2748 B]
  638.         Fetched 9713 kB in 24s (399 kB/s)
  639.         Reading package lists...
  640.         Reading package lists...
  641.         Building dependency tree...
  642.         Reading state information...
  643.         The following NEW packages will be installed:
  644.           bridge-utils
  645.         0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
  646.         Need to get 28.6 kB of archives.
  647.         After this operation, 102 kB of additional disk space will be used.
  648.         Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 bridge-utils amd64 1.5-9ubuntu1 [28.6 kB]
  649.         Fetched 28.6 kB in 20s (1430 B/s)
  650.         E: Can not write log (Is /dev/pts mounted?) - posix_openpt (2: No such file or directory)
  651.         Selecting previously unselected package bridge-utils.
  652.         (Reading database ... 25513 files and directories currently installed.)
  653.         Preparing to unpack .../bridge-utils_1.5-9ubuntu1_amd64.deb ...
  654.         Unpacking bridge-utils (1.5-9ubuntu1) ...
  655.         Processing triggers for man-db (2.7.5-1) ...
  656.         Setting up bridge-utils (1.5-9ubuntu1) ...
  657.         Reading package lists...
  658.         Building dependency tree...
  659.         Reading state information...
  660.         The following additional packages will be installed:
  661.           crda grub-common grub-gfxpayload-lists grub-pc grub-pc-bin grub2-common iw
  662.           libfreetype6 libnl-3-200 libnl-genl-3-200 linux-firmware
  663.           linux-headers-4.4.0-93 linux-headers-4.4.0-93-generic linux-headers-generic
  664.           linux-image-4.4.0-93-generic linux-image-extra-4.4.0-93-generic
  665.           linux-image-generic os-prober thermald wireless-regdb
  666.         Suggested packages:
  667.           multiboot-doc grub-emu xorriso desktop-base fdutils linux-doc-4.4.0
  668.           | linux-source-4.4.0 linux-tools
  669.         The following NEW packages will be installed:
  670.           crda grub-common grub-gfxpayload-lists grub-pc grub-pc-bin grub2-common iw
  671.           libfreetype6 libnl-3-200 libnl-genl-3-200 linux-firmware linux-generic
  672.           linux-headers-4.4.0-93 linux-headers-4.4.0-93-generic linux-headers-generic
  673.           linux-image-4.4.0-93-generic linux-image-extra-4.4.0-93-generic
  674.           linux-image-generic os-prober thermald wireless-regdb
  675.         0 upgraded, 21 newly installed, 0 to remove and 6 not upgraded.
  676.         Need to get 111 MB of archives.
  677.         After this operation, 479 MB of additional disk space will be used.
  678.         Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libfreetype6 amd64 2.6.1-0.1ubuntu2.3 [316 kB]
  679.         Get:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub-common amd64 2.02~beta2-36ubuntu3.12 [1776 kB]
  680.         Get:3 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub2-common amd64 2.02~beta2-36ubuntu3.12 [512 kB]
  681.         Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub-pc-bin amd64 2.02~beta2-36ubuntu3.12 [889 kB]
  682.         Get:5 http://archive.ubuntu.com/ubuntu xenial/main amd64 grub-gfxpayload-lists amd64 0.7 [3658 B]
  683.         Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub-pc amd64 2.02~beta2-36ubuntu3.12 [197 kB]
  684.         Get:7 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnl-3-200 amd64 3.2.27-1ubuntu0.16.04.1 [52.2 kB]
  685.         Get:8 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnl-genl-3-200 amd64 3.2.27-1ubuntu0.16.04.1 [11.2 kB]
  686.         Get:9 http://archive.ubuntu.com/ubuntu xenial/main amd64 wireless-regdb all 2015.07.20-1ubuntu1 [9058 B]
  687.         Get:10 http://archive.ubuntu.com/ubuntu xenial/main amd64 iw amd64 3.17-1 [63.5 kB]
  688.         Get:11 http://archive.ubuntu.com/ubuntu xenial/main amd64 crda amd64 3.13-1 [60.5 kB]
  689.         Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-firmware all 1.157.12 [38.8 MB]
  690.         Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-image-4.4.0-93-generic amd64 4.4.0-93.116 [21.9 MB]
  691.         Get:14 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-image-extra-4.4.0-93-generic amd64 4.4.0-93.116 [35.9 MB]
  692.         Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-image-generic amd64 4.4.0.93.98 [2286 B]
  693.         Get:16 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-headers-4.4.0-93 all 4.4.0-93.116 [9981 kB]
  694.         Get:17 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-headers-4.4.0-93-generic amd64 4.4.0-93.116 [812 kB]
  695.         Get:18 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-headers-generic amd64 4.4.0.93.98 [2268 B]
  696.         Get:19 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-generic amd64 4.4.0.93.98 [1790 B]
  697.         Get:20 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 os-prober amd64 1.70ubuntu3.3 [19.1 kB]
  698.         Get:21 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 thermald amd64 1.5-2ubuntu4 [187 kB]
  699.         Preconfiguring packages ...
  700.         Fetched 111 MB in 22s (4979 kB/s)
  701.         E: Can not write log (Is /dev/pts mounted?) - posix_openpt (2: No such file or directory)
  702.         Selecting previously unselected package libfreetype6:amd64.
  703.         (Reading database ... 25539 files and directories currently installed.)
  704.         Preparing to unpack .../libfreetype6_2.6.1-0.1ubuntu2.3_amd64.deb ...
  705.         Unpacking libfreetype6:amd64 (2.6.1-0.1ubuntu2.3) ...
  706.         Selecting previously unselected package grub-common.
  707.         Preparing to unpack .../grub-common_2.02~beta2-36ubuntu3.12_amd64.deb ...
  708.         Unpacking grub-common (2.02~beta2-36ubuntu3.12) ...
  709.         Selecting previously unselected package grub2-common.
  710.         Preparing to unpack .../grub2-common_2.02~beta2-36ubuntu3.12_amd64.deb ...
  711.         Unpacking grub2-common (2.02~beta2-36ubuntu3.12) ...
  712.         Selecting previously unselected package grub-pc-bin.
  713.         Preparing to unpack .../grub-pc-bin_2.02~beta2-36ubuntu3.12_amd64.deb ...
  714.         Unpacking grub-pc-bin (2.02~beta2-36ubuntu3.12) ...
  715.         Selecting previously unselected package grub-gfxpayload-lists.
  716.         Preparing to unpack .../grub-gfxpayload-lists_0.7_amd64.deb ...
  717.         Unpacking grub-gfxpayload-lists (0.7) ...
  718.         Selecting previously unselected package grub-pc.
  719.         Preparing to unpack .../grub-pc_2.02~beta2-36ubuntu3.12_amd64.deb ...
  720.         Unpacking grub-pc (2.02~beta2-36ubuntu3.12) ...
  721.         Selecting previously unselected package libnl-3-200:amd64.
  722.         Preparing to unpack .../libnl-3-200_3.2.27-1ubuntu0.16.04.1_amd64.deb ...
  723.         Unpacking libnl-3-200:amd64 (3.2.27-1ubuntu0.16.04.1) ...
  724.         Selecting previously unselected package libnl-genl-3-200:amd64.
  725.         Preparing to unpack .../libnl-genl-3-200_3.2.27-1ubuntu0.16.04.1_amd64.deb ...
  726.         Unpacking libnl-genl-3-200:amd64 (3.2.27-1ubuntu0.16.04.1) ...
  727.         Selecting previously unselected package wireless-regdb.
  728.         Preparing to unpack .../wireless-regdb_2015.07.20-1ubuntu1_all.deb ...
  729.         Unpacking wireless-regdb (2015.07.20-1ubuntu1) ...
  730.         Selecting previously unselected package iw.
  731.         Preparing to unpack .../archives/iw_3.17-1_amd64.deb ...
  732.         Unpacking iw (3.17-1) ...
  733.         Selecting previously unselected package crda.
  734.         Preparing to unpack .../archives/crda_3.13-1_amd64.deb ...
  735.         Unpacking crda (3.13-1) ...
  736.         Selecting previously unselected package linux-firmware.
  737.         Preparing to unpack .../linux-firmware_1.157.12_all.deb ...
  738.         Unpacking linux-firmware (1.157.12) ...
  739.         Selecting previously unselected package linux-image-4.4.0-93-generic.
  740.         Preparing to unpack .../linux-image-4.4.0-93-generic_4.4.0-93.116_amd64.deb ...
  741.         Done.
  742.         Unpacking linux-image-4.4.0-93-generic (4.4.0-93.116) ...
  743.         Selecting previously unselected package linux-image-extra-4.4.0-93-generic.
  744.         Preparing to unpack .../linux-image-extra-4.4.0-93-generic_4.4.0-93.116_amd64.deb ...
  745.         Unpacking linux-image-extra-4.4.0-93-generic (4.4.0-93.116) ...
  746.         Selecting previously unselected package linux-image-generic.
  747.         Preparing to unpack .../linux-image-generic_4.4.0.93.98_amd64.deb ...
  748.         Unpacking linux-image-generic (4.4.0.93.98) ...
  749.         Selecting previously unselected package linux-headers-4.4.0-93.
  750.         Preparing to unpack .../linux-headers-4.4.0-93_4.4.0-93.116_all.deb ...
  751.         Unpacking linux-headers-4.4.0-93 (4.4.0-93.116) ...
  752.         Selecting previously unselected package linux-headers-4.4.0-93-generic.
  753.         Preparing to unpack .../linux-headers-4.4.0-93-generic_4.4.0-93.116_amd64.deb ...
  754.         Unpacking linux-headers-4.4.0-93-generic (4.4.0-93.116) ...
  755.         Selecting previously unselected package linux-headers-generic.
  756.         Preparing to unpack .../linux-headers-generic_4.4.0.93.98_amd64.deb ...
  757.         Unpacking linux-headers-generic (4.4.0.93.98) ...
  758.         Selecting previously unselected package linux-generic.
  759.         Preparing to unpack .../linux-generic_4.4.0.93.98_amd64.deb ...
  760.         Unpacking linux-generic (4.4.0.93.98) ...
  761.         Selecting previously unselected package os-prober.
  762.         Preparing to unpack .../os-prober_1.70ubuntu3.3_amd64.deb ...
  763.         Unpacking os-prober (1.70ubuntu3.3) ...
  764.         Selecting previously unselected package thermald.
  765.         Preparing to unpack .../thermald_1.5-2ubuntu4_amd64.deb ...
  766.         Unpacking thermald (1.5-2ubuntu4) ...
  767.         Processing triggers for libc-bin (2.23-0ubuntu9) ...
  768.         Processing triggers for man-db (2.7.5-1) ...
  769.         Processing triggers for systemd (229-4ubuntu19) ...
  770.         Processing triggers for ureadahead (0.100.0-19) ...
  771.         Processing triggers for install-info (6.1.0.dfsg.1-5) ...
  772.         Processing triggers for dbus (1.10.6-1ubuntu3.3) ...
  773.         Setting up libfreetype6:amd64 (2.6.1-0.1ubuntu2.3) ...
  774.         Setting up grub-common (2.02~beta2-36ubuntu3.12) ...
  775.         update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
  776.         Running in chroot, ignoring request.
  777.         invoke-rc.d: policy-rc.d denied execution of start.
  778.         Setting up grub2-common (2.02~beta2-36ubuntu3.12) ...
  779.         Setting up grub-pc-bin (2.02~beta2-36ubuntu3.12) ...
  780.         Setting up libnl-3-200:amd64 (3.2.27-1ubuntu0.16.04.1) ...
  781.         Setting up libnl-genl-3-200:amd64 (3.2.27-1ubuntu0.16.04.1) ...
  782.         Setting up wireless-regdb (2015.07.20-1ubuntu1) ...
  783.         Setting up iw (3.17-1) ...
  784.         Setting up crda (3.13-1) ...
  785.         Setting up linux-firmware (1.157.12) ...
  786.         Setting up linux-image-4.4.0-93-generic (4.4.0-93.116) ...
  787.         Running depmod.
  788.         update-initramfs: deferring update (hook will be called later)
  789.         Examining /etc/kernel/postinst.d.
  790.         run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-93-generic /boot/vmlinuz-4.4.0-93-generic
  791.         run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-93-generic /boot/vmlinuz-4.4.0-93-generic
  792.         update-initramfs: Generating /boot/initrd.img-4.4.0-93-generic
  793.         W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
  794.         run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.4.0-93-generic /boot/vmlinuz-4.4.0-93-generic
  795.         run-parts: executing /etc/kernel/postinst.d/update-notifier 4.4.0-93-generic /boot/vmlinuz-4.4.0-93-generic
  796.         Setting up linux-image-extra-4.4.0-93-generic (4.4.0-93.116) ...
  797.         run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-93-generic /boot/vmlinuz-4.4.0-93-generic
  798.         run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-93-generic /boot/vmlinuz-4.4.0-93-generic
  799.         update-initramfs: Generating /boot/initrd.img-4.4.0-93-generic
  800.         W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
  801.         run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.4.0-93-generic /boot/vmlinuz-4.4.0-93-generic
  802.         run-parts: executing /etc/kernel/postinst.d/update-notifier 4.4.0-93-generic /boot/vmlinuz-4.4.0-93-generic
  803.         Setting up linux-image-generic (4.4.0.93.98) ...
  804.         Setting up linux-headers-4.4.0-93 (4.4.0-93.116) ...
  805.         Setting up linux-headers-4.4.0-93-generic (4.4.0-93.116) ...
  806.         Setting up linux-headers-generic (4.4.0.93.98) ...
  807.         Setting up linux-generic (4.4.0.93.98) ...
  808.         Setting up os-prober (1.70ubuntu3.3) ...
  809.         Setting up thermald (1.5-2ubuntu4) ...
  810.         Running in chroot, ignoring request.
  811.         invoke-rc.d: policy-rc.d denied execution of start.
  812.         Setting up grub-pc (2.02~beta2-36ubuntu3.12) ...
  813.        
  814.         Creating config file /etc/default/grub with new version
  815.         Generating grub configuration file ...
  816.         Found linux image: /boot/vmlinuz-4.4.0-93-generic
  817.         Found initrd image: /boot/initrd.img-4.4.0-93-generic
  818.           /run/lvm/lvmetad.socket: connect failed: No such file or directory
  819.           WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
  820.         done
  821.         Setting up grub-gfxpayload-lists (0.7) ...
  822.         Processing triggers for libc-bin (2.23-0ubuntu9) ...
  823.         Processing triggers for systemd (229-4ubuntu19) ...
  824.         Processing triggers for ureadahead (0.100.0-19) ...
  825.         Processing triggers for dbus (1.10.6-1ubuntu3.3) ...
  826.         Setting up swapspace version 1, size = 8 GiB (8589930496 bytes)
  827.         no label, UUID=e507b464-be7a-485f-baa8-2dec5f18d86c
  828.         Reading package lists...
  829.         Building dependency tree...
  830.         Reading state information...
  831.         The following package was automatically installed and is no longer required:
  832.           grub-pc-bin
  833.         Use 'apt autoremove' to remove it.
  834.         The following additional packages will be installed:
  835.           efibootmgr grub-efi-amd64-bin libefivar0 mokutil sbsigntool secureboot-db
  836.           shim
  837.         The following packages will be REMOVED:
  838.           grub-gfxpayload-lists grub-pc
  839.         The following NEW packages will be installed:
  840.           efibootmgr grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed
  841.           libefivar0 mokutil sbsigntool secureboot-db shim shim-signed
  842.         0 upgraded, 10 newly installed, 2 to remove and 6 not upgraded.
  843.         Need to get 1908 kB of archives.
  844.         After this operation, 10.3 MB of additional disk space will be used.
  845.         Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 libefivar0 amd64 0.23-2 [44.3 kB]
  846.         Get:2 http://archive.ubuntu.com/ubuntu xenial/main amd64 efibootmgr amd64 0.12-4 [20.3 kB]
  847.         Get:3 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub-efi-amd64-bin amd64 2.02~beta2-36ubuntu3.12 [660 kB]
  848.         Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub-efi-amd64 amd64 2.02~beta2-36ubuntu3.12 [65.6 kB]
  849.         Get:5 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 grub-efi-amd64-signed amd64 1.66.12+2.02~beta2-36ubuntu3.12 [296 kB]
  850.         Get:6 http://archive.ubuntu.com/ubuntu xenial/main amd64 mokutil amd64 0.3.0-0ubuntu3 [20.4 kB]
  851.         Get:7 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 sbsigntool amd64 0.6-0ubuntu10.1 [54.2 kB]
  852.         Get:8 http://archive.ubuntu.com/ubuntu xenial/main amd64 secureboot-db amd64 1.1 [2740 B]
  853.         Get:9 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 shim amd64 0.9+1474479173.6c180c6-1ubuntu1 [434 kB]
  854.         Get:10 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 shim-signed amd64 1.32~16.04.1+0.9+1474479173.6c180c6-1ubuntu1 [310 kB]
  855.         Preconfiguring packages ...
  856.         Fetched 1908 kB in 23s (82.0 kB/s)
  857.         E: Can not write log (Is /dev/pts mounted?) - posix_openpt (2: No such file or directory)
  858.         (Reading database ... 59820 files and directories currently installed.)
  859.         Removing grub-gfxpayload-lists (0.7) ...
  860.         Removing grub-pc (2.02~beta2-36ubuntu3.12) ...
  861.         Saving menu.lst backup in /boot/grub/menu.lst_backup_by_grub2_prerm
  862.         Running update-grub Legacy to remove our core.img in it
  863.             Searching for GRUB installation directory ... found: /boot/grub
  864.             /usr/lib/grub-legacy/update-grub: line 116: grub: command not found
  865.             /usr/lib/grub-legacy/update-grub: line 116: grub: command not found
  866.             /usr/lib/grub-legacy/update-grub: line 153: grub: command not found
  867.             Searching for default file ... found: /boot/grub/default
  868.             Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
  869.             Searching for splash image ... none found, skipping ...
  870.             Found kernel: /boot/vmlinuz-4.4.0-93-generic
  871.             Updating /boot/grub/menu.lst ... done
  872.            
  873.         Processing triggers for man-db (2.7.5-1) ...
  874.         Selecting previously unselected package libefivar0:amd64.
  875.         (Reading database ... 59799 files and directories currently installed.)
  876.         Preparing to unpack .../libefivar0_0.23-2_amd64.deb ...
  877.         Unpacking libefivar0:amd64 (0.23-2) ...
  878.         Selecting previously unselected package efibootmgr.
  879.         Preparing to unpack .../efibootmgr_0.12-4_amd64.deb ...
  880.         Unpacking efibootmgr (0.12-4) ...
  881.         Selecting previously unselected package grub-efi-amd64-bin.
  882.         Preparing to unpack .../grub-efi-amd64-bin_2.02~beta2-36ubuntu3.12_amd64.deb ...
  883.         Unpacking grub-efi-amd64-bin (2.02~beta2-36ubuntu3.12) ...
  884.         Selecting previously unselected package grub-efi-amd64.
  885.         Preparing to unpack .../grub-efi-amd64_2.02~beta2-36ubuntu3.12_amd64.deb ...
  886.         Unpacking grub-efi-amd64 (2.02~beta2-36ubuntu3.12) ...
  887.         Selecting previously unselected package grub-efi-amd64-signed.
  888.         Preparing to unpack .../grub-efi-amd64-signed_1.66.12+2.02~beta2-36ubuntu3.12_amd64.deb ...
  889.         Unpacking grub-efi-amd64-signed (1.66.12+2.02~beta2-36ubuntu3.12) ...
  890.         Selecting previously unselected package mokutil.
  891.         Preparing to unpack .../mokutil_0.3.0-0ubuntu3_amd64.deb ...
  892.         Unpacking mokutil (0.3.0-0ubuntu3) ...
  893.         Selecting previously unselected package sbsigntool.
  894.         Preparing to unpack .../sbsigntool_0.6-0ubuntu10.1_amd64.deb ...
  895.         Unpacking sbsigntool (0.6-0ubuntu10.1) ...
  896.         Selecting previously unselected package secureboot-db.
  897.         Preparing to unpack .../secureboot-db_1.1_amd64.deb ...
  898.         Unpacking secureboot-db (1.1) ...
  899.         Selecting previously unselected package shim.
  900.         Preparing to unpack .../shim_0.9+1474479173.6c180c6-1ubuntu1_amd64.deb ...
  901.         Unpacking shim (0.9+1474479173.6c180c6-1ubuntu1) ...
  902.         Selecting previously unselected package shim-signed.
  903.         Preparing to unpack .../shim-signed_1.32~16.04.1+0.9+1474479173.6c180c6-1ubuntu1_amd64.deb ...
  904.         Unpacking shim-signed (1.32~16.04.1+0.9+1474479173.6c180c6-1ubuntu1) ...
  905.         Processing triggers for libc-bin (2.23-0ubuntu9) ...
  906.         Processing triggers for man-db (2.7.5-1) ...
  907.         Setting up libefivar0:amd64 (0.23-2) ...
  908.         Setting up efibootmgr (0.12-4) ...
  909.         Setting up grub-efi-amd64-bin (2.02~beta2-36ubuntu3.12) ...
  910.         Setting up grub-efi-amd64 (2.02~beta2-36ubuntu3.12) ...
  911.         Replacing config file /etc/default/grub with new version
  912.         Generating grub configuration file ...
  913.         Found linux image: /boot/vmlinuz-4.4.0-93-generic
  914.         Found initrd image: /boot/initrd.img-4.4.0-93-generic
  915.           /run/lvm/lvmetad.socket: connect failed: No such file or directory
  916.           WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
  917.         done
  918.         Setting up grub-efi-amd64-signed (1.66.12+2.02~beta2-36ubuntu3.12) ...
  919.         Setting up mokutil (0.3.0-0ubuntu3) ...
  920.         Setting up sbsigntool (0.6-0ubuntu10.1) ...
  921.         Setting up secureboot-db (1.1) ...
  922.         Can't access efivars filesystem at /sys/firmware/efi/efivars, aborting
  923.         Setting up shim (0.9+1474479173.6c180c6-1ubuntu1) ...
  924.         Setting up shim-signed (1.32~16.04.1+0.9+1474479173.6c180c6-1ubuntu1) ...
  925.         No DKMS packages installed: not changing Secure Boot validation state.
  926.         Processing triggers for libc-bin (2.23-0ubuntu9) ...
  927.         Unexpected error while running command.
  928.         Command: ['sh', '-c', 'exec "$0" "$@" 2>&1', 'install-grub', '--uefi', '--update-nvram', '/tmp/tmp_htugb2w/target', '/dev/sda']
  929.         Exit code: 1
  930.         Reason: -
  931.         Stdout: + echo before grub-install efiboot settings
  932.                 before grub-install efiboot settings
  933.                 + efibootmgr
  934.                 BootCurrent: 0003
  935.                 Timeout: 0 seconds
  936.                 BootOrder: 0002,0003,0000,0001,0004,0005
  937.                 Boot0000* Intel(R) Gigabit ET Quad Port Server Adapter
  938.                 Boot0001* Intel(R) Gigabit ET Quad Port Server Adapter
  939.                 Boot0002* PLDS DVD+/-RW DS-8A4S                  
  940.                 Boot0003* Broadcom NetXtreme II Gigabit Ethernet (BCM5709)
  941.                 Boot0004* Intel(R) Gigabit ET Quad Port Server Adapter
  942.                 Boot0005* Intel(R) Gigabit ET Quad Port Server Adapter
  943.                 + dpkg-reconfigure grub-efi-amd64
  944.                 Replacing config file /etc/default/grub with new version
  945.                 Generating grub configuration file ...
  946.                 Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
  947.                 Found linux image: /boot/vmlinuz-4.4.0-93-generic
  948.                 Found initrd image: /boot/initrd.img-4.4.0-93-generic
  949.                 done
  950.                 Processing triggers for shim-signed (1.32~16.04.1+0.9+1474479173.6c180c6-1ubuntu1) ...
  951.                 No DKMS packages installed: not changing Secure Boot validation state.
  952.                 + update-grub
  953.                 Generating grub configuration file ...
  954.                 Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
  955.                 Found linux image: /boot/vmlinuz-4.4.0-93-generic
  956.                 Found initrd image: /boot/initrd.img-4.4.0-93-generic
  957.                 done
  958.                 + target=--target=x86_64-efi
  959.                 + no_nvram=
  960.                 + efi_dir=--efi-directory=/boot/efi
  961.                 + grub-install --help
  962.                 + gi_out=Usage: grub-install [OPTION...] [OPTION] [INSTALL_DEVICE]
  963.                 Install GRUB on your drive.
  964.                
  965.                       --compress[=no,xz,gz,lzo]   compress GRUB files [optional]
  966.                   -d, --directory=DIR        use images and modules under DIR
  967.                                              [default=/usr/lib/grub/<platform>]
  968.                       --fonts=FONTS          install FONTS [default=unicode]
  969.                       --install-modules=MODULES   install only MODULES and their dependencies
  970.                                              [default=all]
  971.                   -k, --pubkey=FILE          embed FILE as public key for signature checking
  972.                       --locale-directory=DIR use translations under DIR
  973.                                              [default=/usr/share/locale]
  974.                       --locales=LOCALES      install only LOCALES [default=all]
  975.                       --modules=MODULES      pre-load specified modules MODULES
  976.                       --themes=THEMES        install THEMES [default=starfield]
  977.                   -v, --verbose              print verbose messages.
  978.                       --allow-floppy         make the drive also bootable as floppy (default
  979.                                              for fdX devices). May break on some BIOSes.
  980.                       --boot-directory=DIR   install GRUB images under the directory DIR/grub
  981.                                              instead of the boot/grub directory
  982.                       --bootloader-id=ID     the ID of bootloader. This option is only
  983.                                              available on EFI and Macs.
  984.                       --core-compress=xz|none|auto
  985.                                              choose the compression to use for core image
  986.                       --disk-module=MODULE   disk module to use (biosdisk or native). This
  987.                                              option is only available on BIOS target.
  988.                       --efi-directory=DIR    use DIR as the EFI System Partition root.
  989.                       --force                install even if problems are detected
  990.                       --force-extra-removable   force installation to the removable media path
  991.                                              also. This option is only available on EFI.
  992.                       --force-file-id        use identifier file even if UUID is available
  993.                       --label-bgcolor=COLOR  use COLOR for label background
  994.                       --label-color=COLOR    use COLOR for label
  995.                       --label-font=FILE      use FILE as font for label
  996.                       --macppc-directory=DIR use DIR for PPC MAC install.
  997.                       --no-bootsector        do not install bootsector
  998.                       --no-nvram             don't update the `boot-device'/`Boot*' NVRAM
  999.                                              variables. This option is only available on EFI
  1000.                                              and IEEE1275 targets.
  1001.                       --no-rs-codes          Do not apply any reed-solomon codes when
  1002.                                              embedding core.img. This option is only available
  1003.                                              on x86 BIOS targets.
  1004.                       --no-uefi-secure-boot  do not install an image usable with UEFI Secure
  1005.                                              Boot, even if the system was currently started
  1006.                                              using it. This option is only available on EFI.
  1007.                       --product-version=STRING   use STRING as product version
  1008.                       --recheck              delete device map if it already exists
  1009.                       --removable            the installation device is removable. This option
  1010.                                              is only available on EFI.
  1011.                   -s, --skip-fs-probe        do not probe for filesystems in DEVICE
  1012.                       --target=TARGET        install GRUB for TARGET platform
  1013.                                              [default=x86_64-efi]
  1014.                       --uefi-secure-boot     install an image usable with UEFI Secure Boot.
  1015.                                              This option is only available on EFI and if the
  1016.                                              grub-efi-amd64-signed package is installed.
  1017.                   -?, --help                 give this help list
  1018.                       --usage                give a short usage message
  1019.                   -V, --version              print program version
  1020.                
  1021.                 Mandatory or optional arguments to long options are also mandatory or optional
  1022.                 for any corresponding short options.
  1023.                
  1024.                 INSTALL_DEVICE must be system device filename.
  1025.                 grub-install copies GRUB images into boot/grub.  On some platforms, it may
  1026.                 also install GRUB into the boot sector.
  1027.                
  1028.                 Report bugs to <bug-grub@gnu.org>.
  1029.                 + grep -q --
  1030.                 + echo Usage: grub-install [OPTION...] [OPTION] [INSTALL_DEVICE]
  1031.                 Install GRUB on your drive.
  1032.                
  1033.                       --compress[=no,xz,gz,lzo]   compress GRUB files [optional]
  1034.                   -d, --directory=DIR        use images and modules under DIR
  1035.                                              [default=/usr/lib/grub/<platform>]
  1036.                       --fonts=FONTS          install FONTS [default=unicode]
  1037.                       --install-modules=MODULES   install only MODULES and their dependencies
  1038.                                              [default=all]
  1039.                   -k, --pubkey=FILE          embed FILE as public key for signature checking
  1040.                       --locale-directory=DIR use translations under DIR
  1041.                                              [default=/usr/share/locale]
  1042.                       --locales=LOCALES      install only LOCALES [default=all]
  1043.                       --modules=MODULES      pre-load specified modules MODULES
  1044.                       --themes=THEMES        install THEMES [default=starfield]
  1045.                   -v, --verbose              print verbose messages.
  1046.                       --allow-floppy         make the drive also bootable as floppy (default
  1047.                                              for fdX devices). May break on some BIOSes.
  1048.                       --boot-directory=DIR   install GRUB images under the directory DIR/grub
  1049.                                              instead of the boot/grub directory
  1050.                       --bootloader-id=ID     the ID of bootloader. This option is only
  1051.                                              available on EFI and Macs.
  1052.                       --core-compress=xz|none|auto
  1053.                                              choose the compression to use for core image
  1054.                       --disk-module=MODULE   disk module to use (biosdisk or native). This
  1055.                                              option is only available on BIOS target.
  1056.                       --efi-directory=DIR    use DIR as the EFI System Partition root.
  1057.                       --force                install even if problems are detected
  1058.                       --force-extra-removable   force installation to the removable media path
  1059.                                              also. This option is only available on EFI.
  1060.                       --force-file-id        use identifier file even if UUID is available
  1061.                       --label-bgcolor=COLOR  use COLOR for label background
  1062.                       --label-color=COLOR    use COLOR for label
  1063.                       --label-font=FILE      use FILE as font for label
  1064.                       --macppc-directory=DIR use DIR for PPC MAC install.
  1065.                       --no-bootsector        do not install bootsector
  1066.                       --no-nvram             don't update the `boot-device'/`Boot*' NVRAM
  1067.                                              variables. This option is only available on EFI
  1068.                                              and IEEE1275 targets.
  1069.                       --no-rs-codes          Do not apply any reed-solomon codes when
  1070.                                              embedding core.img. This option is only available
  1071.                                              on x86 BIOS targets.
  1072.                       --no-uefi-secure-boot  do not install an image usable with UEFI Secure
  1073.                                              Boot, even if the system was currently started
  1074.                                              using it. This option is only available on EFI.
  1075.                       --product-version=STRING   use STRING as product version
  1076.                       --recheck              delete device map if it already exists
  1077.                       --removable            the installation device is removable. This option
  1078.                                              is only available on EFI.
  1079.                   -s, --skip-fs-probe        do not probe for filesystems in DEVICE
  1080.                       --target=TARGET        install GRUB for TARGET platform
  1081.                                              [default=x86_64-efi]
  1082.                       --uefi-secure-boot     install an image usable with UEFI Secure Boot.
  1083.                                              This option is only available on EFI and if the
  1084.                                              grub-efi-amd64-signed package is installed.
  1085.                   -?, --help                 give this help list
  1086.                       --usage                give a short usage message
  1087.                   -V, --version              print program version
  1088.                
  1089.                 Mandatory or optional arguments to long options are also mandatory or optional
  1090.                 for any corresponding short options.
  1091.                
  1092.                 INSTALL_DEVICE must be system device filename.
  1093.                 grub-install copies GRUB images into boot/grub.  On some platforms, it may
  1094.                 also install GRUB into the boot sector.
  1095.                
  1096.                 Report bugs to <bug-grub@gnu.org>.
  1097.                 + grep -q -- --target
  1098.                 + echo Usage: grub-install [OPTION...] [OPTION] [INSTALL_DEVICE]
  1099.                 Install GRUB on your drive.
  1100.                
  1101.                       --compress[=no,xz,gz,lzo]   compress GRUB files [optional]
  1102.                   -d, --directory=DIR        use images and modules under DIR
  1103.                                              [default=/usr/lib/grub/<platform>]
  1104.                       --fonts=FONTS          install FONTS [default=unicode]
  1105.                       --install-modules=MODULES   install only MODULES and their dependencies
  1106.                                              [default=all]
  1107.                   -k, --pubkey=FILE          embed FILE as public key for signature checking
  1108.                       --locale-directory=DIR use translations under DIR
  1109.                                              [default=/usr/share/locale]
  1110.                       --locales=LOCALES      install only LOCALES [default=all]
  1111.                       --modules=MODULES      pre-load specified modules MODULES
  1112.                       --themes=THEMES        install THEMES [default=starfield]
  1113.                   -v, --verbose              print verbose messages.
  1114.                       --allow-floppy         make the drive also bootable as floppy (default
  1115.                                              for fdX devices). May break on some BIOSes.
  1116.                       --boot-directory=DIR   install GRUB images under the directory DIR/grub
  1117.                                              instead of the boot/grub directory
  1118.                       --bootloader-id=ID     the ID of bootloader. This option is only
  1119.                                              available on EFI and Macs.
  1120.                       --core-compress=xz|none|auto
  1121.                                              choose the compression to use for core image
  1122.                       --disk-module=MODULE   disk module to use (biosdisk or native). This
  1123.                                              option is only available on BIOS target.
  1124.                       --efi-directory=DIR    use DIR as the EFI System Partition root.
  1125.                       --force                install even if problems are detected
  1126.                       --force-extra-removable   force installation to the removable media path
  1127.                                              also. This option is only available on EFI.
  1128.                       --force-file-id        use identifier file even if UUID is available
  1129.                       --label-bgcolor=COLOR  use COLOR for label background
  1130.                       --label-color=COLOR    use COLOR for label
  1131.                       --label-font=FILE      use FILE as font for label
  1132.                       --macppc-directory=DIR use DIR for PPC MAC install.
  1133.                       --no-bootsector        do not install bootsector
  1134.                       --no-nvram             don't update the `boot-device'/`Boot*' NVRAM
  1135.                                              variables. This option is only available on EFI
  1136.                                              and IEEE1275 targets.
  1137.                       --no-rs-codes          Do not apply any reed-solomon codes when
  1138.                                              embedding core.img. This option is only available
  1139.                                              on x86 BIOS targets.
  1140.                       --no-uefi-secure-boot  do not install an image usable with UEFI Secure
  1141.                                              Boot, even if the system was currently started
  1142.                                              using it. This option is only available on EFI.
  1143.                       --product-version=STRING   use STRING as product version
  1144.                       --recheck              delete device map if it already exists
  1145.                       --removable            the installation device is removable. This option
  1146.                                              is only available on EFI.
  1147.                   -s, --skip-fs-probe        do not probe for filesystems in DEVICE
  1148.                       --target=TARGET        install GRUB for TARGET platform
  1149.                                              [default=x86_64-efi]
  1150.                       --uefi-secure-boot     install an image usable with UEFI Secure Boot.
  1151.                                              This option is only available on EFI and if the
  1152.                                              grub-efi-amd64-signed package is installed.
  1153.                   -?, --help                 give this help list
  1154.                       --usage                give a short usage message
  1155.                   -V, --version              print program version
  1156.                
  1157.                 Mandatory or optional arguments to long options are also mandatory or optional
  1158.                 for any corresponding short options.
  1159.                
  1160.                 INSTALL_DEVICE must be system device filename.
  1161.                 grub-install copies GRUB images into boot/grub.  On some platforms, it may
  1162.                 also install GRUB into the boot sector.
  1163.                
  1164.                 Report bugs to <bug-grub@gnu.org>.
  1165.                 + grep -q -- --efi-directory
  1166.                 + echo Usage: grub-install [OPTION...] [OPTION] [INSTALL_DEVICE]
  1167.                 Install GRUB on your drive.
  1168.                
  1169.                       --compress[=no,xz,gz,lzo]   compress GRUB files [optional]
  1170.                   -d, --directory=DIR        use images and modules under DIR
  1171.                                              [default=/usr/lib/grub/<platform>]
  1172.                       --fonts=FONTS          install FONTS [default=unicode]
  1173.                       --install-modules=MODULES   install only MODULES and their dependencies
  1174.                                              [default=all]
  1175.                   -k, --pubkey=FILE          embed FILE as public key for signature checking
  1176.                       --locale-directory=DIR use translations under DIR
  1177.                                              [default=/usr/share/locale]
  1178.                       --locales=LOCALES      install only LOCALES [default=all]
  1179.                       --modules=MODULES      pre-load specified modules MODULES
  1180.                       --themes=THEMES        install THEMES [default=starfield]
  1181.                   -v, --verbose              print verbose messages.
  1182.                       --allow-floppy         make the drive also bootable as floppy (default
  1183.                                              for fdX devices). May break on some BIOSes.
  1184.                       --boot-directory=DIR   install GRUB images under the directory DIR/grub
  1185.                                              instead of the boot/grub directory
  1186.                       --bootloader-id=ID     the ID of bootloader. This option is only
  1187.                                              available on EFI and Macs.
  1188.                       --core-compress=xz|none|auto
  1189.                                              choose the compression to use for core image
  1190.                       --disk-module=MODULE   disk module to use (biosdisk or native). This
  1191.                                              option is only available on BIOS target.
  1192.                       --efi-directory=DIR    use DIR as the EFI System Partition root.
  1193.                       --force                install even if problems are detected
  1194.                       --force-extra-removable   force installation to the removable media path
  1195.                                              also. This option is only available on EFI.
  1196.                       --force-file-id        use identifier file even if UUID is available
  1197.                       --label-bgcolor=COLOR  use COLOR for label background
  1198.                       --label-color=COLOR    use COLOR for label
  1199.                       --label-font=FILE      use FILE as font for label
  1200.                       --macppc-directory=DIR use DIR for PPC MAC install.
  1201.                       --no-bootsector        do not install bootsector
  1202.                       --no-nvram             don't update the `boot-device'/`Boot*' NVRAM
  1203.                                              variables. This option is only available on EFI
  1204.                                              and IEEE1275 targets.
  1205.                       --no-rs-codes          Do not apply any reed-solomon codes when
  1206.                                              embedding core.img. This option is only available
  1207.                                              on x86 BIOS targets.
  1208.                       --no-uefi-secure-boot  do not install an image usable with UEFI Secure
  1209.                                              Boot, even if the system was currently started
  1210.                                              using it. This option is only available on EFI.
  1211.                       --product-version=STRING   use STRING as product version
  1212.                       --recheck              delete device map if it already exists
  1213.                       --removable            the installation device is removable. This option
  1214.                                              is only available on EFI.
  1215.                   -s, --skip-fs-probe        do not probe for filesystems in DEVICE
  1216.                       --target=TARGET        install GRUB for TARGET platform
  1217.                                              [default=x86_64-efi]
  1218.                       --uefi-secure-boot     install an image usable with UEFI Secure Boot.
  1219.                                              This option is only available on EFI and if the
  1220.                                              grub-efi-amd64-signed package is installed.
  1221.                   -?, --help                 give this help list
  1222.                       --usage                give a short usage message
  1223.                   -V, --version              print program version
  1224.                
  1225.                 Mandatory or optional arguments to long options are also mandatory or optional
  1226.                 for any corresponding short options.
  1227.                
  1228.                 INSTALL_DEVICE must be system device filename.
  1229.                 grub-install copies GRUB images into boot/grub.  On some platforms, it may
  1230.                 also install GRUB into the boot sector.
  1231.                
  1232.                 Report bugs to <bug-grub@gnu.org>.
  1233.                 + grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=ubuntu --recheck
  1234.                 Installing for x86_64-efi platform.
  1235.                 grub-install: error: failed to get canonical path of `/boot/efi'.
  1236.                 failed to install grub!
  1237.                
  1238.         Stderr: ''
  1239.        
  1240. Stderr: ''
RAW Paste Data
Top