LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 07-06-2017, 12:20 PM   #1
shams
Member
 
Registered: Jan 2004
Posts: 535

Rep: Reputation: 30
Start ubuntu from windows 10 with uefi enabled?


I installed the ubuntu 17.04 and windows 10 in the same hard disk with uefi enabled laptop, to start ubuntu i should go the bios and change the boot order every time, which is deffecult work.
Is there any way to start the ubuntu from windows 10, i read a post there was a dos command run execute the efi file from the efi partiton and start the ubuntu from windows dos, but i lost that post and didn't find it again. the EasyBCD is not working in the uefi secure enabled.
 
Old 07-06-2017, 12:29 PM   #2
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
shams,

I can only refer you to these two comprehensive dual-booting guides:

https://forums.linuxmint.com/viewtopic.php?p=912036

http://www.dedoimedo.com/computers/d...-8-ubuntu.html

Personally I would not touch EasyBCD.
 
Old 07-06-2017, 01:22 PM   #3
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Rep: Reputation: 255Reputation: 255Reputation: 255
Quote:
Originally Posted by shams View Post
I installed the ubuntu 17.04 and windows 10 in the same hard disk with uefi enabled laptop, to start ubuntu i should go the bios and change the boot order every time, which is deffecult work.
Is there any way to start the ubuntu from windows 10, i read a post there was a dos command run execute the efi file from the efi partiton and start the ubuntu from windows dos, but i lost that post and didn't find it again. the EasyBCD is not working in the uefi secure enabled.
Good luck! I have never managed.

The solution that I found:

1) go to store, buy Windows 8 for 32
2) partition with gparted live
3) install win 8
4) install Linux
...
Working

(after later override with freebsd)
 
Old 07-06-2017, 05:33 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Probably simply a default issue. I also haven't bothered to test EasyBCD with UEFI.
From Ubuntu terminal, run "efibootmgr" and post the output - this will show the EFI registered boot entries. Should be simple enough to get grub to show a dual-boot list.
When you boot Ubuntu, do you see Win10 listed as an option ?.

Last edited by syg00; 07-06-2017 at 05:35 PM. Reason: added q
 
Old 07-06-2017, 06:47 PM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,504

Rep: Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490
You can change the EFI boot order with the efibootmgr command with the -o option so posting the output of efibootmgr would be the first step necessary to get help.
 
Old 07-07-2017, 01:02 AM   #6
shams
Member
 
Registered: Jan 2004
Posts: 535

Original Poster
Rep: Reputation: 30
Code:
# efibootmgr 
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,0002
Boot0000* Windows Boot Manager
Boot0001* ubuntu
Boot0002* UEFI: WDC WD10JPVX-75JC3T0, Partition 2
 
Old 07-07-2017, 07:20 AM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,504

Rep: Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490
Your output shows an EFI entry for ubuntu as well as showing that entry as first in boot order so there is some other problem. You mention EasyBCD in your initial post, did you install that on windows and try to use it? I don't think it works well with EFI. When you boot the computer and do not intervene in the boot process, what happens? Boot to windows?

Might be best to get more details. Boot Ubuntu and go to the site below and download and run boot repair, make sure you select the option to Create BootInfo Summary and do NOT try to make any repairs. Post the link you are given here and some one should be able to help.

https://help.ubuntu.com/community/Boot-Repair

It's interesting that you have an entry for Windows Boot Manager but it is not in the boot order. Who is the manufacturer of this computer?
 
Old 07-07-2017, 12:08 PM   #8
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Rep: Reputation: 255Reputation: 255Reputation: 255
If you mess with UEFI and not, cannot you damage the data on the harddisk?
 
Old 07-07-2017, 03:41 PM   #9
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,504

Rep: Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490
Quote:
If you mess with UEFI and not, cannot you damage the data on the harddisk?
I'm not sure what you mean by that statement, particularly the "and not" part. EFI commands modify files on the efi partition so using the commands without knowing what they do can cause damage. The most common problem is users trying to install and make changes and not understanding what they are doing thus corrupting the system. Using EFI is no more likely to cause damage to data on a disk than older MBR boot type commands. Of course, their is no limit to the ways users can mess things up.
 
Old 07-07-2017, 07:58 PM   #10
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
You could try turning secure boot off.
 
Old 07-08-2017, 11:55 PM   #11
mlytle
Member
 
Registered: Oct 2008
Location: Houston, Texas
Distribution: Manjaro
Posts: 46

