From 5d267efdf2bd6d7f60f22164ec074bc75bf8a23e Mon Sep 17 00:00:00 2001 From: srdusr Date: Fri, 14 Apr 2023 23:47:56 +0200 Subject: Add info for installing grub for non uefi systems --- linux/arch-install.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'linux/arch-install.md') diff --git a/linux/arch-install.md b/linux/arch-install.md index d6dba6e..a5b1609 100644 --- a/linux/arch-install.md +++ b/linux/arch-install.md @@ -229,7 +229,10 @@ HOOKS=(base udev autodetect keymap modconf block encrypt lvm2 filesystems keyboa ``` - Generate the initramfs (initial RAM file system) image, replace linux with linux-lts if that was chosen `# mkinitcpio -p linux` -- Install GRUB (boot loader) +- Install GRUB (boot loader) for either UEFI or no-UEFI +- For no-UEFI: +`# grub-install /dev/vda` # And skip to generating config file for file +- For UEFI: `# grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB` > NOTE: If above command doesn't work try this rather -- cgit v1.2.3