Junior Member
Nov 22, 2016
On my computer I have two operating systems installed, Windows 10 and Kali Linux. The problem is that they are on separate bootloaders and on separate hard drives. I want to be able to add one of the operating systems to the other bootloader so that I can boot both operating systems from the same bootloader.

What I have tried

1) Using EasyBCD on Windows 10, that brings this message and prevents me from adding a Linux entry.


2) Using update-grub and grub-install /dev/sbd4 (sbd4 has Win10 on it)

The update-grub doesn't detect Windows 10 and add it, even if os-prober is run before hand.

The grub-install /dev/sbd4 prints the following output

Installing for i386-pc platform.
grub-install: warning: File system `nfts` doesn't support embedding.
grub-install: error: embedding is not possible, but this is required for cross-disk install

3) Writing a manual entry into `/etc/grub.d/40_custom` like so

menuentry 'Windows 10' {
set root='(hd1, msdos4)'
chainloader +1

Produces the following output when `update-grub` is run

Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-4.6.0-kali1-amd64
Found initrd image: /boot/initrd.img-4.6.0-kali1-amd64
error: out of memory.
error: syntax error.
error: Incorrect command.
error: syntax error.
Syntax error at line 203
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
and /etc/grub.d/* files or please file a bug report with
/boot/grub/ file attached.

I don't know what else to do/try to make the operating systems go on the same bootloader. Any help would be appreciated


May 7, 2002
I assume you are switching via BIOS to select boot device?
If so, you have to account for that in the boot loader, since the drives won't be the same location depending on which you boot from.