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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-04-2017, 09:45 PM
|
#1
|
Member
Registered: Dec 2016
Posts: 242
Rep:
|
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 09:55 PM.
|
|
|
01-04-2017, 11:01 PM
|
#2
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,287
|
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.
|
|
|
01-05-2017, 03:15 AM
|
#3
|
LQ Guru
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,050
|
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?
|
|
|
01-05-2017, 02:30 PM
|
#4
|
Senior Member
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
|
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.
|
01-05-2017, 09:15 PM
|
#5
|
Member
Registered: Jan 2009
Location: /dev/ph
Distribution: Fedora, Ubuntu, Redhat, Centos
Posts: 299
Rep:
|
Quote:
Originally Posted by eco_bach
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.
|
|
|
01-05-2017, 11:14 PM
|
#6
|
Senior Member
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
|
Quote:
Originally Posted by fpmurphy
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 :-)
|
|
|
All times are GMT -5. The time now is 10:41 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|