Grub bootloader

Add Windows partition to Grub menu

  1. Add the code below to this file /etc/grub.d/40_custom::

    menuentry ‘Windows’ { insmod part_msdos insmod ntfs set root=’(hd0,msdos1)’ chainloader +1 }

  2. Update grub config:

    $ sudo update-grub2
    

Now the entered code should reside in /boot/grub/grub.cfg file.