Advertisement
Guest User

Untitled

a guest
Dec 11th, 2014
997
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.50 KB | None | 0 0
  1. grub-install: error: /usr/lib/grub/modinfo.sh doesn't exist. Please specify --target or --directory.
  2. failed to install grub!
  3. Unexpected error while running command.
  4. Command: ['install-grub', '--uefi', '/tmp/tmpMUif61/target', '/dev/sda']
  5. Exit code: 1
  6. Reason: -
  7. Stdout: ''
  8. Stderr: ''
  9. Installation failed with exception: Unexpected error while running command.
  10. Command: ['curtin', 'curthooks']
  11. Exit code: 3
  12. Reason: -
  13. Stdout: "Ign http://archive.ubuntu.com trusty InRelease\nIgn http://archive.ubuntu.com trusty-updates InRelease\nIgn http://archive.ubuntu.com trusty-security InRelease\nGet:1 http://archive.ubuntu.com trusty Release.gpg [933 B]\nGet:2 http://archive.ubuntu.com trusty-updates Release.gpg [933 B]\nGet:3 http://archive.ubuntu.com trusty-security Release.gpg [933 B]\nGet:4 http://archive.ubuntu.com trusty Release [58.5 kB]\nGet:5 http://archive.ubuntu.com trusty-updates Release [62.0 kB]\nGet:6 http://archive.ubuntu.com trusty-security Release [62.0 kB]\nGet:7 http://archive.ubuntu.com trusty/main amd64 Packages [1350 kB]\nGet:8 http://archive.ubuntu.com trusty/restricted amd64 Packages [13.0 kB]\nGet:9 http://archive.ubuntu.com trusty/universe amd64 Packages [5859 kB]\nGet:10 http://archive.ubuntu.com trusty/multiverse amd64 Packages [132 kB]\nGet:11 http://archive.ubuntu.com trusty/main Translation-en [762 kB]\nGet:12 http://archive.ubuntu.com trusty/multiverse Translation-en [102 kB]\nGet:13 http://archive.ubuntu.com trusty/restricted Translation-en [3457 B]\nGet:14 http://archive.ubuntu.com trusty/universe Translation-en [4089 kB]\nGet:15 http://archive.ubuntu.com trusty-updates/main amd64 Packages [378 kB]\nGet:16 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [5820 B]\nGet:17 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [226 kB]\nGet:18 http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages [9356 B]\nGet:19 http://archive.ubuntu.com trusty-updates/main Translation-en [174 kB]\nGet:20 http://archive.ubuntu.com trusty-updates/multiverse Translation-en [4719 B]\nGet:21 http://archive.ubuntu.com trusty-updates/restricted Translation-en [1736 B]\nGet:22 http://archive.ubuntu.com trusty-updates/universe Translation-en [115 kB]\nGet:23 http://archive.ubuntu.com trusty-security/main amd64 Packages [173 kB]\nGet:24 http://archive.ubuntu.com trusty-security/restricted amd64 Packages [14 B]\nGet:25 http://archive.ubuntu.com trusty-security/universe amd64 Packages [75.9 kB]\nGet:26 http://archive.ubuntu.com trusty-security/multiverse amd64 Packages [1143 B]\nGet:27 http://archive.ubuntu.com trusty-security/main Translation-en [85.2 kB]\nGet:28 http://archive.ubuntu.com trusty-security/multiverse Translation-en [587 B]\nGet:29 http://archive.ubuntu.com trusty-security/restricted Translation-en [14 B]\nGet:30 http://archive.ubuntu.com trusty-security/universe Translation-en [41.4 kB]\nFetched 13.8 MB in 12s (1104 kB/s)\nReading package lists...\nLeaving 'diversion of /etc/init/ureadahead.conf to /etc/init/ureadahead.conf.disabled by cloud-init'\n8192+0 records in\n8192+0 records out\n8589934592 bytes (8.6 GB) copied, 6.7781 s, 1.3 GB/s\nSetting up swapspace version 1, size = 8388604 KiB\nno label, UUID=4c4837e7-8242-4861-8975-4e49619003f0\nReading package lists...\nBuilding dependency tree...\nReading state information...\nThe following extra packages will be installed:\n efibootmgr grub-efi-amd64-bin sbsigntool secureboot-db shim\nThe following packages will be REMOVED:\n grub-gfxpayload-lists grub-pc\nThe following NEW packages will be installed:\n efibootmgr grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed\n sbsigntool secureboot-db shim shim-signed\n0 upgraded, 8 newly installed, 2 to remove and 71 not upgraded.\nNeed to get 2138 kB of archives.\nAfter this operation, 9736 kB of additional disk space will be used.\nGet:1 http://archive.ubuntu.com//ubuntu/ trusty/main efibootmgr amd64 0.5.4-7ubuntu1 [28.4 kB]\nGet:2 http://archive.ubuntu.com//ubuntu/ trusty-updates/main grub-efi-amd64-bin amd64 2.02~beta2-9ubuntu1 [649 kB]\nGet:3 http://archive.ubuntu.com//ubuntu/ trusty-updates/main grub-efi-amd64 amd64 2.02~beta2-9ubuntu1 [44.5 kB]\nGet:4 http://archive.ubuntu.com//ubuntu/ trusty-updates/main grub-efi-amd64-signed amd64 1.34.1+2.02~beta2-9ubuntu1 [245 kB]\nGet:5 http://archive.ubuntu.com//ubuntu/ trusty/main sbsigntool amd64 0.6-0ubuntu7 [50.1 kB]\nGet:6 http://archive.ubuntu.com//ubuntu/ trusty/main secureboot-db amd64 1.1 [2740 B]\nGet:7 http://archive.ubuntu.com//ubuntu/ trusty/main shim amd64 0.4-0ubuntu4 [792 kB]\nGet:8 http://archive.ubuntu.com//ubuntu/ trusty/main shim-signed amd64 1.6+0.4-0ubuntu4 [327 kB]\nPreconfiguring packages ...\nFetched 2138 kB in 0s (42.5 MB/s)\n(Reading database ... 56007 files and directories currently installed.)\nRemoving grub-gfxpayload-lists (0.6) ...\nRemoving grub-pc (2.02~beta2-9ubuntu1) ...\nSaving menu.lst backup in /boot/grub/menu.lst_backup_by_grub2_prerm\nRunning update-grub Legacy to remove our core.img in it\n Searching for GRUB installation directory ... found: /boot/grub\n /usr/lib/grub-legacy/update-grub: line 116: grub: command not found\n /usr/lib/grub-legacy/update-grub: line 116: grub: command not found\n /usr/lib/grub-legacy/update-grub: line 153: grub: command not found\n Searching for default file ... found: /boot/grub/default\n Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst\n Searching for splash image ... none found, skipping ...\n Found kernel: /boot/vmlinuz-3.13.0-35-generic\n Updating /boot/grub/menu.lst ... done\n \nProcessing triggers for man-db (2.6.7.1-1) ...\nSelecting previously unselected package efibootmgr.\n(Reading database ... 55987 files and directories currently installed.)\nPreparing to unpack .../efibootmgr_0.5.4-7ubuntu1_amd64.deb ...\nUnpacking efibootmgr (0.5.4-7ubuntu1) ...\nSelecting previously unselected package grub-efi-amd64-bin.\nPreparing to unpack .../grub-efi-amd64-bin_2.02~beta2-9ubuntu1_amd64.deb ...\nUnpacking grub-efi-amd64-bin (2.02~beta2-9ubuntu1) ...\nSelecting previously unselected package grub-efi-amd64.\nPreparing to unpack .../grub-efi-amd64_2.02~beta2-9ubuntu1_amd64.deb ...\nUnpacking grub-efi-amd64 (2.02~beta2-9ubuntu1) ...\nSelecting previously unselected package grub-efi-amd64-signed.\nPreparing to unpack .../grub-efi-amd64-signed_1.34.1+2.02~beta2-9ubuntu1_amd64.deb ...\nUnpacking grub-efi-amd64-signed (1.34.1+2.02~beta2-9ubuntu1) ...\nSelecting previously unselected package sbsigntool.\nPreparing to unpack .../sbsigntool_0.6-0ubuntu7_amd64.deb ...\nUnpacking sbsigntool (0.6-0ubuntu7) ...\nSelecting previously unselected package secureboot-db.\nPreparing to unpack .../secureboot-db_1.1_amd64.deb ...\nUnpacking secureboot-db (1.1) ...\nSelecting previously unselected package shim.\nPreparing to unpack .../shim_0.4-0ubuntu4_amd64.deb ...\nUnpacking shim (0.4-0ubuntu4) ...\nSelecting previously unselected package shim-signed.\nPreparing to unpack .../shim-signed_1.6+0.4-0ubuntu4_amd64.deb ...\nUnpacking shim-signed (1.6+0.4-0ubuntu4) ...\nProcessing triggers for man-db (2.6.7.1-1) ...\nSetting up efibootmgr (0.5.4-7ubuntu1) ...\nSetting up grub-efi-amd64-bin (2.02~beta2-9ubuntu1) ...\nSetting up grub-efi-amd64 (2.02~beta2-9ubuntu1) ...\nReplacing config file /etc/default/grub with new version\nGenerating grub configuration file ...\nFound linux image: /boot/vmlinuz-3.13.0-35-generic\nFound initrd image: /boot/initrd.img-3.13.0-35-generic\ndone\nSetting up grub-efi-amd64-signed (1.34.1+2.02~beta2-9ubuntu1) ...\nSetting up sbsigntool (0.6-0ubuntu7) ...\nSetting up secureboot-db (1.1) ...\nCan't access efivars filesystem at /sys/firmware/efi/efivars, aborting\nSetting up shim (0.4-0ubuntu4) ...\nSetting up shim-signed (1.6+0.4-0ubuntu4) ...\nReplacing config file /etc/default/grub with new version\nGenerating grub configuration file ...\nWarning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.\nFound linux image: /boot/vmlinuz-3.13.0-35-generic\nFound initrd image: /boot/initrd.img-3.13.0-35-generic\ndone\nGenerating grub configuration file ...\nWarning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.\nFound linux image: /boot/vmlinuz-3.13.0-35-generic\nFound initrd image: /boot/initrd.img-3.13.0-35-generic\ndone\ngrub-install: error: /usr/lib/grub/modinfo.sh doesn't exist. Please specify --target or --directory.\nfailed to install grub!\nUnexpected error while running command.\nCommand: ['install-grub', '--uefi', '/tmp/tmpMUif61/target', '/dev/sda']\nExit code: 1\nReason: -\nStdout: ''\nStderr: ''\n"
  14. Stderr: ''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement