LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-05-2017, 03:50 AM   #1
shams
Member
 
Registered: Jan 2004
Posts: 500

Rep: Reputation: 30
Exclamation EasyBCD cannot load ubuntu 16.10?


Hi,
The windows 10 is installed to the primary C and D drive, I installed the ubuntu 16.10 to the sda5 of same hard disk and installed the grub2 to the sda5.
From windows 10 i insalled the EasyBCD and configured to loade the ubuntu, but it cannot start the ubuntu after while it reboot the computer and going back to the easyBCD minu.
I can load the ubuntu from my grub2 that is installed to the usb flash, any help please?
 
Old 01-05-2017, 04:15 AM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2916Reputation: 2916Reputation: 2916Reputation: 2916Reputation: 2916Reputation: 2916Reputation: 2916Reputation: 2916Reputation: 2916Reputation: 2916Reputation: 2916
Does this help? It says that UEFI/EasyBCD/Linux is a combination that won't work without some tweaking.

https://neosmart.net/wiki/easybcd/uefi/
 
Old 01-05-2017, 07:09 AM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,388

Rep: Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083
If windows 10 was pre-installed, it was almost certainly UEFI. Did you then boot and install Ubuntu UEFI as explained at their site beow.

https://help.ubuntu.com/community/UEFI

If you can't resolve this, I would suggest you get the boot repair software from the link below and follow the instructions to use it. Make sure you select the option to "Create BootInfo Summary" and post a link to the output here and someone should be able to point to where you went wrong.

https://help.ubuntu.com/community/Boot-Repair
 
Old 01-08-2017, 01:32 AM   #4
shams
Member
 
Registered: Jan 2004
Posts: 500

Original Poster
Rep: Reputation: 30
In the dell laptop the secure mode is off and the legacy mod is enabled and both windows 10 and ubuntu are installed in legacy mode.

Last edited by shams; 01-08-2017 at 01:34 AM.
 
Old 01-08-2017, 07:15 AM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,388

Rep: Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083
Quote:
In the dell laptop the secure mode is off and the legacy mod is enabled and both windows 10 and ubuntu are installed in legacy mode.
Then that isn't the problem. In your initial post, you indicate you cannot boot Ubuntu but do not say whether you can boot windows??
Since you haven't posted any additional details as requested, there isn't much else anyone can do but guess at the possible problem.
 
Old 01-12-2017, 12:48 AM   #6
shams
Member
 
Registered: Jan 2004
Posts: 500

Original Poster
Rep: Reputation: 30
yancek, thanks for the help, I got one step more for the solution, i open the file C:/NST/menu.lst it was empty i added these lines for ubuntu:
Quote:

title Ubuntu
find --set-root /boot/vmlinuz-4.8.0-32-generic
linux /boot/vmlinuz-4.8.0-32-generic ro root=/dev/sda5
initrd /boot/initrd.img-4.8.0-32-generic
Now when i boot to ubuntu from the easybcd get the grub4dos window with the grub prompt.
Any further action please to solve the problem.

Last edited by shams; 01-12-2017 at 03:18 AM.
 
Old 01-12-2017, 07:54 AM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,388

Rep: Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083
I've never used Grub4Dos but the entry you posted above is a mixture of Grub Legacy and Grub2. Grub Legacy used 'title' and Grub2 uses 'menuentry' and if the file you have is menu.lst, you are using Grub Legacy. Don't use 'set root', use: root (hd0,4). This points to sda5. The line pointing to the kernel in Grub2 begins with the word 'linux' while Grub Legacy uses the word kernel.

You need to either uses Grub Legacy entries or Grub2 entries and not mix them. I don't know what Grub4Dos does or what it's capabilities are or if it is capable of doing a simple chainload. If it can chainload you have Grub installed on sda5 so the entry below should work.

Quote:
title Ubuntu
root (hd0,4)
chainloader +1
An entry like the one below should work if you have the correct file names for the kernel and initrd files.

Quote:
title Ubuntu
root (hd0,4)
kernel /boot/vmlinuz-4.8.0-32-generic ro root=/dev/sda5
initrd /boot/initrd.img-4.8.0-32-generic
If neither of those work, I'm not sure what to suggest. Did you use the neosmart site below for instructions on using EasyBCD? If you actually have installed both windows 10 and Ubuntu in Legacy mode, the above entries should work. I would expect the EasyBCD entries to have worked also?

https://neosmart.net/wiki/easybcd/dual-boot/linux/
 
Old 01-12-2017, 11:06 AM   #8
shams
Member
 
Registered: Jan 2004
Posts: 500

Original Poster
Rep: Reputation: 30
Thanks for reply i tried the above entries but getting me to the grub prompt, i tried these commands one by one in grub prompt it booting to ubuntu:
Quote:
grub> set root=(hd0,5)
grub> chainloader +1
grub> boot
 
Old 01-12-2017, 01:03 PM   #9
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,388

Rep: Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083
If you are using those commands at a Grub prompt, I would not expect them to work. The set root line only works on Grub2. Since you indicate your system has only a menu.lst file, that means Grub Legacy. chainloader +1 won't work at a grub prompt either as it needs to be told which partition to load.

You might try getting boot repair and running it, select the Create BootInfo Summary option and post a link to the output here. It might provide enough information for someone to make a suggestion.
 
Old 01-13-2017, 06:38 AM   #10
shams
Member
 
Registered: Jan 2004
Posts: 500

Original Poster
Rep: Reputation: 30
Solved

The EasyBCD boots the linux from windows boot loader it has Grub4Dos with two options for grub2 and grub legacy, in my case the problem was i selected the grub2 that is not working proper, so i added the new entry for ubuntu in EasyBCD and select the grub legacy and added these lines to the C:\NST\menu.lst:
Quote:
root (hd0,4)
chaninloader +1
boot
Now EasyBCD boots ubuntu partition /dev/sda5 where i installed the grub2, and from the ubuntu grub2 menu i can start the ubuntu.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installed Win10 next to linux, dual boot fails (EasyBCD) ivy2011 Linux - Software 6 03-22-2016 09:02 AM
[SOLVED] Dual Boot com Windows 7 usando o EasyBCD Daniel Marucci Linux - Newbie 1 05-14-2010 02:09 PM
What is wrong when I use EasyBCD 1.6 to boot FC7? martinr Linux - Software 12 10-27-2007 11:38 AM
EASYBCD Boot problem kartik3vv Linux - Software 1 09-11-2007 02:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration