You are not logged in.

#1 2020-10-26 23:02:23

syscon
Member
Registered: 2020-10-26
Posts: 17

grub-install: warning: File system `fat' doesn't support embedding.

I'm trying to install grub on a new system but I get an error message:

# grub-install --target=i386-pc /dev/nvme0n1p1
grub-install: warning: File system `fat' doesn't support embedding.

This is a command from official documentation!

Offline

#2 2020-10-26 23:10:41

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

Re: grub-install: warning: File system `fat' doesn't support embedding.

What official documentation told you to use /dev/nvme0n1p1?

Offline

#3 2020-10-26 23:22:02

syscon
Member
Registered: 2020-10-26
Posts: 17

Re: grub-install: warning: File system `fat' doesn't support embedding.

https://wiki.archlinux.org/index.php/GRUB

# grub-install --target=i386-pc /dev/sdX

since my boot partition is "nvme0n1p1" I change it to:
grub-install --target=i386-pc /dev/nvme0n1p1

Offline

#4 2020-10-26 23:29:17

loqs
Member
Registered: 2014-03-06
Posts: 17,378

Re: grub-install: warning: File system `fat' doesn't support embedding.

wiki wrote:
# grub-install --target=i386-pc /dev/sdX

where /dev/sdX is the disk (not a partition) where GRUB is to be installed. For example /dev/sda or /dev/nvme0n1, or /dev/mmcblk0.

Emphasis added.

Offline

#5 2020-10-26 23:33:59

syscon
Member
Registered: 2020-10-26
Posts: 17

Re: grub-install: warning: File system `fat' doesn't support embedding.

grub-install --target=i386-pc /dev/nvme0n1
Installing for i386-pc platform.
grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
grub-install: warning: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and their use is discouraged..
grub-install: error: will not proceed with blocklists.

Offline

#6 2020-10-26 23:52:59

loqs
Member
Registered: 2014-03-06
Posts: 17,378

Re: grub-install: warning: File system `fat' doesn't support embedding.

Why are you following https://wiki.archlinux.org/index.php/GR … structions if you formatted the device for GPT?

Offline

#7 2020-10-27 00:17:55

syscon
Member
Registered: 2020-10-26
Posts: 17

Re: grub-install: warning: File system `fat' doesn't support embedding.

Would you be so kind and point me to the correct instruction!

Offline

#8 2020-10-27 00:21:05

loqs
Member
Registered: 2014-03-06
Posts: 17,378

Re: grub-install: warning: File system `fat' doesn't support embedding.

https://wiki.archlinux.org/index.php/GR … structions
Edit:
Follow that first,  then the instructions you were following so grub-install can use embedding rather than block lists.  Sorry for the confusion.

Last edited by loqs (2020-10-27 00:24:26)

Offline

Board footer

Powered by FluxBB