You are not logged in.

#1 2016-12-07 14:19:28

william.vivier
Member
Registered: 2016-12-07
Posts: 4

[SOLVED] Plain dm-crypt mode, bootloader install error

Hi,
I've been using arch for some time now, and I am trying to install Arch on my 2nd machine, this time encrypted with plain dm-crypt mode. However I am getting the following error:
> grub-install: error: /boot doesn't look like an EFI partition.
whenever I try to install the bootloader with either systemd or grub.

Now what I did to create the boot partition was, I used a usb stick and deleted all the partitions and made a new partition completely as a 'ef00' partition using the cgdisk program in the arch installer (I did not have to use the usb for anything else, so it was just one large efi partition on the usb). And then I did the following commands as the guide told me too:
# mkfs.ext2 /dev/sdY1
# mkdir /mnt/boot
# mount /dev/sdY1 /mnt/boot
However the following error message above is preventing me from installing the bootloader onto the usb after doing everything else. Please advise.
Thanks.

Last edited by william.vivier (2016-12-07 16:56:30)

Offline

#2 2016-12-07 14:22:10

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Plain dm-crypt mode, bootloader install error

The EFI partition needs to be formatted as FAT32, not ext2...

https://wiki.archlinux.org/index.php/EF … _Partition


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2016-12-07 14:34:04

william.vivier
Member
Registered: 2016-12-07
Posts: 4

Re: [SOLVED] Plain dm-crypt mode, bootloader install error

Ok thank you, I will try soon and see how it goes. I thought the error might of been that.
I was just following the guide at https://wiki.archlinux.org/index.php/Dm … n_dm-crypt
Under the heading: Preparing the boot partition.
I thought that I was supposed to type those 3 commands above for the bootloader.

Offline

#4 2016-12-07 14:39:15

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Plain dm-crypt mode, bootloader install error

If your machine was using BIOS instead of UEFI then that would have been correct, for UEFI you have to use the instructions in the link I posted above.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

Board footer

Powered by FluxBB