Ubuntu 16.04: grub-efi-amd64-signed failed to install into /target/ error
I have Dell Inspiron 5567 laptop (i-7, 8GB) with Windows-10 OS installed on it. I am trying to install ubuntu 16.04 as a dual boot OS on Windows10. I have disabled fast boot and secure boot options also. I am facing this error while installing Ubuntu 16.04:
grub-efi-amd64-signed failed to install into /target/. Without GRUB boot loader,
the installed system will not boot
The target partition is /dev/sda1.
I have created three partitions:
20GB-ext4- Root mounted
18.9GB-ext4- /home
4GB Swap area
Launchpad link for the log files: https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1703167
Pastebin link for boot-repair: https://pastebin.com/raw/u4LSP0V4
Output of sudo fdisk -l:
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: F87D48DF-F3FF-429E-8F0B-558F81712A60
Device Start End Sectors Size Type
/dev/sda1 2048 1026047 1024000 500M EFI System
/dev/sda2 1026048 1288191 262144 128M Microsoft reserved
/dev/sda3 1288192 1843265535 1841977344 878.3G Microsoft basic data
/dev/sda4 1927151616 1928073215 921600 450M Windows recovery environment
/dev/sda5 1928073216 1951281151 23207936 11.1G Windows recovery environment
/dev/sda6 1951281152 1953523711 2242560 1.1G Windows recovery environment
/dev/sda7 1843265536 1851078655 7813120 3.7G Linux swap
/dev/sda8 1851078656 1890140159 39061504 18.6G Linux filesystem
/dev/sda9 1890140160 1927151615 37011456 17.7G Linux filesystem
Partition table entries are not in disk order.
Output of sudo parted -l:
Model: ATA TOSHIBA MQ01ABD1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 525MB 524MB fat32 EFI system partition boot, esp
2 525MB 660MB 134MB Microsoft reserved partition msftres
3 660MB 944GB 943GB ntfs Basic data partition msftdata
7 944GB 948GB 4000MB linux-swap(v1)
8 948GB 968GB 20.0GB ext4
9 968GB 987GB 18.9GB ext4
4 987GB 987GB 472MB ntfs hidden, diag
5 987GB 999GB 11.9GB ntfs hidden, diag
6 999GB 1000GB 1148MB ntfs hidden, diag
Model: SRT USB (scsi)
Disk /dev/sdb: 32.5GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 32.5GB 32.5GB primary fat32 boot, lba
Please guide me how to resolve this problem.
boot dual-boot grub2 partitioning uefi
add a comment |
I have Dell Inspiron 5567 laptop (i-7, 8GB) with Windows-10 OS installed on it. I am trying to install ubuntu 16.04 as a dual boot OS on Windows10. I have disabled fast boot and secure boot options also. I am facing this error while installing Ubuntu 16.04:
grub-efi-amd64-signed failed to install into /target/. Without GRUB boot loader,
the installed system will not boot
The target partition is /dev/sda1.
I have created three partitions:
20GB-ext4- Root mounted
18.9GB-ext4- /home
4GB Swap area
Launchpad link for the log files: https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1703167
Pastebin link for boot-repair: https://pastebin.com/raw/u4LSP0V4
Output of sudo fdisk -l:
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: F87D48DF-F3FF-429E-8F0B-558F81712A60
Device Start End Sectors Size Type
/dev/sda1 2048 1026047 1024000 500M EFI System
/dev/sda2 1026048 1288191 262144 128M Microsoft reserved
/dev/sda3 1288192 1843265535 1841977344 878.3G Microsoft basic data
/dev/sda4 1927151616 1928073215 921600 450M Windows recovery environment
/dev/sda5 1928073216 1951281151 23207936 11.1G Windows recovery environment
/dev/sda6 1951281152 1953523711 2242560 1.1G Windows recovery environment
/dev/sda7 1843265536 1851078655 7813120 3.7G Linux swap
/dev/sda8 1851078656 1890140159 39061504 18.6G Linux filesystem
/dev/sda9 1890140160 1927151615 37011456 17.7G Linux filesystem
Partition table entries are not in disk order.
Output of sudo parted -l:
Model: ATA TOSHIBA MQ01ABD1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 525MB 524MB fat32 EFI system partition boot, esp
2 525MB 660MB 134MB Microsoft reserved partition msftres
3 660MB 944GB 943GB ntfs Basic data partition msftdata
7 944GB 948GB 4000MB linux-swap(v1)
8 948GB 968GB 20.0GB ext4
9 968GB 987GB 18.9GB ext4
4 987GB 987GB 472MB ntfs hidden, diag
5 987GB 999GB 11.9GB ntfs hidden, diag
6 999GB 1000GB 1148MB ntfs hidden, diag
Model: SRT USB (scsi)
Disk /dev/sdb: 32.5GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 32.5GB 32.5GB primary fat32 boot, lba
Please guide me how to resolve this problem.
boot dual-boot grub2 partitioning uefi
@RodSmith why is this a duplicate? The target you chose has very few helpful answers and the only one that is significantly upvoted assumes there was no EFI partition,. The OP here has an EFI partition so I don't see how it could be the same problem. What am I missing?
– terdon♦
Jul 9 '17 at 15:16
Finally it worked @terdon. Have posted it as an answer.
– Benedict Florance
Jul 12 '17 at 12:46
Possible duplicate of 16.04 new installation gives grub-efi-amd64-signed failed installation /target/ ubuntu 16.04 at the end
– karel
Nov 8 '18 at 15:39
add a comment |
I have Dell Inspiron 5567 laptop (i-7, 8GB) with Windows-10 OS installed on it. I am trying to install ubuntu 16.04 as a dual boot OS on Windows10. I have disabled fast boot and secure boot options also. I am facing this error while installing Ubuntu 16.04:
grub-efi-amd64-signed failed to install into /target/. Without GRUB boot loader,
the installed system will not boot
The target partition is /dev/sda1.
I have created three partitions:
20GB-ext4- Root mounted
18.9GB-ext4- /home
4GB Swap area
Launchpad link for the log files: https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1703167
Pastebin link for boot-repair: https://pastebin.com/raw/u4LSP0V4
Output of sudo fdisk -l:
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: F87D48DF-F3FF-429E-8F0B-558F81712A60
Device Start End Sectors Size Type
/dev/sda1 2048 1026047 1024000 500M EFI System
/dev/sda2 1026048 1288191 262144 128M Microsoft reserved
/dev/sda3 1288192 1843265535 1841977344 878.3G Microsoft basic data
/dev/sda4 1927151616 1928073215 921600 450M Windows recovery environment
/dev/sda5 1928073216 1951281151 23207936 11.1G Windows recovery environment
/dev/sda6 1951281152 1953523711 2242560 1.1G Windows recovery environment
/dev/sda7 1843265536 1851078655 7813120 3.7G Linux swap
/dev/sda8 1851078656 1890140159 39061504 18.6G Linux filesystem
/dev/sda9 1890140160 1927151615 37011456 17.7G Linux filesystem
Partition table entries are not in disk order.
Output of sudo parted -l:
Model: ATA TOSHIBA MQ01ABD1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 525MB 524MB fat32 EFI system partition boot, esp
2 525MB 660MB 134MB Microsoft reserved partition msftres
3 660MB 944GB 943GB ntfs Basic data partition msftdata
7 944GB 948GB 4000MB linux-swap(v1)
8 948GB 968GB 20.0GB ext4
9 968GB 987GB 18.9GB ext4
4 987GB 987GB 472MB ntfs hidden, diag
5 987GB 999GB 11.9GB ntfs hidden, diag
6 999GB 1000GB 1148MB ntfs hidden, diag
Model: SRT USB (scsi)
Disk /dev/sdb: 32.5GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 32.5GB 32.5GB primary fat32 boot, lba
Please guide me how to resolve this problem.
boot dual-boot grub2 partitioning uefi
I have Dell Inspiron 5567 laptop (i-7, 8GB) with Windows-10 OS installed on it. I am trying to install ubuntu 16.04 as a dual boot OS on Windows10. I have disabled fast boot and secure boot options also. I am facing this error while installing Ubuntu 16.04:
grub-efi-amd64-signed failed to install into /target/. Without GRUB boot loader,
the installed system will not boot
The target partition is /dev/sda1.
I have created three partitions:
20GB-ext4- Root mounted
18.9GB-ext4- /home
4GB Swap area
Launchpad link for the log files: https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1703167
Pastebin link for boot-repair: https://pastebin.com/raw/u4LSP0V4
Output of sudo fdisk -l:
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: F87D48DF-F3FF-429E-8F0B-558F81712A60
Device Start End Sectors Size Type
/dev/sda1 2048 1026047 1024000 500M EFI System
/dev/sda2 1026048 1288191 262144 128M Microsoft reserved
/dev/sda3 1288192 1843265535 1841977344 878.3G Microsoft basic data
/dev/sda4 1927151616 1928073215 921600 450M Windows recovery environment
/dev/sda5 1928073216 1951281151 23207936 11.1G Windows recovery environment
/dev/sda6 1951281152 1953523711 2242560 1.1G Windows recovery environment
/dev/sda7 1843265536 1851078655 7813120 3.7G Linux swap
/dev/sda8 1851078656 1890140159 39061504 18.6G Linux filesystem
/dev/sda9 1890140160 1927151615 37011456 17.7G Linux filesystem
Partition table entries are not in disk order.
Output of sudo parted -l:
Model: ATA TOSHIBA MQ01ABD1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 525MB 524MB fat32 EFI system partition boot, esp
2 525MB 660MB 134MB Microsoft reserved partition msftres
3 660MB 944GB 943GB ntfs Basic data partition msftdata
7 944GB 948GB 4000MB linux-swap(v1)
8 948GB 968GB 20.0GB ext4
9 968GB 987GB 18.9GB ext4
4 987GB 987GB 472MB ntfs hidden, diag
5 987GB 999GB 11.9GB ntfs hidden, diag
6 999GB 1000GB 1148MB ntfs hidden, diag
Model: SRT USB (scsi)
Disk /dev/sdb: 32.5GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 32.5GB 32.5GB primary fat32 boot, lba
Please guide me how to resolve this problem.
boot dual-boot grub2 partitioning uefi
boot dual-boot grub2 partitioning uefi
edited Jul 11 '17 at 14:18
Benedict Florance
asked Jul 9 '17 at 5:49
Benedict FloranceBenedict Florance
61118
61118
@RodSmith why is this a duplicate? The target you chose has very few helpful answers and the only one that is significantly upvoted assumes there was no EFI partition,. The OP here has an EFI partition so I don't see how it could be the same problem. What am I missing?
– terdon♦
Jul 9 '17 at 15:16
Finally it worked @terdon. Have posted it as an answer.
– Benedict Florance
Jul 12 '17 at 12:46
Possible duplicate of 16.04 new installation gives grub-efi-amd64-signed failed installation /target/ ubuntu 16.04 at the end
– karel
Nov 8 '18 at 15:39
add a comment |
@RodSmith why is this a duplicate? The target you chose has very few helpful answers and the only one that is significantly upvoted assumes there was no EFI partition,. The OP here has an EFI partition so I don't see how it could be the same problem. What am I missing?
– terdon♦
Jul 9 '17 at 15:16
Finally it worked @terdon. Have posted it as an answer.
– Benedict Florance
Jul 12 '17 at 12:46
Possible duplicate of 16.04 new installation gives grub-efi-amd64-signed failed installation /target/ ubuntu 16.04 at the end
– karel
Nov 8 '18 at 15:39
@RodSmith why is this a duplicate? The target you chose has very few helpful answers and the only one that is significantly upvoted assumes there was no EFI partition,. The OP here has an EFI partition so I don't see how it could be the same problem. What am I missing?
– terdon♦
Jul 9 '17 at 15:16
@RodSmith why is this a duplicate? The target you chose has very few helpful answers and the only one that is significantly upvoted assumes there was no EFI partition,. The OP here has an EFI partition so I don't see how it could be the same problem. What am I missing?
– terdon♦
Jul 9 '17 at 15:16
Finally it worked @terdon. Have posted it as an answer.
– Benedict Florance
Jul 12 '17 at 12:46
Finally it worked @terdon. Have posted it as an answer.
– Benedict Florance
Jul 12 '17 at 12:46
Possible duplicate of 16.04 new installation gives grub-efi-amd64-signed failed installation /target/ ubuntu 16.04 at the end
– karel
Nov 8 '18 at 15:39
Possible duplicate of 16.04 new installation gives grub-efi-amd64-signed failed installation /target/ ubuntu 16.04 at the end
– karel
Nov 8 '18 at 15:39
add a comment |
2 Answers
2
active
oldest
votes
The EFI System Partition was corrupt. I rectified this error with the following steps:
On Windows, I used DISKPART to assign the EFI System partition a letter. Fired up DISKPART, and typed LIST DISK
to find the disk, followed by SELECT DISK <N>
(where is the drive number). Followed the same steps to find the proper partition (i.e. LIST PARTITION
followed by SELECT PARTITION <N>
), and then simply typed ASSIGN LETTER = X
to have Windows mount the partition to letter X.
Then opened CMD with administrative access. Ran CHKDSK X: /f /r
Then, I tried installing Ubuntu once again, and it installed successfully!
add a comment |
I have seen this with many computers, it is not the grub install that actually fails but the update-grub that makes the first config file that fails.
the problem is that the if/then statement in 30_uefi-firmware errors.
the easiest fix is after it error, choose the command line prompt at the bottom of the installer menu. and use nano to edit the file /etc/grub.d/30_uefi-firmware.
I have changed mine to read:
gettext_printf "Adding boot menu entry for EFI firmware configurationn" >&2
cat << EOF
menuentry 'uefi-firmware' {
fwsetup
}
EOF
after editing rerun install grub.
note: on some systems the print command needs to be commented out temporarily for the installer
I don't get any command line prompt at the bottom of the installer menu?
– Benedict Florance
Jul 9 '17 at 6:13
finish the install with out grub, when booting you should get a grub command line. or use the grub from the installer disk ( press "c" to get the command line). follow these directions for booting askubuntu.com/a/931327/694267. you will have to change the drive designations to match your installation. looks like sda8 is root partition, solinux (hd0,8)/vmlinuz root=/dev/sda8
– ravery
Jul 9 '17 at 6:17
I'm getting a screen upon booting like the link you've mentioned. Now what should I do. Follow the instructions according to that question? When should I change /etc/grub.d/30_uefi-firmware
– Benedict Florance
Jul 9 '17 at 6:24
yes follow those directions, substitute in (hd0,8) and /dev/sda8 for drive desegnations. change /etc/grub.d/30_uefi-firmware before running update-grub
– ravery
Jul 9 '17 at 6:26
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f934415%2fubuntu-16-04-grub-efi-amd64-signed-failed-to-install-into-target-error%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
The EFI System Partition was corrupt. I rectified this error with the following steps:
On Windows, I used DISKPART to assign the EFI System partition a letter. Fired up DISKPART, and typed LIST DISK
to find the disk, followed by SELECT DISK <N>
(where is the drive number). Followed the same steps to find the proper partition (i.e. LIST PARTITION
followed by SELECT PARTITION <N>
), and then simply typed ASSIGN LETTER = X
to have Windows mount the partition to letter X.
Then opened CMD with administrative access. Ran CHKDSK X: /f /r
Then, I tried installing Ubuntu once again, and it installed successfully!
add a comment |
The EFI System Partition was corrupt. I rectified this error with the following steps:
On Windows, I used DISKPART to assign the EFI System partition a letter. Fired up DISKPART, and typed LIST DISK
to find the disk, followed by SELECT DISK <N>
(where is the drive number). Followed the same steps to find the proper partition (i.e. LIST PARTITION
followed by SELECT PARTITION <N>
), and then simply typed ASSIGN LETTER = X
to have Windows mount the partition to letter X.
Then opened CMD with administrative access. Ran CHKDSK X: /f /r
Then, I tried installing Ubuntu once again, and it installed successfully!
add a comment |
The EFI System Partition was corrupt. I rectified this error with the following steps:
On Windows, I used DISKPART to assign the EFI System partition a letter. Fired up DISKPART, and typed LIST DISK
to find the disk, followed by SELECT DISK <N>
(where is the drive number). Followed the same steps to find the proper partition (i.e. LIST PARTITION
followed by SELECT PARTITION <N>
), and then simply typed ASSIGN LETTER = X
to have Windows mount the partition to letter X.
Then opened CMD with administrative access. Ran CHKDSK X: /f /r
Then, I tried installing Ubuntu once again, and it installed successfully!
The EFI System Partition was corrupt. I rectified this error with the following steps:
On Windows, I used DISKPART to assign the EFI System partition a letter. Fired up DISKPART, and typed LIST DISK
to find the disk, followed by SELECT DISK <N>
(where is the drive number). Followed the same steps to find the proper partition (i.e. LIST PARTITION
followed by SELECT PARTITION <N>
), and then simply typed ASSIGN LETTER = X
to have Windows mount the partition to letter X.
Then opened CMD with administrative access. Ran CHKDSK X: /f /r
Then, I tried installing Ubuntu once again, and it installed successfully!
edited Jul 12 '17 at 12:47
terdon♦
67.1k13139221
67.1k13139221
answered Jul 12 '17 at 12:45
Benedict FloranceBenedict Florance
61118
61118
add a comment |
add a comment |
I have seen this with many computers, it is not the grub install that actually fails but the update-grub that makes the first config file that fails.
the problem is that the if/then statement in 30_uefi-firmware errors.
the easiest fix is after it error, choose the command line prompt at the bottom of the installer menu. and use nano to edit the file /etc/grub.d/30_uefi-firmware.
I have changed mine to read:
gettext_printf "Adding boot menu entry for EFI firmware configurationn" >&2
cat << EOF
menuentry 'uefi-firmware' {
fwsetup
}
EOF
after editing rerun install grub.
note: on some systems the print command needs to be commented out temporarily for the installer
I don't get any command line prompt at the bottom of the installer menu?
– Benedict Florance
Jul 9 '17 at 6:13
finish the install with out grub, when booting you should get a grub command line. or use the grub from the installer disk ( press "c" to get the command line). follow these directions for booting askubuntu.com/a/931327/694267. you will have to change the drive designations to match your installation. looks like sda8 is root partition, solinux (hd0,8)/vmlinuz root=/dev/sda8
– ravery
Jul 9 '17 at 6:17
I'm getting a screen upon booting like the link you've mentioned. Now what should I do. Follow the instructions according to that question? When should I change /etc/grub.d/30_uefi-firmware
– Benedict Florance
Jul 9 '17 at 6:24
yes follow those directions, substitute in (hd0,8) and /dev/sda8 for drive desegnations. change /etc/grub.d/30_uefi-firmware before running update-grub
– ravery
Jul 9 '17 at 6:26
add a comment |
I have seen this with many computers, it is not the grub install that actually fails but the update-grub that makes the first config file that fails.
the problem is that the if/then statement in 30_uefi-firmware errors.
the easiest fix is after it error, choose the command line prompt at the bottom of the installer menu. and use nano to edit the file /etc/grub.d/30_uefi-firmware.
I have changed mine to read:
gettext_printf "Adding boot menu entry for EFI firmware configurationn" >&2
cat << EOF
menuentry 'uefi-firmware' {
fwsetup
}
EOF
after editing rerun install grub.
note: on some systems the print command needs to be commented out temporarily for the installer
I don't get any command line prompt at the bottom of the installer menu?
– Benedict Florance
Jul 9 '17 at 6:13
finish the install with out grub, when booting you should get a grub command line. or use the grub from the installer disk ( press "c" to get the command line). follow these directions for booting askubuntu.com/a/931327/694267. you will have to change the drive designations to match your installation. looks like sda8 is root partition, solinux (hd0,8)/vmlinuz root=/dev/sda8
– ravery
Jul 9 '17 at 6:17
I'm getting a screen upon booting like the link you've mentioned. Now what should I do. Follow the instructions according to that question? When should I change /etc/grub.d/30_uefi-firmware
– Benedict Florance
Jul 9 '17 at 6:24
yes follow those directions, substitute in (hd0,8) and /dev/sda8 for drive desegnations. change /etc/grub.d/30_uefi-firmware before running update-grub
– ravery
Jul 9 '17 at 6:26
add a comment |
I have seen this with many computers, it is not the grub install that actually fails but the update-grub that makes the first config file that fails.
the problem is that the if/then statement in 30_uefi-firmware errors.
the easiest fix is after it error, choose the command line prompt at the bottom of the installer menu. and use nano to edit the file /etc/grub.d/30_uefi-firmware.
I have changed mine to read:
gettext_printf "Adding boot menu entry for EFI firmware configurationn" >&2
cat << EOF
menuentry 'uefi-firmware' {
fwsetup
}
EOF
after editing rerun install grub.
note: on some systems the print command needs to be commented out temporarily for the installer
I have seen this with many computers, it is not the grub install that actually fails but the update-grub that makes the first config file that fails.
the problem is that the if/then statement in 30_uefi-firmware errors.
the easiest fix is after it error, choose the command line prompt at the bottom of the installer menu. and use nano to edit the file /etc/grub.d/30_uefi-firmware.
I have changed mine to read:
gettext_printf "Adding boot menu entry for EFI firmware configurationn" >&2
cat << EOF
menuentry 'uefi-firmware' {
fwsetup
}
EOF
after editing rerun install grub.
note: on some systems the print command needs to be commented out temporarily for the installer
answered Jul 9 '17 at 5:58
raveryravery
5,50351132
5,50351132
I don't get any command line prompt at the bottom of the installer menu?
– Benedict Florance
Jul 9 '17 at 6:13
finish the install with out grub, when booting you should get a grub command line. or use the grub from the installer disk ( press "c" to get the command line). follow these directions for booting askubuntu.com/a/931327/694267. you will have to change the drive designations to match your installation. looks like sda8 is root partition, solinux (hd0,8)/vmlinuz root=/dev/sda8
– ravery
Jul 9 '17 at 6:17
I'm getting a screen upon booting like the link you've mentioned. Now what should I do. Follow the instructions according to that question? When should I change /etc/grub.d/30_uefi-firmware
– Benedict Florance
Jul 9 '17 at 6:24
yes follow those directions, substitute in (hd0,8) and /dev/sda8 for drive desegnations. change /etc/grub.d/30_uefi-firmware before running update-grub
– ravery
Jul 9 '17 at 6:26
add a comment |
I don't get any command line prompt at the bottom of the installer menu?
– Benedict Florance
Jul 9 '17 at 6:13
finish the install with out grub, when booting you should get a grub command line. or use the grub from the installer disk ( press "c" to get the command line). follow these directions for booting askubuntu.com/a/931327/694267. you will have to change the drive designations to match your installation. looks like sda8 is root partition, solinux (hd0,8)/vmlinuz root=/dev/sda8
– ravery
Jul 9 '17 at 6:17
I'm getting a screen upon booting like the link you've mentioned. Now what should I do. Follow the instructions according to that question? When should I change /etc/grub.d/30_uefi-firmware
– Benedict Florance
Jul 9 '17 at 6:24
yes follow those directions, substitute in (hd0,8) and /dev/sda8 for drive desegnations. change /etc/grub.d/30_uefi-firmware before running update-grub
– ravery
Jul 9 '17 at 6:26
I don't get any command line prompt at the bottom of the installer menu?
– Benedict Florance
Jul 9 '17 at 6:13
I don't get any command line prompt at the bottom of the installer menu?
– Benedict Florance
Jul 9 '17 at 6:13
finish the install with out grub, when booting you should get a grub command line. or use the grub from the installer disk ( press "c" to get the command line). follow these directions for booting askubuntu.com/a/931327/694267. you will have to change the drive designations to match your installation. looks like sda8 is root partition, so
linux (hd0,8)/vmlinuz root=/dev/sda8
– ravery
Jul 9 '17 at 6:17
finish the install with out grub, when booting you should get a grub command line. or use the grub from the installer disk ( press "c" to get the command line). follow these directions for booting askubuntu.com/a/931327/694267. you will have to change the drive designations to match your installation. looks like sda8 is root partition, so
linux (hd0,8)/vmlinuz root=/dev/sda8
– ravery
Jul 9 '17 at 6:17
I'm getting a screen upon booting like the link you've mentioned. Now what should I do. Follow the instructions according to that question? When should I change /etc/grub.d/30_uefi-firmware
– Benedict Florance
Jul 9 '17 at 6:24
I'm getting a screen upon booting like the link you've mentioned. Now what should I do. Follow the instructions according to that question? When should I change /etc/grub.d/30_uefi-firmware
– Benedict Florance
Jul 9 '17 at 6:24
yes follow those directions, substitute in (hd0,8) and /dev/sda8 for drive desegnations. change /etc/grub.d/30_uefi-firmware before running update-grub
– ravery
Jul 9 '17 at 6:26
yes follow those directions, substitute in (hd0,8) and /dev/sda8 for drive desegnations. change /etc/grub.d/30_uefi-firmware before running update-grub
– ravery
Jul 9 '17 at 6:26
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f934415%2fubuntu-16-04-grub-efi-amd64-signed-failed-to-install-into-target-error%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
@RodSmith why is this a duplicate? The target you chose has very few helpful answers and the only one that is significantly upvoted assumes there was no EFI partition,. The OP here has an EFI partition so I don't see how it could be the same problem. What am I missing?
– terdon♦
Jul 9 '17 at 15:16
Finally it worked @terdon. Have posted it as an answer.
– Benedict Florance
Jul 12 '17 at 12:46
Possible duplicate of 16.04 new installation gives grub-efi-amd64-signed failed installation /target/ ubuntu 16.04 at the end
– karel
Nov 8 '18 at 15:39