Adding [SOLVED] label and thank you again
]]>Right now you mask whatever you had in /mnt/boot with what's in /mnt and if you recheck with mount from within the chroot you should notice that the ESP is not mounted to /boot
]]>It seems like I did nothing wrong about partitioning my hard drive from seeing the output of some commands below:
# uname -a
Linux archiso 5.8.12-arch1-1 #1 SMP PREEMPT Sat, 26 Sep 2020 21:42:58 +0000 x86_64 GNU/Linux
# parted /dev/nvme1n1 print
Model: SAMSUNG MZALQ512HALU-000L2 (nvme)
Disk /dev/nvme1n1: 512GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start Size File system Name Flags
1 1049kB 538MB 537MB fat32 EFI system partition boot, esp
2 538MB 512GB 512GB ext4 Linux filesystem
But all my attempts to install boot loader were ended in failure.
# mount /dev/nvme1n1p1 /mnt/boot
# mount /dev/nvme1n1p2 /mnt
# arch-chroot /mnt
# grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=grub
Installing for x86_64-efi platform.
grub-install: error: /boot doesn't look like an EFI partition.
# bootctl --path=/boot install
File system "/boot" is not a FAT EFI System Partition (ESP) file system.
What should I do for making /dev/nvme1n1p1 a valid ESP or is there other thing being wrong state?
Sorry for awkward English and any advice is much appreciated.
]]>