Force grub-install to complete with blocklists
Needed when running in BIOS (vs UEFI) mode.
This commit is contained in:
		@@ -396,7 +396,7 @@ if [[ -d /sys/firmware/efi ]]; then
 | 
				
			|||||||
else
 | 
					else
 | 
				
			||||||
    bios_target="i386-pc"
 | 
					    bios_target="i386-pc"
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
chroot ${target} grub-install --target=${bios_target} ${target_disk} >&2
 | 
					chroot ${target} grub-install --force --target=${bios_target} ${target_disk} >&2
 | 
				
			||||||
chroot ${target} grub-mkconfig -o /boot/grub/grub.cfg >&2
 | 
					chroot ${target} grub-mkconfig -o /boot/grub/grub.cfg >&2
 | 
				
			||||||
echo "done."
 | 
					echo "done."
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user