srdusr
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsrdusr <[email protected]>2023-04-14 23:47:56 +0200
committersrdusr <[email protected]>2023-04-14 23:47:56 +0200
commit5d267efdf2bd6d7f60f22164ec074bc75bf8a23e (patch)
tree627578c57a0cc2f4a121ae18a89f7a10ba77c527
parentca2b407c6bdffd99a4beeb9eba1422c6b8e28f9d (diff)
downloadnotes-5d267efdf2bd6d7f60f22164ec074bc75bf8a23e.tar.gz
notes-5d267efdf2bd6d7f60f22164ec074bc75bf8a23e.zip
Add info for installing grub for non uefi systems
-rw-r--r--linux/arch-install.md5
1 files changed, 4 insertions, 1 deletions
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