After installing Ubuntu 17.04 with its bootloader in a patition (hd0,5), I was unable to boot it via EasyBCD 2.3.207 (my preferred bootloader). I have installed Ubuntu after Windows and don't want to use grub on MBR of first disk. I can boot Ubuntu by Super Grub Disk but when I try it by EasyBCD, either by automatically choosing or selecting the partition manually, it end up in Grub> prompt. The following commands are also not effective :
Root=(hd0,5)
chanloader +1
boot
Now I am in Grub rescue > prompt. Interestingly, I now can boot into Ubuntu by:
set prefix=(hd0,6)/boot/grub
set root=(hd0,6)
insmod normal
normal
This gives me the grub menu and I can choose any option therein. The problem is that it is impossible to do this every time for booting or use Super Grub Disk. How can I use BCDedit or EasyBCD or Neogrub bootloader to do this automatically (tried it unsuccessfully by manipulating the menu.lst file of Neogrub ).
Please help,
Thanks,
Tapas
Best Answer
Sweet success at last. I have successfully booted Ubuntu 17.04 by creating an entry in the windows bootloader through bcdedit. So, it is not true what olfred remarked “I believe the bcdedit only works with UEFI.” Neither I updated the MBR of primary disk containing Windows 7 as it was the last thing I wanted to do. However, I am indebted to olfred as from his remark I guessed that I was wasting time with neogrub bootloader using grub4dos or Easybcd.
Steps followed in detail - First disabled fastboot of windows.
Copied first 512 bytes of the ubuntu partition to a .bin file by : dd if=/dev/xxxy of=/mnt/tmp/ubuntu.bin bs=512 count=1 (xxxy determined by gparted) (sdc6 in my case)
Exit from terminal and rebooted into Windows 7.
Cut and paste the ubuntu.bin file from Windows 10 Pro partition housed at sdb7 to the root of windows 7 (c:)
Opened cmd with administrative privilage (Start > Run > cmd in box > right clicking cmd > Run as Administator)
Created an menu entry for Ubuntu : bcdedit /create /d “ubuntu” /application bootsector Returned an ID for this entry. Opened a notepad file, inputed the entry and saved it. This helps to copy paste the id needed to be inputed several tiles without mistake.
Specified which windows partition contains the ubuntu.bin file: bcdedit /set {ID} device partition=c:
Then the path to the ubuntu.bin file: bcdedit /set {ID} path \crunch.bin
Specified the ubuntu entry should be displayed at last in the boot menu : bcdedit /displayorder {ID} /addlast
Specified the time for dispalying the boot menu : bcdedit /timeout 15
Exited bcdedit
Rebooted
At the end of boot menu, there is a new entry now “ubuntu”
Selected and entered.
Grub menu appeared.
Selected the first entry – ubuntu
Ubuntu desktop appears.
Indebted to : 1. Linux → Install and Configure CrunchBang Linux on the Lenovo T410 Laptop by Iceflatline.