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
3) Writing a manual entry into `/etc/grub.d/40_custom` like so
Produces the following output when `update-grub` is run
I don't know what else to do/try to make the operating systems go on the same bootloader. Any help would be appreciated
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
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
}
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/grub.cfg.new file attached.
done
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/grub.cfg.new file attached.
done
I don't know what else to do/try to make the operating systems go on the same bootloader. Any help would be appreciated