Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- set timeout=3
- menuentry 'Ubuntu' {
- chainloader /efi/ubuntu/grubx64.efi
- }
- menuentry 'Windows' {
- chainloader /efi/Microsoft/Boot/bootmgfw.efi
- }
- menuentry 'Firmware Setup' {
- fwsetup
- }
- menuentry 'ubuntu-14.04.1-desktop-amd64.iso' {
- set isofile="/efi/boot/ubuntu-14.04.1-desktop-amd64.iso"
- loopback loop $isofile
- linux (loop)/casper/vmlinuz.efi boot=casper iso-scan/filename=$isofile noprompt noeject quiet splash
- initrd (loop)/casper/initrd.lz
- }
- Possible EFI System Partitions (ESP) found, but none appear to be mounted:
- /dev/sda1: LABEL="ESP W8" UUID="8AEF-2F66" TYPE="vfat"
- /dev/sdb1: LABEL="ESP HDD" UUID="CBB5-B769" TYPE="vfat"
- /dev/sdc1: LABEL="ESP EVO" UUID="288D-5954" TYPE="vfat"
- /dev/sdd1: LABEL="SANDISK" UUID="B67A-5BFF" TYPE="vfat"
- Please enter the device name of your ESP (/dev/sd[a-z][1-9]): /dev/sdb1
- --- Begin installing grub-efi-amd64 package (could throw some dpkg errors) ---
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following extra packages will be installed:
- efibootmgr grub-efi-amd64-bin
- The following packages will be REMOVED:
- grub-gfxpayload-lists grub-pc
- The following NEW packages will be installed:
- efibootmgr grub-efi-amd64 grub-efi-amd64-bin
- 0 upgraded, 3 newly installed, 2 to remove and 0 not upgraded.
- Need to get 0 B/722 kB of archives.
- After this operation, 2,399 kB of additional disk space will be used.
- Preconfiguring packages ...
- (Reading database ... 169555 files and directories currently installed.)
- Removing grub-gfxpayload-lists (0.6) ...
- Removing grub-pc (2.02~beta2-9ubuntu1) ...
- Processing triggers for man-db (2.6.7.1-1) ...
- Selecting previously unselected package efibootmgr.
- (Reading database ... 169536 files and directories currently installed.)
- Preparing to unpack .../efibootmgr_0.5.4-7ubuntu1_amd64.deb ...
- Unpacking efibootmgr (0.5.4-7ubuntu1) ...
- Selecting previously unselected package grub-efi-amd64-bin.
- Preparing to unpack .../grub-efi-amd64-bin_2.02~beta2-9ubuntu1_amd64.deb ...
- Unpacking grub-efi-amd64-bin (2.02~beta2-9ubuntu1) ...
- Selecting previously unselected package grub-efi-amd64.
- Preparing to unpack .../grub-efi-amd64_2.02~beta2-9ubuntu1_amd64.deb ...
- Unpacking grub-efi-amd64 (2.02~beta2-9ubuntu1) ...
- Processing triggers for man-db (2.6.7.1-1) ...
- Setting up efibootmgr (0.5.4-7ubuntu1) ...
- Setting up grub-efi-amd64-bin (2.02~beta2-9ubuntu1) ...
- Setting up grub-efi-amd64 (2.02~beta2-9ubuntu1) ...
- Installing for x86_64-efi platform.
- grub-install: error: failed to get canonical path of `/cow'.
- dpkg: error processing package grub-efi-amd64 (--configure):
- subprocess installed post-installation script returned error exit status 1
- Errors were encountered while processing:
- grub-efi-amd64
- E: Sub-process /usr/bin/dpkg returned an error code (1)
- --- End of installing grub-efi-amd64 ---
- --- Installing GRUB EFI image and configuration to ESP ---
- ‘/boot/efi/EFI/boot/bootx64.efi’ -> ‘/boot/efi/EFI/boot/bootx64_uefi-bootfix-backup-2014-11-13_22-39-42.efi’
- ‘/home/ubuntu/uefi-bootfix/bootx64.efi’ -> ‘/boot/efi/EFI/boot/bootx64.efi’
- ‘/home/ubuntu/uefi-bootfix/grub.cfg’ -> ‘/boot/efi/EFI/boot/grub.cfg’
- --- Done. ---
- # sudo -i
- # apt-get install efibootmgr
- # efibootmgr
- BootCurrent: 0003
- Timeout: 0 seconds
- BootOrder: 0003,0002,0004,2001
- Boot0000* UEFI Onboard LAN IPv6
- Boot0001* UEFI Onboard LAN IPv4
- Boot0002* ubuntu
- Boot0003* Windows Boot Manager
- Boot0004* Ubuntu
- Boot2001* EFI USB Device
- # efibootmgr -o 0002,0003,0004,2001
- # efibootmgr -n 0002
Add Comment
Please, Sign In to add comment