LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 01-29-2015, 09:37 PM   #16
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,345

Rep: Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588

Quote:
That won't work, the grub.cfg file should be on the partition
That is why there is so much confusion over efi because sometimes it will work if put in the same directory as the linux efi bootloader

Last edited by colorpurple21859; 01-29-2015 at 09:40 PM.
 
Old 01-31-2015, 10:18 AM   #17
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,492

Rep: Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488
I don't use UEFI myself so am just basing on what I have read. The link below gives a pretty detailed explanation of UEFI on Ubuntu/Mint. The original bootinfo output posted by the OP showed windows installed to the MBR on one drive and Grub on the second which would mean he is not using UEFI. Now he has installed Mint in EFI mode which generally creates problems

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

The link below explains a method to supposedly use both?

https://help.ubuntu.com/community/In.../UEFI-and-BIOS
 
Old 01-31-2015, 05:17 PM   #18
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,345

Rep: Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588
Where the grub.cfg resides in efi mode is distro specific. Some distros have the file in /boot/grub and other distros require the grub.cfg file to reside on the efi partition with the efi boot files. I may be wrong but I think mint installed in efi mode puts a config file on the efi partition pointing to the /boot/grub/grub.cfg file, so in a situation like this that file may not exist with the boot files on the efi partition.
 
Old 02-01-2015, 07:24 AM   #19
austintx
Member
 
Registered: Jul 2012
Location: Austin, Texas
Distribution: Linux Mint 17 Cinnamon
Posts: 34

Rep: Reputation: 4
Quote:
Originally Posted by Kylotan View Post
Okay, I did a lot more reading and a bit more tinkering and the good news is that I have Mint installed now. For the benefit of anybody finding this on Google or whatever, the trick was to create an EFI partition (200MB, FAT32, flagged 'boot', then put the boot loader there during installation and designate it as an EFI partition) and since the BIOS had that as the first choice, it boots straight into Mint now.
Good job!
Quote:
Originally Posted by Kylotan View Post
Unfortunately there is still no GRUB2 menu as it can't find Windows 8.1. I tried the os-prober and update-grub routes but neither found it. So I can only choose between operating systems by reordering the BIOS boot order - not optimal.

My disks are a bit unusual: Windows 8.1 is on a smaller, MBR disk. Linux Mint is on a 3TB GPT disk. (Both according to Windows disk management, at least.) Maybe if Windows was also on a GPT disk there would be no problem, but that's not something I can change easily now.

If anybody has any suggestion on how I can force GRUB2 to find Windows on the other disk, and show me a menu to let me choose between them, I'd be grateful.
I don't know of any solution for that situation. The problem is that when you chose to boot Mint, your computer boots in UEFI mode. That means when you see the Grub menu (IF you do...) the computer has already booted in UEFI mode - meaning that it is not going to boot the non-UEFI Windows. At least, that is the process as far as I understand it.
What I would do, if it were my computer, is delete all the partitions and the GPT partition table on sdb, and change it to msdos partitioning, and re-install Mint in non-UEFI mode. That would eliminate any incompatibilities between Windows on sda and Mint on sdb.
To delete the GPT partition table is very simple. Boot the live Mint DVD or USB, open the gparted program. Click on sdb > Device > New Partition Table > msdos
Then use gparted to create the partitions you want for Mint. Close gparted and run the Mint installer. Chose the Something Else option, and install to the partitions you created, making sure to install the bootloader to sdb, not sda.
 
Old 02-01-2015, 07:59 AM   #20
Kylotan
LQ Newbie
 
Registered: Aug 2003
Location: Nottingham, UK
Distribution: Ubuntu
Posts: 21

Original Poster
Rep: Reputation: 0
Unfortunately, sdb isn't suitable for old-style partitions because it's a 3TB drive.

It seems strange that this would stop grub2 finding Windows, however - whatever mode it booted up in, those drives are still all visible, including the Windows system partition which contains its bootloader etc. Does it somehow need some extra information from the UEFI BIOS?
 
Old 02-01-2015, 09:12 AM   #21
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,492

Rep: Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488
Quote:
It seems strange that this would stop grub2 finding Windows,
Not really. If you are booting Mint in EFI then it looks on the FAT32 partition for its EFI files and if you select windows it will look on the EFI partition for the windows EFI files which you do not have since windows is not installed in EFI mode. The files below are the Ubuntu/Mint EFI files and are on the FAT32 partition. If you had windows installed EFI, the windows files would also be there obviously with different names.

Quote:
Boot files: /EFI/ubuntu/MokManager.efi /EFI/ubuntu/grubx64.efi
/EFI/ubuntu/shimx64.efi
The second link in post 17 above explains a method of using EFI/MBR but it seems to have a lot of restrictions and doesn't seem like it would work well on an everyday computer since some updates will break it.
 
Old 02-01-2015, 09:35 AM   #22
austintx
Member
 
