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 01-04-2017, 08:45 PM   #1
eco_bach
Member
 
Registered: Dec 2016
Posts: 242

Rep: Reputation: Disabled
GPT partitioning - why is it recommended with UEFI?


Hi
3rd time re partitioning my 1TB SSD so hoping to get it right.
Learning but still many questions

Because my system has UEFI firmware and already have a SSD dedicated to Windows my understanding is that I MUST have a UEFI boot partition on my 2nd SSD dedicated to Linux.
And if using GPT partitioning in addition it needs to have the 'boot' flag set.

My first point of confusion is conflicting device I am reading about GPT vs MBR-msdos partitioning.

At ubuntuforums here under Two Drive Installs>Partitioning it states
https://ubuntuforums.org/showthread.php?t=2147295

Quote:
With UEFI, gpt partitioning is (almost) required. If multiple drives all bootable drives need to be gpt and best if data drives are also gpt in case later you want to make it bootable. With gpt there is no primary, extended, logical partitions as in MBR(msdos) nor the 4 primary partition limit.
You can only have one efi partition per drive and with gparted you use the boot flag to assign it as the efi partition. No other partitions can have boot flag. Only if booting in BIOS mode with Ubuntu on gpt partitioned drive, you need a bios_grub partition.
Windows will only boot in UEFI mode so you cannot install Windows to gpt drive unless booting with UEFI.
but this partition guide over at ubuntu-mate.community seems to indicate using MBR partitioning
ubuntu-mate.community
see Part 4: Create a UEFI boot partition. + swap + root + home partitions.

Which is right?
Why is GPT partitioning recommended for UEFI?

Last edited by eco_bach; 01-04-2017 at 08:55 PM.
 
Old 01-04-2017, 10:01 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,780

Rep: Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573Reputation: 3573
Use gpt regardless of (U)EFI - it will (eventually) make your life easier.
As you seem confused enough, don't create an efi partition on any disk other than the boot (Windows in your case) disk. Simply use the one already present. Most Linux installers recognise this implicitly.
 
Old 01-05-2017, 02:15 AM   #3
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 5,573
Blog Entries: 16

Rep: Reputation: 3307Reputation: 3307Reputation: 3307Reputation: 3307Reputation: 3307Reputation: 3307Reputation: 3307Reputation: 3307Reputation: 3307Reputation: 3307Reputation: 3307
It's simple. A UEFI chip working in native mode can't boot from a DOS disk. DOS disks have their bootloader in the mbr and the UEFI boot mechanism doesn't look there. It only looks in the efi system partition.

You can (at the moment) use a UEFI in compatibility support (legacy) mode with a DOS disk but who knows how long that mode will continue to exist?
 
Old 01-05-2017, 01:30 PM   #4
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch
Posts: 1,253

Rep: Reputation: 467Reputation: 467Reputation: 467Reputation: 467Reputation: 467
Hi again eco_bach ...

As mentioned above, GPT (GUID Partition Table) is progressively replacing the old MBR (Master Boot Record) partition table. Also as mentioned above, GPT does away with the 4-primary-partition limit of MBR. Most new firmware is UEFI instead of BIOS based and, again, as mentioned above, UEFI will probably stop supporting MBR-based partitioning down the road. So - short answer - go GPT. That said, I don't see the conflicting advice in your above example - Ubuntu is just suggesting a typical partitioning scheme. If you really do have 2 separate physical hard drives (SSD or otherwise), and want to be able to boot from either, you need to have an ESP (EFI System Partition) on each one.

Partitioning as a subject can be a little daunting at first - judging from your 2 recent posts, I am guessing you are fairly new at it. I suggest reading up on it, but feel free to post other questions if needed.

Cheers,
 
1 members found this post helpful.
Old 01-05-2017, 08:15 PM   #5
fpmurphy
Member
 
Registered: Jan 2009
Location: /dev/ph
Distribution: Fedora, Ubuntu, Redhat, Centos
Posts: 299

Rep: Reputation: 62
Quote:
Originally Posted by eco_bach View Post
Hi
Because my system has UEFI firmware and already have a SSD dedicated to Windows my understanding is that I MUST have a UEFI boot partition on my 2nd SSD dedicated to Linux.
As an FYI, you do not actually need a separate "boot partition" (actually called an ESP - EFI System Partition) on your second SSD. You can add the appropriate files to the existing ESP on your first SSD. Can be a bit complicated to correctly setup as many current Linux Distributions that support UEFI-booting expect to have the ESP to themselves.
 
Old 01-05-2017, 10:14 PM   #6
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch
Posts: 1,253

Rep: Reputation: 467Reputation: 467Reputation: 467Reputation: 467Reputation: 467
Quote:
Originally Posted by fpmurphy View Post
As an FYI, you do not actually need a separate "boot partition" (actually called an ESP - EFI System Partition) on your second SSD. You can add the appropriate files to the existing ESP on your first SSD.
@fpmurphy: ... this is good to know. My limited experience so far with UEFI had led me to understand that each physical bootable drive required its own ESP - thanks for the info !

Cheers :-)
 
  


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
relationship between MBR, GPT, UEFI xiongnu Linux - General 5 12-17-2015 05:05 PM
LXer: GPT disk partitioning guide for Ubuntu 13.10 on a PC with UEFI firmware LXer Syndicated Linux News 0 02-05-2014 07:00 PM
UEFI/GPT installation problems FreedomForever Linux - Newbie 3 11-04-2013 07:07 AM
GPT, UEFI and BIOS Legacy slaka Linux - Laptop and Netbook 8 04-17-2013 07:28 AM

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

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