

The reason why grub-setup does not by default allow this is because in case of partition or a partitionless disk is that GRUB relies on embedded blocklists in the partition bootsector to locate the /boot/grub/i386-pc/core.img file and the prefix directory /boot/grub. sbin/grub-setup: error: will not proceed with blocklists Without -force you may get the below error and grub-setup will not setup its boot code in the partition boot sector: However, blocklists are UNRELIABLE and their use is discouraged. GRUB can only be installed in this setup by using blocklists. sbin/grub-setup: warn: Embedding is not possible.
#Visual grub mac install
sbin/grub-setup: warn: Attempting to install GRUB to a partitionless disk or to a partition. Grub-install will give out warnings like which should give you the idea of what might go wrong with this approach: You need to use the -force option to allow usage of blocklists and should not use -grub-setup=/bin/true (which is similar to simply generating core.img). It is recommended to always use this option to remove ambiguity in grub-install.

# grub-mkconfig -o /mnt/usb/boot/grub/grub.cfg

# grub-install -target=i386-pc -debug -boot-directory=/mnt/usb/boot /dev/sdy
#Visual grub mac manual
