how to hide the small fat32 drive that is for linux UEFI bootloader, from Windows?












1















I've dual booted my Windows 10 OS with a Manjaro Linux distribution. While installing the Manjaro, I was asked to create a 500mb fat32 partition for the UEFI boot and I was warned that without it, bootloader might not work at all. So I created that partition.



Now I have booted back into my Windows OS and because Windows recognizes FAT32, the 500mb drive is there in my computer among my other drives and it's annoying, is there a way to hide it without causing any problems? I don't want to lose my Manjaro bootloader.










share|improve this question

























  • Didn't Windows already have its own EFI partition?

    – grawity
    Feb 14 at 12:09











  • @grawity Do you mean I don't need to create another one for Manjaro and it will be fine? I read somewhere else too that Windows has an EFI partition itself but I don't find any EFI folders in my C: drive(I'm certain that my windows is using UEFI boot).

    – Moytaba
    Feb 14 at 12:20











  • Well, they're not in your C: drive because they're in a different partition. (The "C:" letter corresponds only to a single partition, not to the whole disk.) Normally Windows doesn't show its own EFI partition, though you can access it with mountvol /s. And yes, if the existing EFI partition has enough free space, you can just reuse it for Linux alongside Windows.

    – grawity
    Feb 14 at 12:23











  • @grawity Great! Thanks. It has almost 200mb free space.

    – Moytaba
    Feb 14 at 12:31
















1















I've dual booted my Windows 10 OS with a Manjaro Linux distribution. While installing the Manjaro, I was asked to create a 500mb fat32 partition for the UEFI boot and I was warned that without it, bootloader might not work at all. So I created that partition.



Now I have booted back into my Windows OS and because Windows recognizes FAT32, the 500mb drive is there in my computer among my other drives and it's annoying, is there a way to hide it without causing any problems? I don't want to lose my Manjaro bootloader.










share|improve this question

























  • Didn't Windows already have its own EFI partition?

    – grawity
    Feb 14 at 12:09











  • @grawity Do you mean I don't need to create another one for Manjaro and it will be fine? I read somewhere else too that Windows has an EFI partition itself but I don't find any EFI folders in my C: drive(I'm certain that my windows is using UEFI boot).

    – Moytaba
    Feb 14 at 12:20











  • Well, they're not in your C: drive because they're in a different partition. (The "C:" letter corresponds only to a single partition, not to the whole disk.) Normally Windows doesn't show its own EFI partition, though you can access it with mountvol /s. And yes, if the existing EFI partition has enough free space, you can just reuse it for Linux alongside Windows.

    – grawity
    Feb 14 at 12:23











  • @grawity Great! Thanks. It has almost 200mb free space.

    – Moytaba
    Feb 14 at 12:31














1












1








1








I've dual booted my Windows 10 OS with a Manjaro Linux distribution. While installing the Manjaro, I was asked to create a 500mb fat32 partition for the UEFI boot and I was warned that without it, bootloader might not work at all. So I created that partition.



Now I have booted back into my Windows OS and because Windows recognizes FAT32, the 500mb drive is there in my computer among my other drives and it's annoying, is there a way to hide it without causing any problems? I don't want to lose my Manjaro bootloader.










share|improve this question
















I've dual booted my Windows 10 OS with a Manjaro Linux distribution. While installing the Manjaro, I was asked to create a 500mb fat32 partition for the UEFI boot and I was warned that without it, bootloader might not work at all. So I created that partition.



Now I have booted back into my Windows OS and because Windows recognizes FAT32, the 500mb drive is there in my computer among my other drives and it's annoying, is there a way to hide it without causing any problems? I don't want to lose my Manjaro bootloader.







windows partitioning multi-boot manjaro






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 14 at 12:01







Moytaba

















asked Feb 14 at 11:53









MoytabaMoytaba

114




114













  • Didn't Windows already have its own EFI partition?

    – grawity
    Feb 14 at 12:09











  • @grawity Do you mean I don't need to create another one for Manjaro and it will be fine? I read somewhere else too that Windows has an EFI partition itself but I don't find any EFI folders in my C: drive(I'm certain that my windows is using UEFI boot).

    – Moytaba
    Feb 14 at 12:20











  • Well, they're not in your C: drive because they're in a different partition. (The "C:" letter corresponds only to a single partition, not to the whole disk.) Normally Windows doesn't show its own EFI partition, though you can access it with mountvol /s. And yes, if the existing EFI partition has enough free space, you can just reuse it for Linux alongside Windows.

    – grawity
    Feb 14 at 12:23











  • @grawity Great! Thanks. It has almost 200mb free space.

    – Moytaba
    Feb 14 at 12:31



















  • Didn't Windows already have its own EFI partition?

    – grawity
    Feb 14 at 12:09











  • @grawity Do you mean I don't need to create another one for Manjaro and it will be fine? I read somewhere else too that Windows has an EFI partition itself but I don't find any EFI folders in my C: drive(I'm certain that my windows is using UEFI boot).

    – Moytaba
    Feb 14 at 12:20











  • Well, they're not in your C: drive because they're in a different partition. (The "C:" letter corresponds only to a single partition, not to the whole disk.) Normally Windows doesn't show its own EFI partition, though you can access it with mountvol /s. And yes, if the existing EFI partition has enough free space, you can just reuse it for Linux alongside Windows.

    – grawity
    Feb 14 at 12:23











  • @grawity Great! Thanks. It has almost 200mb free space.

    – Moytaba
    Feb 14 at 12:31

















Didn't Windows already have its own EFI partition?

– grawity
Feb 14 at 12:09





Didn't Windows already have its own EFI partition?

– grawity
Feb 14 at 12:09













@grawity Do you mean I don't need to create another one for Manjaro and it will be fine? I read somewhere else too that Windows has an EFI partition itself but I don't find any EFI folders in my C: drive(I'm certain that my windows is using UEFI boot).

– Moytaba
Feb 14 at 12:20





@grawity Do you mean I don't need to create another one for Manjaro and it will be fine? I read somewhere else too that Windows has an EFI partition itself but I don't find any EFI folders in my C: drive(I'm certain that my windows is using UEFI boot).

– Moytaba
Feb 14 at 12:20













Well, they're not in your C: drive because they're in a different partition. (The "C:" letter corresponds only to a single partition, not to the whole disk.) Normally Windows doesn't show its own EFI partition, though you can access it with mountvol /s. And yes, if the existing EFI partition has enough free space, you can just reuse it for Linux alongside Windows.

– grawity
Feb 14 at 12:23





Well, they're not in your C: drive because they're in a different partition. (The "C:" letter corresponds only to a single partition, not to the whole disk.) Normally Windows doesn't show its own EFI partition, though you can access it with mountvol /s. And yes, if the existing EFI partition has enough free space, you can just reuse it for Linux alongside Windows.

– grawity
Feb 14 at 12:23













@grawity Great! Thanks. It has almost 200mb free space.

– Moytaba
Feb 14 at 12:31





@grawity Great! Thanks. It has almost 200mb free space.

– Moytaba
Feb 14 at 12:31










1 Answer
1






active

oldest

votes


















1














So the direct answer is (well, should be) to set the 'Hidden' and 'Do not automount' flags on the partition using gdisk or a similar tool.




  1. Run gdisk /dev/sda (if that's your disk)

  2. In main menu, use p to see the partition list

  3. In main menu, use x to enter the expert menu

  4. In expert menu, use a to change attributes, and enter your partition's number

  5. In the attribute list, enable "62" (hidden) and "63" (do not automount) attributes

  6. In expert menu, use w to write changes and exit.


And the indirect answer is you don't need the partition. One disk only needs a single EFI system partition, and multiple operating systems can share it.




  1. Mount the Windows EFI partition somewhere temporary, e.g. /mnt/winefi;

  2. Move the Mint EFI files to the Windows EFI partition (retaining the same folders etc.)

  3. If Mint uses GRUB2, run grub-install --target=x86_64-efi --efi-directory=/mnt/winefi;

  4. Reboot and see if it worked. If it did, delete the now-empty Mint EFI partition.






share|improve this answer
























  • Thanks once again, I like the first way better, because a Windows update might overwrite the EFI partition.

    – Moytaba
    Feb 14 at 12:54






  • 1





    It never does. In the design of EFI (which Microsoft participates in), the whole reason of having a partition is that the OS wouldn't need to overwrite everything; it'd just have its own EFI<vendor> subfolder.

    – grawity
    Feb 14 at 13:31












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%2f1405667%2fhow-to-hide-the-small-fat32-drive-that-is-for-linux-uefi-bootloader-from-window%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














So the direct answer is (well, should be) to set the 'Hidden' and 'Do not automount' flags on the partition using gdisk or a similar tool.




  1. Run gdisk /dev/sda (if that's your disk)

  2. In main menu, use p to see the partition list

  3. In main menu, use x to enter the expert menu

  4. In expert menu, use a to change attributes, and enter your partition's number

  5. In the attribute list, enable "62" (hidden) and "63" (do not automount) attributes

  6. In expert menu, use w to write changes and exit.


And the indirect answer is you don't need the partition. One disk only needs a single EFI system partition, and multiple operating systems can share it.




  1. Mount the Windows EFI partition somewhere temporary, e.g. /mnt/winefi;

  2. Move the Mint EFI files to the Windows EFI partition (retaining the same folders etc.)

  3. If Mint uses GRUB2, run grub-install --target=x86_64-efi --efi-directory=/mnt/winefi;

  4. Reboot and see if it worked. If it did, delete the now-empty Mint EFI partition.






share|improve this answer
























  • Thanks once again, I like the first way better, because a Windows update might overwrite the EFI partition.

    – Moytaba
    Feb 14 at 12:54






  • 1





    It never does. In the design of EFI (which Microsoft participates in), the whole reason of having a partition is that the OS wouldn't need to overwrite everything; it'd just have its own EFI<vendor> subfolder.

    – grawity
    Feb 14 at 13:31
















1














So the direct answer is (well, should be) to set the 'Hidden' and 'Do not automount' flags on the partition using gdisk or a similar tool.




  1. Run gdisk /dev/sda (if that's your disk)

  2. In main menu, use p to see the partition list

  3. In main menu, use x to enter the expert menu

  4. In expert menu, use a to change attributes, and enter your partition's number

  5. In the attribute list, enable "62" (hidden) and "63" (do not automount) attributes

  6. In expert menu, use w to write changes and exit.


And the indirect answer is you don't need the partition. One disk only needs a single EFI system partition, and multiple operating systems can share it.




  1. Mount the Windows EFI partition somewhere temporary, e.g. /mnt/winefi;

  2. Move the Mint EFI files to the Windows EFI partition (retaining the same folders etc.)

  3. If Mint uses GRUB2, run grub-install --target=x86_64-efi --efi-directory=/mnt/winefi;

  4. Reboot and see if it worked. If it did, delete the now-empty Mint EFI partition.






share|improve this answer
























  • Thanks once again, I like the first way better, because a Windows update might overwrite the EFI partition.

    – Moytaba
    Feb 14 at 12:54






  • 1





    It never does. In the design of EFI (which Microsoft participates in), the whole reason of having a partition is that the OS wouldn't need to overwrite everything; it'd just have its own EFI<vendor> subfolder.

    – grawity
    Feb 14 at 13:31














1












1








1







So the direct answer is (well, should be) to set the 'Hidden' and 'Do not automount' flags on the partition using gdisk or a similar tool.




  1. Run gdisk /dev/sda (if that's your disk)

  2. In main menu, use p to see the partition list

  3. In main menu, use x to enter the expert menu

  4. In expert menu, use a to change attributes, and enter your partition's number

  5. In the attribute list, enable "62" (hidden) and "63" (do not automount) attributes

  6. In expert menu, use w to write changes and exit.


And the indirect answer is you don't need the partition. One disk only needs a single EFI system partition, and multiple operating systems can share it.




  1. Mount the Windows EFI partition somewhere temporary, e.g. /mnt/winefi;

  2. Move the Mint EFI files to the Windows EFI partition (retaining the same folders etc.)

  3. If Mint uses GRUB2, run grub-install --target=x86_64-efi --efi-directory=/mnt/winefi;

  4. Reboot and see if it worked. If it did, delete the now-empty Mint EFI partition.






share|improve this answer













So the direct answer is (well, should be) to set the 'Hidden' and 'Do not automount' flags on the partition using gdisk or a similar tool.




  1. Run gdisk /dev/sda (if that's your disk)

  2. In main menu, use p to see the partition list

  3. In main menu, use x to enter the expert menu

  4. In expert menu, use a to change attributes, and enter your partition's number

  5. In the attribute list, enable "62" (hidden) and "63" (do not automount) attributes

  6. In expert menu, use w to write changes and exit.


And the indirect answer is you don't need the partition. One disk only needs a single EFI system partition, and multiple operating systems can share it.




  1. Mount the Windows EFI partition somewhere temporary, e.g. /mnt/winefi;

  2. Move the Mint EFI files to the Windows EFI partition (retaining the same folders etc.)

  3. If Mint uses GRUB2, run grub-install --target=x86_64-efi --efi-directory=/mnt/winefi;

  4. Reboot and see if it worked. If it did, delete the now-empty Mint EFI partition.







share|improve this answer












share|improve this answer



share|improve this answer










answered Feb 14 at 12:42









grawitygrawity

242k37510567




242k37510567













  • Thanks once again, I like the first way better, because a Windows update might overwrite the EFI partition.

    – Moytaba
    Feb 14 at 12:54






  • 1





    It never does. In the design of EFI (which Microsoft participates in), the whole reason of having a partition is that the OS wouldn't need to overwrite everything; it'd just have its own EFI<vendor> subfolder.

    – grawity
    Feb 14 at 13:31



















  • Thanks once again, I like the first way better, because a Windows update might overwrite the EFI partition.

    – Moytaba
    Feb 14 at 12:54






  • 1





    It never does. In the design of EFI (which Microsoft participates in), the whole reason of having a partition is that the OS wouldn't need to overwrite everything; it'd just have its own EFI<vendor> subfolder.

    – grawity
    Feb 14 at 13:31

















Thanks once again, I like the first way better, because a Windows update might overwrite the EFI partition.

– Moytaba
Feb 14 at 12:54





Thanks once again, I like the first way better, because a Windows update might overwrite the EFI partition.

– Moytaba
Feb 14 at 12:54




1




1





It never does. In the design of EFI (which Microsoft participates in), the whole reason of having a partition is that the OS wouldn't need to overwrite everything; it'd just have its own EFI<vendor> subfolder.

– grawity
Feb 14 at 13:31





It never does. In the design of EFI (which Microsoft participates in), the whole reason of having a partition is that the OS wouldn't need to overwrite everything; it'd just have its own EFI<vendor> subfolder.

– grawity
Feb 14 at 13:31


















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%2f1405667%2fhow-to-hide-the-small-fat32-drive-that-is-for-linux-uefi-bootloader-from-window%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

Mouse cursor on multiple screens with different PPI

Agildo Ribeiro

Sometime when accessing a menu: “Ubuntu 16.04 has experienced an internal error”