LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-23-2017, 04:05 AM   #16
redfox2807
Member
 
Registered: Jul 2012
Distribution: Debian testing/stable, Gentoo, CentOS 7, Sailfish OS, Android
Posts: 167

Rep: Reputation: 31

Please, be more precise on what's happening. Did Windows remove your Linux partitions? Or was it the partition table that was edited? What do you mean by mountpoints?

The main trick with UEFI is that it needs a separate fat32 EFI system partition. It's not the same as Windows hidden boot partition (I don't actually know if it's still required for UEFI systems). The EFI system partition must have 'boot' flag set. When setting the boot flag via parted, it automatically sets another required EFI system flag. So this EFI system partition will be a separate /boot partition in your Linux system. The bootloader (grub in your case) must be installed into that partition into the right place. Which one is right is specific to UEFI implementation (read motherboard manufacturer and maybe model). The main problem with UEFI is substandard implementations.

In case your motherboard uses the standard \EFI\BOOT\BOOTX64.EFI location, it can be overwritten by Windows. Is that what's happening to your system? You should add a different boot path. Unusually it's done using efibootmgr, but for some motherboard it doesn't work as expected. Then bcfg command should be used.

I suggest you reading a good documentation on what is UEFI and how it works. It could help you understand the root of the problem you face. Arch docs are good as well as this blog post
 
Old 05-23-2017, 07:37 AM   #17
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,820

Rep: Reputation: 229Reputation: 229Reputation: 229
A little more information...

What is the make and model of the machine that's giving you trouble?
 
Old 05-23-2017, 08:50 AM   #18
Hail Happiness
LQ Newbie
 
Registered: May 2017
Distribution: Linux Mint 18.1
Posts: 16

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by thorkelljarl View Post
A little more information...

What is the make and model of the machine that's giving you trouble?
No make and model, it's a self-build.

Here's the component list: https://pcpartpicker.com/list/MXNGYr
 
Old 05-23-2017, 08:58 AM   #19
Hail Happiness
LQ Newbie
 
Registered: May 2017
Distribution: Linux Mint 18.1
Posts: 16

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by redfox2807 View Post
Please, be more precise on what's happening. Did Windows remove your Linux partitions? Or was it the partition table that was edited? What do you mean by mountpoints? [...]
I reinstalled LM with an ext4 /boot partition, and it's working... for now. I hope that that is the extent of the fix needed.

To summarize, what I did was:

- Install Win 10
- Turn off fastboot in Windows settings and in the UEFI settings
- Installed Linux Mint 18.1 alongside Windows 10 with 4 partitions: swap, root, home, boot
- Entered UEFI settings and changed the boot order so "ubuntu" was first (don't know why it showed it as Ubuntu rather than Linux Mint, since it did in past attempts)
- Installed GRUB Customizer and changed the boot order so that Win 10 is default boot.

I think it'll work. I hope it'll work. Thanks to everyone who helped or tried to help.
 
Old 05-23-2017, 04:00 PM   #20
Hail Happiness
LQ Newbie
 
Registered: May 2017
Distribution: Linux Mint 18.1
Posts: 16

Original Poster
Rep: Reputation: 1
I'm back. I had the same problem as last time. Success, but then booting straight to Win 10 with no ubuntu boot option. TBH, only rEFInd helped. I downloaded and installed it, and it works once again, for now.
 
1 members found this post helpful.
Old 05-23-2017, 04:45 PM   #21
redfox2807
Member
 
Registered: Jul 2012
Distribution: Debian testing/stable, Gentoo, CentOS 7, Sailfish OS, Android
Posts: 167

Rep: Reputation: 31
Just check that Windows and Linux options in the refind menu point to different .efi files. Then it should be ok. Otherwise it could be overwritten again.
 
2 members found this post helpful.
  


Reply

Tags
dual boot, installation, linux mint 18, uefi booting


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
Set Up Dual Boot With Linux Mint 17.3 and Linux Mint Debian 2 rbeltz48 Linux Mint 2 08-11-2016 11:02 PM
[SOLVED] Isolating Win XP from Internet after installing dual boot with Linux Mint 13 Jan Somer Linux - Newbie 2 04-10-2014 01:18 PM
Can a dual boot be set up with Linux mint 15 IDE? Impailer1 Linux - Software 7 11-02-2013 10:08 AM
Dual Boot Win 7 AND Linux Mint or Precise Pangolin on a Dell Inspiron 10v Mini? Aramanda Linux - Newbie 6 12-22-2012 12:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:34 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