What is the absolute minimum size a UEFI partition can be?












4















Suppose I have a flash drive, and I want it to be bootable. Suppose I also have a basic EFI file which will accomplish something. So, what is the minimum size the ESP can be? I've read that it's 100MB, but that seems to be specifically in regards to windows. Must a EFI partition be a certain size for the system to recognize it? Or is 100 just recommended because modern operating systems use that much?










share|improve this question



























    4















    Suppose I have a flash drive, and I want it to be bootable. Suppose I also have a basic EFI file which will accomplish something. So, what is the minimum size the ESP can be? I've read that it's 100MB, but that seems to be specifically in regards to windows. Must a EFI partition be a certain size for the system to recognize it? Or is 100 just recommended because modern operating systems use that much?










    share|improve this question

























      4












      4








      4


      1






      Suppose I have a flash drive, and I want it to be bootable. Suppose I also have a basic EFI file which will accomplish something. So, what is the minimum size the ESP can be? I've read that it's 100MB, but that seems to be specifically in regards to windows. Must a EFI partition be a certain size for the system to recognize it? Or is 100 just recommended because modern operating systems use that much?










      share|improve this question














      Suppose I have a flash drive, and I want it to be bootable. Suppose I also have a basic EFI file which will accomplish something. So, what is the minimum size the ESP can be? I've read that it's 100MB, but that seems to be specifically in regards to windows. Must a EFI partition be a certain size for the system to recognize it? Or is 100 just recommended because modern operating systems use that much?







      boot partitioning uefi






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 5 '18 at 3:46









      MazeOfEncryptionMazeOfEncryption

      2316




      2316






















          2 Answers
          2






          active

          oldest

          votes


















          4















          Is 100 just recommended because modern operating systems use that much?




          Note that the 100 MB partition size is the minimum. Though there is no specification set by UEFI for a minimum size, but Microsoft recommends this 100 MB size for it's Operating Systems.



          Let's think we need the EFI partition to be formatted using the FAT32 file system. The minimum partition size of FAT32 drive is calculated as sector_size x 65527.



          In Advanced Format 4K Native drives, there is 4 KB per sector. In that case, the minimum partition size for FAT32 drive is calculated as 4 KB x 65527 = 256 MB. That's why recommended minimum size for 4K drives is 260 MB.



          But in Advanced Format 512e drives, the emulated sector size is 512 bytes. In that case, the minimum partition size for FAT32 drive is calculated as 512 bytes x 65527 = 32 MB, which is less than the 100 MB minimum size for this partition.




          Must a EFI partition be a certain size for the system to recognize it?




          Though Microsoft recommends 100 MB for its operating systems, the Linux forums suggest more for Linux based operating systems or for any dual boot or multi booting situations.



          The author of gdisk suggests 550 MiB.



          As per the Arch Linux forum, to avoid potential problems with some EFIs, ESP size should be at least 512 MiB. 550 MiB is recommended to avoid MiB/MB confusion and accidentally creating FAT16.



          So, most common size guideline for EFI System Partition is between 100 MB to 550 MB. One of the reason behind this is it is difficult to resize later as it is the first partition on the drive. EFI partition may contain languages, fonts, BIOS firmware, other firmware related staffs. There are some firmware/software that are installed into the the EFI partition instead of the data drive. And there are some that want the capability in the future to add things into ESP.



          As it may be difficult to enlarge the size in case it is needed later and the Hard Disk size now a days is larger, a big number of size like 100 MB or 550 MB is recommended for ESP. But in general case, it uses only some Kilo Bytes of space.




          Suppose I have a flash drive, and I want it to be bootable.




          Though it is not clear from your statement, if you try to make your pen drive bootable as UEFI compatible drive for windows installation, then there is no need of creating extra ESP in the pen drive. Use rufus or similar tools which will take care of converting it into UEFI enabled drive. But ESP is needed in your hard drive when installing windows into that drive.






          share|improve this answer


























          • I am not looking into installing windows - I am creating my own bootloader, just for fun. It currently works with MBR, I just wanted to know what the absolute minimum size the ESP could be was.

            – MazeOfEncryption
            Apr 5 '18 at 17:31













          • The EFI partition is needed to be formatted using the FAT32 file format this is wrong in many levels: The ESP doesn't need to be FAT32, and FAT32 is a partition format, not file format. Unfortunately, many Linux installers create FAT16 ESPs by default and my laptop's preinstalled Linux is one of them. In fact I've seen FAT16 more common on Linux than FAT32

            – phuclv
            Jan 27 at 8:49






          • 1





            Old post, I know, but just to add that FreeBSD uses an 800KiB EFI partition for its bootable installation media. Obviously you are not usually adding stuff to the EFI partition on a USB stick after creating it, so you can get away with making it as small as technically possible. On the other hand, on your main system disk you should leave sufficient breathing room on the EFI partition to allow for future content.

            – dumetrulo
            Mar 13 at 9:34



















          0














          The absolute minimum size you can get away with, involves using a fat12 filesystem (so 32 KB), and in practice requires using some minimal boot manager that incorporates filesystem drivers for reading your primary partition -- and the kernel contained there -- which implies grub or rEFInd. A typical grub-install image will be around 200KB, which is still not bad at all.



          I've been booting just fine with a 2MB fat12 ESP for quite some time now, so clearly it can be done!



          I'm not entirely sure where the common advice to use 512MB comes from, but the Arch Wiki was recently amended by... me... to reference the possibility of fat12.



          http://www.rodsbooks.com/linux-uefi/ seems to indicate at least fat16 should work fine except for confusing the Windows installer, which is not really relevant IMHO. The Arch Wiki seems to have based itself on that advice, but I'm not brave enough to totally rewrite it.



          As I referenced in the Wiki, the UEFI spec mandates fat12 drivers. I've heard arguments that "only removable drives are mandated", leaving open the possibility that someone, somewhere, has or will write a UEFI implementation that includes those fat12 filesystem drivers but somehow forbids their use for mounting the UEFI system partition, but I personally consider this unlikely.






          share|improve this answer

























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1310927%2fwhat-is-the-absolute-minimum-size-a-uefi-partition-can-be%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            4















            Is 100 just recommended because modern operating systems use that much?




            Note that the 100 MB partition size is the minimum. Though there is no specification set by UEFI for a minimum size, but Microsoft recommends this 100 MB size for it's Operating Systems.



            Let's think we need the EFI partition to be formatted using the FAT32 file system. The minimum partition size of FAT32 drive is calculated as sector_size x 65527.



            In Advanced Format 4K Native drives, there is 4 KB per sector. In that case, the minimum partition size for FAT32 drive is calculated as 4 KB x 65527 = 256 MB. That's why recommended minimum size for 4K drives is 260 MB.



            But in Advanced Format 512e drives, the emulated sector size is 512 bytes. In that case, the minimum partition size for FAT32 drive is calculated as 512 bytes x 65527 = 32 MB, which is less than the 100 MB minimum size for this partition.




            Must a EFI partition be a certain size for the system to recognize it?




            Though Microsoft recommends 100 MB for its operating systems, the Linux forums suggest more for Linux based operating systems or for any dual boot or multi booting situations.



            The author of gdisk suggests 550 MiB.



            As per the Arch Linux forum, to avoid potential problems with some EFIs, ESP size should be at least 512 MiB. 550 MiB is recommended to avoid MiB/MB confusion and accidentally creating FAT16.



            So, most common size guideline for EFI System Partition is between 100 MB to 550 MB. One of the reason behind this is it is difficult to resize later as it is the first partition on the drive. EFI partition may contain languages, fonts, BIOS firmware, other firmware related staffs. There are some firmware/software that are installed into the the EFI partition instead of the data drive. And there are some that want the capability in the future to add things into ESP.



            As it may be difficult to enlarge the size in case it is needed later and the Hard Disk size now a days is larger, a big number of size like 100 MB or 550 MB is recommended for ESP. But in general case, it uses only some Kilo Bytes of space.




            Suppose I have a flash drive, and I want it to be bootable.




            Though it is not clear from your statement, if you try to make your pen drive bootable as UEFI compatible drive for windows installation, then there is no need of creating extra ESP in the pen drive. Use rufus or similar tools which will take care of converting it into UEFI enabled drive. But ESP is needed in your hard drive when installing windows into that drive.






            share|improve this answer


























            • I am not looking into installing windows - I am creating my own bootloader, just for fun. It currently works with MBR, I just wanted to know what the absolute minimum size the ESP could be was.

              – MazeOfEncryption
              Apr 5 '18 at 17:31













            • The EFI partition is needed to be formatted using the FAT32 file format this is wrong in many levels: The ESP doesn't need to be FAT32, and FAT32 is a partition format, not file format. Unfortunately, many Linux installers create FAT16 ESPs by default and my laptop's preinstalled Linux is one of them. In fact I've seen FAT16 more common on Linux than FAT32

              – phuclv
              Jan 27 at 8:49






            • 1





              Old post, I know, but just to add that FreeBSD uses an 800KiB EFI partition for its bootable installation media. Obviously you are not usually adding stuff to the EFI partition on a USB stick after creating it, so you can get away with making it as small as technically possible. On the other hand, on your main system disk you should leave sufficient breathing room on the EFI partition to allow for future content.

              – dumetrulo
              Mar 13 at 9:34
















            4















            Is 100 just recommended because modern operating systems use that much?




            Note that the 100 MB partition size is the minimum. Though there is no specification set by UEFI for a minimum size, but Microsoft recommends this 100 MB size for it's Operating Systems.



            Let's think we need the EFI partition to be formatted using the FAT32 file system. The minimum partition size of FAT32 drive is calculated as sector_size x 65527.



            In Advanced Format 4K Native drives, there is 4 KB per sector. In that case, the minimum partition size for FAT32 drive is calculated as 4 KB x 65527 = 256 MB. That's why recommended minimum size for 4K drives is 260 MB.



            But in Advanced Format 512e drives, the emulated sector size is 512 bytes. In that case, the minimum partition size for FAT32 drive is calculated as 512 bytes x 65527 = 32 MB, which is less than the 100 MB minimum size for this partition.




            Must a EFI partition be a certain size for the system to recognize it?




            Though Microsoft recommends 100 MB for its operating systems, the Linux forums suggest more for Linux based operating systems or for any dual boot or multi booting situations.



            The author of gdisk suggests 550 MiB.



            As per the Arch Linux forum, to avoid potential problems with some EFIs, ESP size should be at least 512 MiB. 550 MiB is recommended to avoid MiB/MB confusion and accidentally creating FAT16.



            So, most common size guideline for EFI System Partition is between 100 MB to 550 MB. One of the reason behind this is it is difficult to resize later as it is the first partition on the drive. EFI partition may contain languages, fonts, BIOS firmware, other firmware related staffs. There are some firmware/software that are installed into the the EFI partition instead of the data drive. And there are some that want the capability in the future to add things into ESP.



            As it may be difficult to enlarge the size in case it is needed later and the Hard Disk size now a days is larger, a big number of size like 100 MB or 550 MB is recommended for ESP. But in general case, it uses only some Kilo Bytes of space.




            Suppose I have a flash drive, and I want it to be bootable.




            Though it is not clear from your statement, if you try to make your pen drive bootable as UEFI compatible drive for windows installation, then there is no need of creating extra ESP in the pen drive. Use rufus or similar tools which will take care of converting it into UEFI enabled drive. But ESP is needed in your hard drive when installing windows into that drive.






            share|improve this answer


























            • I am not looking into installing windows - I am creating my own bootloader, just for fun. It currently works with MBR, I just wanted to know what the absolute minimum size the ESP could be was.

              – MazeOfEncryption
              Apr 5 '18 at 17:31













            • The EFI partition is needed to be formatted using the FAT32 file format this is wrong in many levels: The ESP doesn't need to be FAT32, and FAT32 is a partition format, not file format. Unfortunately, many Linux installers create FAT16 ESPs by default and my laptop's preinstalled Linux is one of them. In fact I've seen FAT16 more common on Linux than FAT32

              – phuclv
              Jan 27 at 8:49






            • 1





              Old post, I know, but just to add that FreeBSD uses an 800KiB EFI partition for its bootable installation media. Obviously you are not usually adding stuff to the EFI partition on a USB stick after creating it, so you can get away with making it as small as technically possible. On the other hand, on your main system disk you should leave sufficient breathing room on the EFI partition to allow for future content.

              – dumetrulo
              Mar 13 at 9:34














            4












            4








            4








            Is 100 just recommended because modern operating systems use that much?




            Note that the 100 MB partition size is the minimum. Though there is no specification set by UEFI for a minimum size, but Microsoft recommends this 100 MB size for it's Operating Systems.



            Let's think we need the EFI partition to be formatted using the FAT32 file system. The minimum partition size of FAT32 drive is calculated as sector_size x 65527.



            In Advanced Format 4K Native drives, there is 4 KB per sector. In that case, the minimum partition size for FAT32 drive is calculated as 4 KB x 65527 = 256 MB. That's why recommended minimum size for 4K drives is 260 MB.



            But in Advanced Format 512e drives, the emulated sector size is 512 bytes. In that case, the minimum partition size for FAT32 drive is calculated as 512 bytes x 65527 = 32 MB, which is less than the 100 MB minimum size for this partition.




            Must a EFI partition be a certain size for the system to recognize it?




            Though Microsoft recommends 100 MB for its operating systems, the Linux forums suggest more for Linux based operating systems or for any dual boot or multi booting situations.



            The author of gdisk suggests 550 MiB.



            As per the Arch Linux forum, to avoid potential problems with some EFIs, ESP size should be at least 512 MiB. 550 MiB is recommended to avoid MiB/MB confusion and accidentally creating FAT16.



            So, most common size guideline for EFI System Partition is between 100 MB to 550 MB. One of the reason behind this is it is difficult to resize later as it is the first partition on the drive. EFI partition may contain languages, fonts, BIOS firmware, other firmware related staffs. There are some firmware/software that are installed into the the EFI partition instead of the data drive. And there are some that want the capability in the future to add things into ESP.



            As it may be difficult to enlarge the size in case it is needed later and the Hard Disk size now a days is larger, a big number of size like 100 MB or 550 MB is recommended for ESP. But in general case, it uses only some Kilo Bytes of space.




            Suppose I have a flash drive, and I want it to be bootable.




            Though it is not clear from your statement, if you try to make your pen drive bootable as UEFI compatible drive for windows installation, then there is no need of creating extra ESP in the pen drive. Use rufus or similar tools which will take care of converting it into UEFI enabled drive. But ESP is needed in your hard drive when installing windows into that drive.






            share|improve this answer
















            Is 100 just recommended because modern operating systems use that much?




            Note that the 100 MB partition size is the minimum. Though there is no specification set by UEFI for a minimum size, but Microsoft recommends this 100 MB size for it's Operating Systems.



            Let's think we need the EFI partition to be formatted using the FAT32 file system. The minimum partition size of FAT32 drive is calculated as sector_size x 65527.



            In Advanced Format 4K Native drives, there is 4 KB per sector. In that case, the minimum partition size for FAT32 drive is calculated as 4 KB x 65527 = 256 MB. That's why recommended minimum size for 4K drives is 260 MB.



            But in Advanced Format 512e drives, the emulated sector size is 512 bytes. In that case, the minimum partition size for FAT32 drive is calculated as 512 bytes x 65527 = 32 MB, which is less than the 100 MB minimum size for this partition.




            Must a EFI partition be a certain size for the system to recognize it?




            Though Microsoft recommends 100 MB for its operating systems, the Linux forums suggest more for Linux based operating systems or for any dual boot or multi booting situations.



            The author of gdisk suggests 550 MiB.



            As per the Arch Linux forum, to avoid potential problems with some EFIs, ESP size should be at least 512 MiB. 550 MiB is recommended to avoid MiB/MB confusion and accidentally creating FAT16.



            So, most common size guideline for EFI System Partition is between 100 MB to 550 MB. One of the reason behind this is it is difficult to resize later as it is the first partition on the drive. EFI partition may contain languages, fonts, BIOS firmware, other firmware related staffs. There are some firmware/software that are installed into the the EFI partition instead of the data drive. And there are some that want the capability in the future to add things into ESP.



            As it may be difficult to enlarge the size in case it is needed later and the Hard Disk size now a days is larger, a big number of size like 100 MB or 550 MB is recommended for ESP. But in general case, it uses only some Kilo Bytes of space.




            Suppose I have a flash drive, and I want it to be bootable.




            Though it is not clear from your statement, if you try to make your pen drive bootable as UEFI compatible drive for windows installation, then there is no need of creating extra ESP in the pen drive. Use rufus or similar tools which will take care of converting it into UEFI enabled drive. But ESP is needed in your hard drive when installing windows into that drive.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Jan 28 at 19:54

























            answered Apr 5 '18 at 4:58









            Rakibul IslamRakibul Islam

            8841419




            8841419













            • I am not looking into installing windows - I am creating my own bootloader, just for fun. It currently works with MBR, I just wanted to know what the absolute minimum size the ESP could be was.

              – MazeOfEncryption
              Apr 5 '18 at 17:31













            • The EFI partition is needed to be formatted using the FAT32 file format this is wrong in many levels: The ESP doesn't need to be FAT32, and FAT32 is a partition format, not file format. Unfortunately, many Linux installers create FAT16 ESPs by default and my laptop's preinstalled Linux is one of them. In fact I've seen FAT16 more common on Linux than FAT32

              – phuclv
              Jan 27 at 8:49






            • 1





              Old post, I know, but just to add that FreeBSD uses an 800KiB EFI partition for its bootable installation media. Obviously you are not usually adding stuff to the EFI partition on a USB stick after creating it, so you can get away with making it as small as technically possible. On the other hand, on your main system disk you should leave sufficient breathing room on the EFI partition to allow for future content.

              – dumetrulo
              Mar 13 at 9:34



















            • I am not looking into installing windows - I am creating my own bootloader, just for fun. It currently works with MBR, I just wanted to know what the absolute minimum size the ESP could be was.

              – MazeOfEncryption
              Apr 5 '18 at 17:31













            • The EFI partition is needed to be formatted using the FAT32 file format this is wrong in many levels: The ESP doesn't need to be FAT32, and FAT32 is a partition format, not file format. Unfortunately, many Linux installers create FAT16 ESPs by default and my laptop's preinstalled Linux is one of them. In fact I've seen FAT16 more common on Linux than FAT32

              – phuclv
              Jan 27 at 8:49






            • 1





              Old post, I know, but just to add that FreeBSD uses an 800KiB EFI partition for its bootable installation media. Obviously you are not usually adding stuff to the EFI partition on a USB stick after creating it, so you can get away with making it as small as technically possible. On the other hand, on your main system disk you should leave sufficient breathing room on the EFI partition to allow for future content.

              – dumetrulo
              Mar 13 at 9:34

















            I am not looking into installing windows - I am creating my own bootloader, just for fun. It currently works with MBR, I just wanted to know what the absolute minimum size the ESP could be was.

            – MazeOfEncryption
            Apr 5 '18 at 17:31







            I am not looking into installing windows - I am creating my own bootloader, just for fun. It currently works with MBR, I just wanted to know what the absolute minimum size the ESP could be was.

            – MazeOfEncryption
            Apr 5 '18 at 17:31















            The EFI partition is needed to be formatted using the FAT32 file format this is wrong in many levels: The ESP doesn't need to be FAT32, and FAT32 is a partition format, not file format. Unfortunately, many Linux installers create FAT16 ESPs by default and my laptop's preinstalled Linux is one of them. In fact I've seen FAT16 more common on Linux than FAT32

            – phuclv
            Jan 27 at 8:49





            The EFI partition is needed to be formatted using the FAT32 file format this is wrong in many levels: The ESP doesn't need to be FAT32, and FAT32 is a partition format, not file format. Unfortunately, many Linux installers create FAT16 ESPs by default and my laptop's preinstalled Linux is one of them. In fact I've seen FAT16 more common on Linux than FAT32

            – phuclv
            Jan 27 at 8:49




            1




            1





            Old post, I know, but just to add that FreeBSD uses an 800KiB EFI partition for its bootable installation media. Obviously you are not usually adding stuff to the EFI partition on a USB stick after creating it, so you can get away with making it as small as technically possible. On the other hand, on your main system disk you should leave sufficient breathing room on the EFI partition to allow for future content.

            – dumetrulo
            Mar 13 at 9:34





            Old post, I know, but just to add that FreeBSD uses an 800KiB EFI partition for its bootable installation media. Obviously you are not usually adding stuff to the EFI partition on a USB stick after creating it, so you can get away with making it as small as technically possible. On the other hand, on your main system disk you should leave sufficient breathing room on the EFI partition to allow for future content.

            – dumetrulo
            Mar 13 at 9:34













            0














            The absolute minimum size you can get away with, involves using a fat12 filesystem (so 32 KB), and in practice requires using some minimal boot manager that incorporates filesystem drivers for reading your primary partition -- and the kernel contained there -- which implies grub or rEFInd. A typical grub-install image will be around 200KB, which is still not bad at all.



            I've been booting just fine with a 2MB fat12 ESP for quite some time now, so clearly it can be done!



            I'm not entirely sure where the common advice to use 512MB comes from, but the Arch Wiki was recently amended by... me... to reference the possibility of fat12.



            http://www.rodsbooks.com/linux-uefi/ seems to indicate at least fat16 should work fine except for confusing the Windows installer, which is not really relevant IMHO. The Arch Wiki seems to have based itself on that advice, but I'm not brave enough to totally rewrite it.



            As I referenced in the Wiki, the UEFI spec mandates fat12 drivers. I've heard arguments that "only removable drives are mandated", leaving open the possibility that someone, somewhere, has or will write a UEFI implementation that includes those fat12 filesystem drivers but somehow forbids their use for mounting the UEFI system partition, but I personally consider this unlikely.






            share|improve this answer






























              0














              The absolute minimum size you can get away with, involves using a fat12 filesystem (so 32 KB), and in practice requires using some minimal boot manager that incorporates filesystem drivers for reading your primary partition -- and the kernel contained there -- which implies grub or rEFInd. A typical grub-install image will be around 200KB, which is still not bad at all.



              I've been booting just fine with a 2MB fat12 ESP for quite some time now, so clearly it can be done!



              I'm not entirely sure where the common advice to use 512MB comes from, but the Arch Wiki was recently amended by... me... to reference the possibility of fat12.



              http://www.rodsbooks.com/linux-uefi/ seems to indicate at least fat16 should work fine except for confusing the Windows installer, which is not really relevant IMHO. The Arch Wiki seems to have based itself on that advice, but I'm not brave enough to totally rewrite it.



              As I referenced in the Wiki, the UEFI spec mandates fat12 drivers. I've heard arguments that "only removable drives are mandated", leaving open the possibility that someone, somewhere, has or will write a UEFI implementation that includes those fat12 filesystem drivers but somehow forbids their use for mounting the UEFI system partition, but I personally consider this unlikely.






              share|improve this answer




























                0












                0








                0







                The absolute minimum size you can get away with, involves using a fat12 filesystem (so 32 KB), and in practice requires using some minimal boot manager that incorporates filesystem drivers for reading your primary partition -- and the kernel contained there -- which implies grub or rEFInd. A typical grub-install image will be around 200KB, which is still not bad at all.



                I've been booting just fine with a 2MB fat12 ESP for quite some time now, so clearly it can be done!



                I'm not entirely sure where the common advice to use 512MB comes from, but the Arch Wiki was recently amended by... me... to reference the possibility of fat12.



                http://www.rodsbooks.com/linux-uefi/ seems to indicate at least fat16 should work fine except for confusing the Windows installer, which is not really relevant IMHO. The Arch Wiki seems to have based itself on that advice, but I'm not brave enough to totally rewrite it.



                As I referenced in the Wiki, the UEFI spec mandates fat12 drivers. I've heard arguments that "only removable drives are mandated", leaving open the possibility that someone, somewhere, has or will write a UEFI implementation that includes those fat12 filesystem drivers but somehow forbids their use for mounting the UEFI system partition, but I personally consider this unlikely.






                share|improve this answer















                The absolute minimum size you can get away with, involves using a fat12 filesystem (so 32 KB), and in practice requires using some minimal boot manager that incorporates filesystem drivers for reading your primary partition -- and the kernel contained there -- which implies grub or rEFInd. A typical grub-install image will be around 200KB, which is still not bad at all.



                I've been booting just fine with a 2MB fat12 ESP for quite some time now, so clearly it can be done!



                I'm not entirely sure where the common advice to use 512MB comes from, but the Arch Wiki was recently amended by... me... to reference the possibility of fat12.



                http://www.rodsbooks.com/linux-uefi/ seems to indicate at least fat16 should work fine except for confusing the Windows installer, which is not really relevant IMHO. The Arch Wiki seems to have based itself on that advice, but I'm not brave enough to totally rewrite it.



                As I referenced in the Wiki, the UEFI spec mandates fat12 drivers. I've heard arguments that "only removable drives are mandated", leaving open the possibility that someone, somewhere, has or will write a UEFI implementation that includes those fat12 filesystem drivers but somehow forbids their use for mounting the UEFI system partition, but I personally consider this unlikely.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Jun 20 '18 at 21:43

























                answered May 22 '18 at 10:56









                eschwartzeschwartz

                1065




                1065






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1310927%2fwhat-is-the-absolute-minimum-size-a-uefi-partition-can-be%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Plaza Victoria

                    Puebla de Zaragoza

                    Musa