4 grammar tweaks
source | link

Yes.. You can mentionset the platform using --target option with grub2-install as follows

grub2-install --target=i386-pc /dev/sdX

i386-pc option make surecreates a legacy grub installation even in a UFI booted platform.

NOTE You must have a small 1Mb unformatedunformatted partition with bios-boot flag while installing legacy style grub with gpt partition table.

You must also have grub create a config file, and then because the installer is in EFI mode, you must replace instances of EFI keywords with Legacy ones. Here is an example using awk:

#EXAMPLE: Normal grub make config command
#grub2-mkconfig > /boot/grub2/grub.cfg

#With awk statement to replace EFI keywords with legacy ones:
grub2-mkconfig |awk '{gsub("linuxefi /", "linux /");gsub("initrdefi /", "initrd /");print $0}' > /boot/grub2/grub.cfg

Yes.. You can mention platform using --target option with grub2-install as follows

grub2-install --target=i386-pc /dev/sdX

i386-pc option make sure a legacy grub installation even in UFI booted platform.

NOTE You must have a small 1Mb unformated partition with bios-boot flag while installing legacy style grub with gpt partition table.

You must also have grub create a config file, and then because the installer is in EFI mode, you must replace instances of EFI keywords with Legacy ones. Here is an example using awk:

#EXAMPLE: Normal grub make config command
#grub2-mkconfig > /boot/grub2/grub.cfg

#With awk statement to replace EFI keywords with legacy ones:
grub2-mkconfig |awk '{gsub("linuxefi /", "linux /");gsub("initrdefi /", "initrd /");print $0}' > /boot/grub2/grub.cfg

Yes. You can set the platform using --target option with grub2-install as follows

grub2-install --target=i386-pc /dev/sdX

i386-pc option creates a legacy grub installation even in a UFI booted platform.

NOTE You must have a small 1Mb unformatted partition with bios-boot flag while installing legacy style grub with gpt partition table.

You must also have grub create a config file, and then because the installer is in EFI mode, you must replace instances of EFI keywords with Legacy ones. Here is an example using awk:

#EXAMPLE: Normal grub make config command
#grub2-mkconfig > /boot/grub2/grub.cfg

#With awk statement to replace EFI keywords with legacy ones:
grub2-mkconfig |awk '{gsub("linuxefi /", "linux /");gsub("initrdefi /", "initrd /");print $0}' > /boot/grub2/grub.cfg
3 Added the two extra steps I had to go through to get this to work with permission of answer poster
source | link

Yes.. You can mention platform using --target option with grub2-install as follows

grub2-install --target=i386-pc /dev/sdX

i386-pc option make sure a legacy grub installation even in UFI booted platform.

NOTE You must have a small 1Mb unformated partition with bios-boot flag while installing legacy style grub with gpt partition table.

You must also have grub create a config file, and then because the installer is in EFI mode, you must replace instances of EFI keywords with Legacy ones. Here is an example using awk:

#EXAMPLE: Normal grub make config command
#grub2-mkconfig > /boot/grub2/grub.cfg

#With awk statement to replace EFI keywords with legacy ones:
grub2-mkconfig |awk '{gsub("linuxefi /", "linux /");gsub("initrdefi /", "initrd /");print $0}' > /boot/grub2/grub.cfg

Yes.. You can mention platform using --target option with grub2-install as follows

grub2-install --target=i386-pc /dev/sdX

i386-pc option make sure a legacy grub installation even in UFI booted platform.

NOTE You must have a small 1Mb unformated partition with bios-boot flag while installing legacy style grub with gpt partition table.

Yes.. You can mention platform using --target option with grub2-install as follows

grub2-install --target=i386-pc /dev/sdX

i386-pc option make sure a legacy grub installation even in UFI booted platform.

NOTE You must have a small 1Mb unformated partition with bios-boot flag while installing legacy style grub with gpt partition table.

You must also have grub create a config file, and then because the installer is in EFI mode, you must replace instances of EFI keywords with Legacy ones. Here is an example using awk:

#EXAMPLE: Normal grub make config command
#grub2-mkconfig > /boot/grub2/grub.cfg

#With awk statement to replace EFI keywords with legacy ones:
grub2-mkconfig |awk '{gsub("linuxefi /", "linux /");gsub("initrdefi /", "initrd /");print $0}' > /boot/grub2/grub.cfg
2 edited body
source | link

Yes.. You can mention platform using --target option with grub2-install as follows

grub2-install --target=i386-pc /dev/seXsdX

i386-pc option make sure a legacy grub installation even in UFI booted platform.

NOTE You must have a small 1Mb unformated partition with bios-boot flag while installing legacy style grub with gpt partition table.

Yes.. You can mention platform using --target option with grub2-install as follows

grub2-install --target=i386-pc /dev/seX

i386-pc option make sure a legacy grub installation even in UFI booted platform.

NOTE You must have a small 1Mb unformated partition with bios-boot flag while installing legacy style grub with gpt partition table.

Yes.. You can mention platform using --target option with grub2-install as follows

grub2-install --target=i386-pc /dev/sdX

i386-pc option make sure a legacy grub installation even in UFI booted platform.

NOTE You must have a small 1Mb unformated partition with bios-boot flag while installing legacy style grub with gpt partition table.

1
source | link