# Grub install error (uefi method) during Arch installation

**URL:** <https://community.learnlinux.tv/t/grub-install-error-uefi-method-during-arch-installation/1439>\
**Category:** Arch Linux\
**Created:** [March 2, 2022, 3:58pm UTC](https://community.learnlinux.tv/t/grub-install-error-uefi-method-during-arch-installation/1439 "2022-03-02T15:58:31Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![atharvaaa](https://community.learnlinux.tv/letter_avatar_proxy/v4/letter/a/b2d939/32.png) [@atharvaaa](https://community.learnlinux.tv/u/atharvaaa)\
**Post date:** [March 2, 2022, 3:58pm UTC](https://community.learnlinux.tv/t/grub-install-error-uefi-method-during-arch-installation/1439/1 "2022-03-02T15:58:31Z")

</div>

Following the Arch linux Installation video on learn linux tv channel

Context:

- Setting up the disk using UEFI without encryption
- Laptop details: Acer Aspire 7 - ryzen 5, AMD cpu, Nvidea GTX 1650 Ti
- I am currently using ubuntu 20.04

Everything went well, until installing grub, (video timestamp : 1:23:30)

```auto
grub-install --target=x86_64-efi --bootloader-id=grub_uefi --recheck

```

_ **Error** _

```auto
grub-install: error: disk 'lvmid / (lg UUID...) / (lv_root UUID...))' not found.

```

 ![1](https://community.learnlinux.tv/uploads/default/original/1X/74d219ec07598ac21f7dd06af04f6e8b4a58bdc4.jpeg)  
Errror at last line.

It is : disk ’ lvmid / lg UUID / lv\_ root UUID ’  
The UUID matches on lvdisplay and lgdisplay.

These both disk UUID’s are not found which is causing this error.

I found some material / threads on research

> <https://unix.stackexchange.com/questions/267453/cant-initialize-physical-volume-of-volume-group-without-ff>

(Much more but not able to share due to forums restrictions)

How do I know if I have Hardware RAID in my laptop ?

To be honest, I didn’t completely understood these thread, so I came here to ask for help.  
I really want to get arch running. I am not really understanding what is the error and why is it occurring, is my system(hardware) not compatible it should be though or am I missing something ???

Please help me with this guys, thanks in advance.

---

<div class="post-metadata">

**Author:** ![atharvaaa](https://community.learnlinux.tv/letter_avatar_proxy/v4/letter/a/b2d939/32.png) [@atharvaaa](https://community.learnlinux.tv/u/atharvaaa)\
**Post date:** [March 2, 2022, 4:11pm UTC](https://community.learnlinux.tv/t/grub-install-error-uefi-method-during-arch-installation/1439/2 "2022-03-02T16:11:20Z")

</div>

Some more material I found but didn’t understood completely,

 ![refer](https://community.learnlinux.tv/uploads/default/original/1X/3c3d144919edfb1ce58347536977cbea57482016.jpeg)  
[link](https://unix.stackexchange.com/questions/298068/system-unbootable-grub-error-disk-lvmid-not-found)

---

<div class="post-metadata">

**Author:** ![atharvaaa](https://community.learnlinux.tv/letter_avatar_proxy/v4/letter/a/b2d939/32.png) [@atharvaaa](https://community.learnlinux.tv/u/atharvaaa)\
**Post date:** [March 2, 2022, 4:24pm UTC](https://community.learnlinux.tv/t/grub-install-error-uefi-method-during-arch-installation/1439/3 "2022-03-02T16:24:34Z")

</div>

Let me know if I missed anything to mention, this is my first post.

---

<div class="post-metadata">

**Author:** ![Buffy](https://community.learnlinux.tv/user_avatar/community.learnlinux.tv/buffy/32/497_2.png) [@Buffy](https://community.learnlinux.tv/u/Buffy)\
**Post date:** [March 2, 2022, 7:18pm UTC](https://community.learnlinux.tv/t/grub-install-error-uefi-method-during-arch-installation/1439/4 "2022-03-02T19:18:09Z")

</div>

IDK, but I wonder if your boot partition is encrypted by UEFI and that’s why you can’t find/read it? It kinda looks like that from what you posted?

---

<div class="post-metadata">

**Author:** ![ThatGuyB](https://community.learnlinux.tv/user_avatar/community.learnlinux.tv/thatguyb/32/784_2.png) [@ThatGuyB](https://community.learnlinux.tv/u/ThatGuyB)\
**Post date:** [March 2, 2022, 11:16pm UTC](https://community.learnlinux.tv/t/grub-install-error-uefi-method-during-arch-installation/1439/5 "2022-03-02T23:16:35Z")

</div>

Welcome to the forum!

For UEFI, you need to partition your drive like this (obviously replace /dev/sda with your device ID, like /dev/mmcblk0nX for NVME ssds, or other device IDs, like sdb if it’s not the first sata device, careful not to destroy your data):

- /dev/sda1 = EFI partition, in the partition table it is type fat32 / W95 (usually id is 1b or simply b), size 100 MiB to 500 MiB at most, format it as fat32 `mkfs.fat -F 32 /dev/sda1`, mount point is /boot/efi
- /dev/sda2 = boot partition, in the partition table it’s linux filesystem (usually id 83), size 500 MiB to 1GiB at most, format ext4, mount point is /boot
- /dev/sda3 = you may use it as LVM and do logical volumes on it, so in the partition tables make it LVM (usually id is 8e), size whatever, don’t format it, follow the LVM instructions.

Unfortunately you cannot have your EFI and boot partitions on LVM, you need to have physical partitions for them.

Tell me if you need assistance to go through the LVM partitioning, I am assuming you wanted to partition your drive using LVM, given the lv\_root message.

---

<div class="post-metadata">

**Author:** ![atharvaaa](https://community.learnlinux.tv/letter_avatar_proxy/v4/letter/a/b2d939/32.png) [@atharvaaa](https://community.learnlinux.tv/u/atharvaaa)\
**Post date:** [March 3, 2022, 3:12am UTC](https://community.learnlinux.tv/t/grub-install-error-uefi-method-during-arch-installation/1439/6 "2022-03-03T03:12:56Z")

</div>

Yes, I am using LVM for partitioning drive, I did exactly as said in the [video](https://www.youtube.com/watch?v=DPLnBPM4DhI&list=PLf1UjOKM-5GaBuBjkYdaGNSUYWa_7AFFJ&index=4) (with UEFI without encryption) and didn’t got any error, I guess I did the partitioning part correctly.  
Do you think this error is caused due to some problem in partitioning ??

---

<div class="post-metadata">

**Author:** ![atharvaaa](https://community.learnlinux.tv/letter_avatar_proxy/v4/letter/a/b2d939/32.png) [@atharvaaa](https://community.learnlinux.tv/u/atharvaaa)\
**Post date:** [March 3, 2022, 3:15am UTC](https://community.learnlinux.tv/t/grub-install-error-uefi-method-during-arch-installation/1439/7 "2022-03-03T03:15:35Z")

</div>

I didn’t got any error during partition, create lv\_root / lv\_home properly and mounted them. This error came when I was installing grub,

```auto
grub-install --target=x86_64-efi --bootloader-id=grub_uefi --recheck

```

and was not able to install grub

---

<div class="post-metadata">

**Author:** ![ThatGuyB](https://community.learnlinux.tv/user_avatar/community.learnlinux.tv/thatguyb/32/784_2.png) [@ThatGuyB](https://community.learnlinux.tv/u/ThatGuyB)\
**Post date:** [March 3, 2022, 4:16am UTC](https://community.learnlinux.tv/t/grub-install-error-uefi-method-during-arch-installation/1439/8 "2022-03-03T04:16:12Z")

</div>

I don’t have time to watch the video, sorry. Assuming you are still in arch-chroot, try using this grub-install command

```auto
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub_uefi --recheck

```

If you are running this command outside arch-chroot, just replace efi-dir with /mnt/boot/efi instead.

Again, I haven’t watched the video, but I just want to make sure that the order you mounted the partitions after you formatted them is this:

1. /mnt/ = lv-root
2. mkdir -p /mnt/boot/efi
3. /mnt/boot = /dev/sda2
4. /mnt/boot/efi = /dev/sda1

If you mount it in another order, like say for example sda1 first, then sda2, then lv-root, then it won’t work, because the mount point would still be seeing lv\_root as the mounted partition in /mnt.
