Score:0

How to dual boot using two EFI partition in same disk?

cn flag
~$ lsblk -f
NAME   FSTYPE FSVER LABEL       UUID                                 FSAVAIL FSUSE% MOUNTPOINT
sda                                                                                 
├─sda1 vfat   FAT32             7A6E-FD1D                             565.3M    29% /boot/efi
├─sda2 vfat   FAT32             5E0C-C0B9                                           
├─sda3                                                                              
├─sda4 ntfs                     BC5A0E9F5A0E5694                                    
├─sda5 ntfs                     620E37E50E37B0C1                                    
├─sda6 ntfs         router_data 4416017316016770                      145.5G    48% /home/android/Documents/4416017316016770
└─sda7 ext4   1.0               45f60a44-75b5-4447-9518-f4286e68c346   76.6G    12% /
sr0  
  • /sda1 = EFI (800 MB) used to load Linux.
  • /sda2 = EFI (100 MB) made by Windows 10.
  • /sda7 = root directory.

I used systemd-boot to boot my Linux. How can I show a boot entry of Windows in the Linux boot menu?

Currently I press F12 and select WIndows Boot Manager to load Windows 10.

oldfred avatar
cn flag
Most systems only support one ESP per drive. You can have two FAT32 partitions and one configured as ESP, and may be able to then have second FAT32 as ESP, removing ESP flag from first and have it still work at least for a while. Updates that include boot files may then not work.
user10489 avatar
in flag
I would recommend merging the contents of the two ESPs and deleting one.
mook765 avatar
cn flag
Why would one do this? The multiple OS can share a single ESP as long as it is big enough to hold all bootloaders. BTW, 800 MB seems to be pretty huge. I have a triple boot system, my ESP is 300 MB. All together I see 6 instances of grub installed in the ESP and they sum up to about 20 MB.
Score:0
co flag

Install and use GRUB Customizer, you can install from the Ubuntu Software Center...

BeastOfCaerbannog avatar
ca flag
Can you elaborate a bit? How should GRUB be set up to achieve what the OP wants?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.