Registered: Jul 2012
Location: Austin, Texas
Distribution: Linux Mint 17 Cinnamon
Posts: 34

Rep: Reputation: 4
Quote:
Originally Posted by Kylotan View Post
Unfortunately, sdb isn't suitable for old-style partitions because it's a 3TB drive.
That statement is correct if you are using the conventional 512 bytes per sector. If you use 4 KB sectors (4096-byte logical sectors), msdos partitioning can address up to 16 TB on an "Advanced Format" drive (which a new 3TB drive should be).
I have seen that in various places, you would have to research the exact procedure for setting it up.
Here is an example, quoted from http://ubuntuforums.org/showthread.php?t=1536933
Model: Seagate FA GoFlex Desk (scsi)
Disk /dev/sdc: 3001GB
Sector size (logical/physical): 4096B/4096B
Partition Table: msdos

Number Start End Size Type File system Flags
1 28.7kB 3001GB 3001GB primary

Another example, quoted from http://ubuntuforums.org/showthread.php?t=2246256
Model: WD Ext HDD 1021 (scsi)
Disk /dev/sdb: 3001GB
Sector size (logical/physical): 4096B/4096B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 3001GB 3001GB primary
 
Old 02-08-2015, 05:16 PM   #23
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,771
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
Quote:
Originally Posted by TxLonghorn View Post
You have installed Mint in legacy (msdos) mode to a drive with GPT partitioning. That is not a good thing.
GPT does not have the old style MBR where Grub would be installed. Instead, it has a "fake MBR" to accomodate legacy installations.
Here is a good tutorial on how to fix it - http://www.rodsbooks.com/gdisk/wipegpt.html
Unless you are using only one or two drives of very small capacity, I would exhaust your efforts to resolve your troubles using GPT before you fall back to using the old-school MBR. Consider 7 Ways to Dual Boot ... and Dual Boot Linux Mint 17.

The GUID Partition Table or GPT of itself is not a bad thing. There are many advantages over the previous approach Master Boot Record or MBR. When disks were small, four "primary" partitions was effective. Larger disks caused deployment of the "extended partition" which could then contain "logical partitions." Today's giant drives, by comparison, benefit from an approach that permits an all-but-unlimited number of partitions numbered 1,2,3,... It is unfortunate that the GPT features got tangled in with "secure boot" and other aspects of the unified extensible firmware interface (UEFI).
 
Old 02-08-2015, 06:09 PM   #24
TxLonghorn
Member
 
Registered: Feb 2004
Location: Austin Texas
Distribution: Mandrake 9.2
Posts: 702

Rep: Reputation: 231Reputation: 231Reputation: 231
There are other boot managers besides Grub.

rEFInd says it allows "Auto-detection of EFI and BIOS boot loaders."
http://www.rodsbooks.com/refind/features.html

Quote:
Download the USB flash drive or CD-R version of the rEFInd boot manager. - http://www.rodsbooks.com/refind/getting.html
Burn the CD (or USB).
When you boot the CD you should see a rEFInd menu with options for both Windows and Linux.
Test the boot options. Some might not work, but you should be able to boot both Linux and Windows.
If the preceding step works, boot to Linux.
Download and install the Debian-package version of rEFInd.
You should be able to boot both Linux and Windows, using rEFInd as the boot manager instead of GRUB.
You might want to clean up some non-functional or redundant entries, but that's not hard.
http://forums.linuxmint.com/viewtopi...164018#p843296
 
Old 02-09-2015, 07:09 PM   #25
phd21
LQ Newbie
 
Registered: Feb 2015
Location: Florida
Distribution: Linux Mint KDE 17.3 and 18.1
Posts: 8

Rep: Reputation: Disabled
Resolving Booting Up Issues

Dear Kylotan and others,

If you are having problems booting up your Linux or other Operating Systems (OS), you can use the very easy, useful, and very handy, program "Boot-Repair-Disk". This program can repair most booting up issues by just booting to this program and selecting the first option "recommended repair" which is usually a one click repair for fixing your booting problems. This program has saved my butt many times when I was experimenting with installing Linux distributions. I have provided a link below where you can download "Boot-Repair-Disk" as an ".iso" file and create a live usb, or CD or DVD from; or if you can boot to your Linux partition, then you can install this directly into your Linux using the instructions below.

Downloading "Boot-Repair-Disk" programs (32 bit or 64 bit versions,if you are unsure, choose 32 bit)
http://sourceforge.net/projects/boot-repair-cd/files/

Information on Boot Repair from Ubuntu forums
https://help.ubuntu.com/community/Boot-Repair

Installing "Boot-Repair-Disk" to your Linux using PPA mode, bring up your "terminal" and type in:
(obviously you have to run it after installing it to repair your booting up problems)

sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair

