Grub Dual Boot in UEFI Windows 10


If you are booting in EUFI mode you need to install grub in UEFI mode.

First, install the packages grub and efibootmgr

GRUB is the bootloader and efibootmgr is used by the GRUB installation script to write boot entries for efi systems.

# pacman -S grub efibootmgr

Mount the efi file system partition, for example it is /dev/sda2

# mount /dev/sda2 /boot

Install Grub

# grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB

If you are having Windows as dual boot you ll need to add windows in grub boot menu, for that you need to install os-prober

# pacman -S os-prober

Mount the file system where windows is installed, for example windows 10 is installed on /dev/sda3

# mkdir /mnt/windows10
# mount /dev/sda3 /mnt/windows10

Generate grub configuration file

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

 

Reboot system and you ll see grub bootloader with linux and windows boot entries.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s