So you want a tri-boot with Windows bootmgr? Windows bootmgr is less configurable and more difficult to configure than GRUB. But if you insist, you can try EasyBCD to save your life from struggling with bcdedit
or other Windows command line tools.
Since you want to use bootmgr, you may install Linux first and Windows last.
If you have previously installed some OSes (boot loaders) on this hard disk, you'd better erase them first.
Boot your computer up with Ubuntu Live USB / CD and determine which is your hard disk by lsblk
and erase any footprints left by previously installed boot loaders (if any) with head -c 2M /dev/sda
. (If your hard disk is different from /dev/sda
remember to change it.)
Now you can partiton your disk with fdisk /dev/sda
.
Let's assume you have divided your hard disk into three partitions, ordered in MBR (Booting Windows with GPT requires UEFI, which is a stupid restriction put by Windows installer):
/dev/sda1
/dev/sda2
/dev/sda3
You do not have to format them since the installers will format them.
Now you can install Ubuntu within your live session. Remember to choose /dev/sda2
manually.
After installing Ubuntu you can install 4MLinux in /dev/sda3
.
Both Linux distributions will install GRUB to /dev/sda
(notice the difference), but Windows installer will erase it anyway.
Now you can install Windows to /dev/sda1
and the installer will automatically format it as NTFS and install Windows bootmgr.
After installation of Windows, your computer can only boot into Windows. Here comes EasyBCD for help. Use it to add two more entries (Ubuntu in /dev/sda2
and 4MLinux in /dev/sda3
) to BCD.
Reboot and enjoy your boot menu in bootmgr.