Guest User

Untitled

a guest
May 26th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.72 KB | None | 0 0
  1. grub-mkimage -o bootx64.efi -p /efi/boot -O x86_64-efi fat iso9660 part_gpt part_msdos normal boot linux configfile loopback chain efifwsetup efi_gop efi_uga ls search search_label search_fs_uuid search_fs_file exfat ext2 ntfs btrfs hfsplus udf
  2.  
  3. set timeout=3
  4. menuentry 'Ubuntu' {
  5. chainloader /efi/ubuntu/grubx64.efi
  6. }
  7. menuentry 'Windows' {
  8. chainloader /efi/Microsoft/Boot/bootmgfw.efi
  9. }
  10. menuentry 'Firmware Setup' {
  11. fwsetup
  12. }
  13. menuentry 'ubuntu-14.04.1-desktop-amd64.iso' {
  14. set isofile="/efi/boot/ubuntu-14.04.1-desktop-amd64.iso"
  15. loopback loop $isofile
  16. linux (loop)/casper/vmlinuz.efi boot=casper iso-scan/filename=$isofile noprompt noeject quiet splash
  17. initrd (loop)/casper/initrd.lz
  18. }
  19.  
  20. Possible EFI System Partitions (ESP) found, but none appear to be mounted:
  21. /dev/sda1: LABEL="ESP W8" UUID="8AEF-2F66" TYPE="vfat"
  22. /dev/sdb1: LABEL="ESP HDD" UUID="CBB5-B769" TYPE="vfat"
  23. /dev/sdc1: LABEL="ESP EVO" UUID="288D-5954" TYPE="vfat"
  24. /dev/sdd1: LABEL="SANDISK" UUID="B67A-5BFF" TYPE="vfat"
  25. Please enter the device name of your ESP (/dev/sd[a-z][1-9]): /dev/sdb1
  26. --- Begin installing grub-efi-amd64 package (could throw some dpkg errors) ---
  27. Reading package lists... Done
  28. Building dependency tree
  29. Reading state information... Done
  30. The following extra packages will be installed:
  31. efibootmgr grub-efi-amd64-bin
  32. The following packages will be REMOVED:
  33. grub-gfxpayload-lists grub-pc
  34. The following NEW packages will be installed:
  35. efibootmgr grub-efi-amd64 grub-efi-amd64-bin
  36. 0 upgraded, 3 newly installed, 2 to remove and 0 not upgraded.
  37. Need to get 0 B/722 kB of archives.
  38. After this operation, 2,399 kB of additional disk space will be used.
  39. Preconfiguring packages ...
  40. (Reading database ... 169555 files and directories currently installed.)
  41. Removing grub-gfxpayload-lists (0.6) ...
  42. Removing grub-pc (2.02~beta2-9ubuntu1) ...
  43. Processing triggers for man-db (2.6.7.1-1) ...
  44. Selecting previously unselected package efibootmgr.
  45. (Reading database ... 169536 files and directories currently installed.)
  46. Preparing to unpack .../efibootmgr_0.5.4-7ubuntu1_amd64.deb ...
  47. Unpacking efibootmgr (0.5.4-7ubuntu1) ...
  48. Selecting previously unselected package grub-efi-amd64-bin.
  49. Preparing to unpack .../grub-efi-amd64-bin_2.02~beta2-9ubuntu1_amd64.deb ...
  50. Unpacking grub-efi-amd64-bin (2.02~beta2-9ubuntu1) ...
  51. Selecting previously unselected package grub-efi-amd64.
  52. Preparing to unpack .../grub-efi-amd64_2.02~beta2-9ubuntu1_amd64.deb ...
  53. Unpacking grub-efi-amd64 (2.02~beta2-9ubuntu1) ...
  54. Processing triggers for man-db (2.6.7.1-1) ...
  55. Setting up efibootmgr (0.5.4-7ubuntu1) ...
  56. Setting up grub-efi-amd64-bin (2.02~beta2-9ubuntu1) ...
  57. Setting up grub-efi-amd64 (2.02~beta2-9ubuntu1) ...
  58. Installing for x86_64-efi platform.
  59. grub-install: error: failed to get canonical path of `/cow'.
  60. dpkg: error processing package grub-efi-amd64 (--configure):
  61. subprocess installed post-installation script returned error exit status 1
  62. Errors were encountered while processing:
  63. grub-efi-amd64
  64. E: Sub-process /usr/bin/dpkg returned an error code (1)
  65. --- End of installing grub-efi-amd64 ---
  66. --- Installing GRUB EFI image and configuration to ESP ---
  67. ‘/boot/efi/EFI/boot/bootx64.efi’ -> ‘/boot/efi/EFI/boot/bootx64_uefi-bootfix-backup-2014-11-13_22-39-42.efi’
  68. ‘/home/ubuntu/uefi-bootfix/bootx64.efi’ -> ‘/boot/efi/EFI/boot/bootx64.efi’
  69. ‘/home/ubuntu/uefi-bootfix/grub.cfg’ -> ‘/boot/efi/EFI/boot/grub.cfg’
  70. --- Done. ---
  71.  
  72. # sudo -i
  73. # apt-get install efibootmgr
  74. # efibootmgr
  75. BootCurrent: 0003
  76. Timeout: 0 seconds
  77. BootOrder: 0003,0002,0004,2001
  78. Boot0000* UEFI Onboard LAN IPv6
  79. Boot0001* UEFI Onboard LAN IPv4
  80. Boot0002* ubuntu
  81. Boot0003* Windows Boot Manager
  82. Boot0004* Ubuntu
  83. Boot2001* EFI USB Device
  84.  
  85. # efibootmgr -o 0002,0003,0004,2001
  86.  
  87. # efibootmgr -n 0002
Add Comment
Please, Sign In to add comment