If you cannot boot up your local drive(s), or want to boot to another device, then there are very good programs available to allow almost any machine to boot to your local drive(s), external USB drive(s), or CD/DVD drives, like "SuperGrub2 Boot Loader" and "PLOP" which you can burn to CD/DVD or another USB drive. With these programs, I have been able to boot to the USB drives that I have created using the default Linux Mint 17 program and "unetbootin". I prefer to use the "Super Grub2 Boot Loader" program disk to boot my USB drives; It shows all installed operating systems on the machine and lets you choose which one to boot - very cool. I'm not sure, but Super Grub2 may also be able to repair or reinstall the boot information or Grub files.

Super Grub2 Disk
http://www.supergrubdisk.org/super-grub2-disk/

PLOP
http://www.plop.at/en/bootmanager/download.html

Hope this helps ....
 
Old 02-15-2015, 09:42 PM   #26
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,771
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
I'm still looking for a thorough explanation of whatever Windows™ 7 and 8x does during its install along with what it does and needs and uses during its boot.

I understand the Linux® boot pretty well (grin) at least up until init takes over. I used to understand the Master Boot Record (MBR) boot in that context. Now UEFI and GPT have me completely confused.

One wrinkle that I know says that Win-7 must be 64-bit to use GPT and UEFI features, with or without "secure boot."

I think that means:
  • power on and enter CMOS/BIOS settings dialogs
  • enable UEFI features
  • disable "secure boot" (typical for folks running Linux)
  • accomplish installs with MBR or GPT partitions as desired

Thanks in advance,
~~~ 0;-Dan
 
Old 02-16-2015, 06:36 AM   #27
TxLonghorn
Member
 
Registered: Feb 2004
Location: Austin Texas
Distribution: Mandrake 9.2
Posts: 702

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by SaintDanBert View Post
I understand the Linux® boot pretty well (grin) at least up until init takes over. I used to understand the Master Boot Record (MBR) boot in that context. Now UEFI and GPT have me completely confused.
With BIOS firmware, the BIOS looks at the MBR for instructions on booting. With EFI firmware, the EFI mechanism includes much more of the booting information in the EFI itself, and looks only at the ESP (EFI System Partition).

A couple of good pages to start with:
The EFI boot process. - http://homepage.ntlworld.com/jonatha...t-process.html
Linux on UEFI: A Quick Installation Guide - http://www.rodsbooks.com/linux-uefi/

Thanks, Dan.
 
1 members found this post helpful.
Old 02-26-2015, 02:15 PM   #28
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,771
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
Quote:
Originally Posted by TxLonghorn View Post
...
Thanks, Dan.
1. I, too, am named Dan. (grin)
2. I, too, live in Austin.
3. Sorry, I'm a Baylor fan.

Drop a private message (PM) if you want to find a beverage...

Cheers,
~~~ 0;-Dan
 
Old 02-27-2015, 06:49 AM   #29
TxLonghorn
Member
 
Registered: Feb 2004
Location: Austin Texas
Distribution: Mandrake 9.2
Posts: 702

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by SaintDanBert View Post
Drop a private message (PM) if you want to find a beverage...
I sincerely appreciate the invitation, but the Ayn Rand quote in your sig indicates that we would not get along.
I prefer Democracy - it isn't perfect, but it is better than any alternative.
I realize that people who preach anti-social or un-democratic philosophies, like Ayn Rand and Machiavelli, have their followers, but I am not one of them.
 
Old 03-09-2015, 01:41 PM   #30
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,771
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
Quote:
Originally Posted by TxLonghorn View Post
I sincerely appreciate the invitation, but the Ayn Rand quote in your sig indicates that we would not get along.
I prefer Democracy - it isn't perfect, but it is better than any alternative.
I realize that people who preach anti-social or un-democratic philosophies, like Ayn Rand and Machiavelli, have their followers, but I am not one of them.
Austin Greetings, philosophy not withstanding...

Our political and social "differences" and discussions of them are what might make things intellectually interesting. That said, I understand that it is difficult, in these times, to attempt discussion of many topics because so few folks are able to remain open minded in the presence of opinions they disagree with or that they find distasteful. I'm not suggesting that you might be one of those folks. Rather, you have no idea how I might respond to or react to whatever might come up in conversation.

I respect you openness and honesty,
~~~ 0;-Dan
 
  


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
Installed Fedora as dual boot but Grub boot menu is not showing up nilocjin Linux - Newbie 4 06-03-2009 02:09 PM
Installed ubuntu dual boot, but grub doesn't start instead XP starts normally abhishekpapanna Ubuntu 6 12-07-2008 02:40 PM
Dual boot with Grub already installed SuperK Linux - General 1 06-02-2006 02:42 PM
Just installed dual-boot, dont get GRUB jmorris8 Linux - Newbie 4 09-27-2005 04:50 AM
Configure grub (dual boot) with 2 OP installed already fere Linux - Newbie 2 06-07-2004 10:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

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