Rep: Reputation: 1
I've been wrestling with the same issue, and have shelved trying to do a dual-boot. I'm not sure at this point that Linux Mint (or any distribution) is even compatible with The Dell Inspiron desktop I just purchased. I tried wiping Windows 10 off the thing and just installing Mint standalone as I always used to out of frustration with the dual boot attempt. The machine wouldn't make it through the install, asked for my username and password before the install fully completed. It then refused all typed inputs. Tried to start over and reinstall again, was warned with a banner on the screen that if I persisted, I would never be able to install another bios based system ever again, implying that the UEFI system would be overwritten or corrupted in some sense. I'm amazed at how convoluted all of this has become.

I had to get out the Windows rescue stick I had had just produced a couple of days earlier to get the system back. The whole thing leaves a bad taste in the mouth.

I've read that the newer versions of the major distributions are UEFI compliant. Maybe they are, but I haven't a clue how to make them work with this hardware.

The impression I got, which may be wrong, Is that this goofy UEFI stuff DEMANDS a Microsoft product be the primary OS, will 'tolerate' an old fashioned BIOS based second OS but not by itself, but as a dual boot it can be made to work only if you are a BCDedit expert, which almost no one is because Microsoft barely releases any documentation.

Last edited by mlytle; 07-09-2017 at 12:19 AM.
 
Old 07-09-2017, 04:36 AM   #12
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
mlytle,

Either follow the advice in post #2 for a dual-boot, or alternatively, go into Setup (keep pressing F2 immediately after switching on) and change from UEFI to Legacy BIOS (or CSM).

You may or may not need to disable Fast Boot or Secure Boot.

It is probably a good idea to boot from a gparted disk and to format the partitions in advance.

http://gparted.org/livecd.php

Example

sda1 ............... root.. (/)...........30GB ....format as ext4
sda2................ swap.................2GB......do not format
sda3.................home (/home).........remainder of drive ....format as ext4
 
Old 07-10-2017, 07:27 AM   #13
mlytle
Member
 
Registered: Oct 2008
Location: Houston, Texas
Distribution: Manjaro
Posts: 46

Rep: Reputation: 1
Beachboy2 Thanks for these tips, somehow I missed reading your earlier post. Looking over those two links, I see I was not checking to see if I had booted the Linux in UEFI mode, and was unfamiliar with the Gparted feature. I did manage to disable both Fast Boot and Secure Boot, got that right.

Do you have any opinion as to whether straight Ubuntu or Mint as a Ubuntu derivative is a better choice? Dell, from whom I bought this new desktop, seems to prefer straight Ubuntu, and I was wondering if the Grub2 implementation was better on that version. I've been reading a lot of this stuff over the last few days, I found some interesting explanations over on the site by the guy that has authored the Refind bootloader, but I'm hoping not to have to go that deep, but I suppose I will if I have to.

Some sites are telling people to format their USB sticks with the Win32 Disk Imager as it natively installs the stick as a FAT32 device, I get that from here:https://www.lifewire.com/create-uefi...nt-usb-2202084

I just used my old Mint distribution and it's native utility to create the bootable Mint stick that I used, but maybe doing that from the Linux side rather from the Windows side made a difference or caused a problem, I'm not sure.

Last edited by mlytle; 07-10-2017 at 08:03 AM.
 
Old 07-10-2017, 09:46 AM   #14
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
Quote:
Do you have any opinion as to whether straight Ubuntu or Mint as a Ubuntu derivative is a better choice?
It is all down to personal preference.

My preference is to use Linux Mint 18.2 MATE 64 bit, but Ubuntu 16.04.2 MATE 64 bit will work just as well.

Download from:

https://linuxmint.com/download.php

https://ubuntu-mate.org/download/
 
Old 07-10-2017, 04:37 PM   #15
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
Let's get back to sham's issue please.

# efibootmgr
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,0002
Boot0000* Windows Boot Manager
Boot0001* ubuntu
Boot0002* UEFI: WDC WD10JPVX-75JC3T0, Partition 2
 
  


Reply



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
Install Ubuntu 15.1 along Windows 8.1 (non UEFI) blueriver649 Linux - Laptop and Netbook 2 01-03-2016 09:14 AM
UEFI laptop with Win8, installed Fedora 19 in classic mode, now cannot start Windows rinser Linux - Laptop and Netbook 3 11-22-2013 02:38 AM
Accessing installed Ubuntu partition on UEFI, GPT and Secure boot enabled ultrabook kamesh419 Ubuntu 5 07-14-2013 03:20 AM
[SOLVED] X Windows does fails to start with KMS-enabled radeon mityukov Linux - Hardware 2 11-29-2012 01:11 PM

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

All times are GMT -5. The time now is 03:32 AM.

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