You are not logged in.

#1 2016-10-02 03:24:31

yat0
Member
Registered: 2016-10-02
Posts: 3

Grub Problem - /boot doesn't look like an EFI partition

Hi, I've been trying to dual-boot my Win10 laptop with Arch Linux.
I decided to use the ESP already created by Windows and mount it to /boot. However, after trying grub-install, I get this "/boot doesn't look like an EFI partition".. I've been searching but I couldn't find a solution for this in other related topics.

Some of the commands executed:

To mount the ESP (sda2 = win EFI System Partition)

mount /dev/sda2 /boot

Change root

arch-chroot /mnt /bin/bash

Install grub

grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=grub

An image of  fdisk -l:
https://s9.postimg.org/rscdhu20v/IMG_20 … 035636.jpg

Can someone help me with this?
Thanks in advance



--  read the Code of Conduct and only post thumbnails http://wiki.archlinux.org/index.php/Cod … s_and_code [jwr] --

Offline

#2 2016-10-02 04:04:45

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,559

Re: Grub Problem - /boot doesn't look like an EFI partition

mounting it to /boot outside the chroot isn't going to work.

Offline

#3 2016-10-02 04:10:37

yat0
Member
Registered: 2016-10-02
Posts: 3

Re: Grub Problem - /boot doesn't look like an EFI partition

Scimmia wrote:

mounting it to /boot outside the chroot isn't going to work.

Really? But I just followed the wiki... I mean, Partitioning, Formating and Mounting is before changing root to /mnt.
Even in the partitioning related posts where I learnt that I could use the ESP created by Windows there's no info related to mount after chroot.

Anyway.. Then I just need to mount the ESP after chroot?

Last edited by yat0 (2016-10-02 04:12:29)

Offline

#4 2016-10-02 04:12:04

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,559

Re: Grub Problem - /boot doesn't look like an EFI partition

You're setting up the new system in /mnt. Everything, including mounting partitions, needs to be done in /mnt. The wiki mentions other partitions, it doesn't say to mount it at /boot.

Offline

#5 2016-10-02 04:34:54

yat0
Member
Registered: 2016-10-02
Posts: 3

Re: Grub Problem - /boot doesn't look like an EFI partition

Scimmia wrote:

You're setting up the new system in /mnt. Everything, including mounting partitions, needs to be done in /mnt. The wiki mentions other partitions, it doesn't say to mount it at /boot.

Then I should create /mnt/boot and mount the win ESP partition there?
Sorry I'm a bit confused..

Offline

#6 2016-10-02 04:45:26

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,559

Re: Grub Problem - /boot doesn't look like an EFI partition

Yep

Offline

Board footer

Powered by FluxBB