I have two seperate Linux distro in two SSD.
- Zorin (/dev/sda)
- Linux Mint (/dev/sde)
First I installed Zorin then Linux Mint.
I ran bootinfoscript. Here is the gist of the result.
Boot Info Script 0.61 [1 April 2012] ============================= Boot Info Summary: =============================== => No boot loader is installed in the MBR of /dev/sda. => No boot loader is installed in the MBR of /dev/sdb. => No boot loader is installed in the MBR of /dev/sdc. => No boot loader is installed in the MBR of /dev/sdd. => No boot loader is installed in the MBR of /dev/sde. sda1: __________________________________________________________________________ File system: vfat Boot sector type: FAT32 Boot sector info: No errors found in the Boot Parameter Block. Operating System: Boot files: /efi/BOOT/fbx64.efi /efi/BOOT/mmx64.efi /efi/memtest86/BOOTX64.efi /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi sda2: __________________________________________________________________________ File system: ext4 Boot sector type: - Boot sector info: Operating System: Zorin OS 16.1 Boot files: /boot/grub/grub.cfg /etc/fstab sde1: __________________________________________________________________________ File system: vfat Boot sector type: FAT32 Boot sector info: No errors found in the Boot Parameter Block. Operating System: Boot files: sde2: __________________________________________________________________________ File system: ext4 Boot sector type: - Boot sector info: Operating System: Linux Mint 20.3 Una Boot files: /boot/grub/grub.cfg /etc/fstab I am not sure which grub am I using. How can I know which grub I am using (the grub menu that shows up during boot)? How can I use grub from a different SSD. I want to use grub in /dev/sda (This is because I boot from this drive and I also want to customize the grub menu). How can I do that?
Update 1:
In Linux Mint efibootmgr command shows:
$ efibootmgr BootCurrent: 0004 Timeout: 1 seconds BootOrder: 0004,0001,0002,0003 Boot0001* UEFI:CD/DVD Drive Boot0002* UEFI:Removable Device Boot0003* UEFI:Network Device Boot0004* ubuntu I think this is the boot order maintained in my system. When I used grub-customizer in Linux Mint (in my case Boot0004* ubuntu), it changes the boot menu.
Adding the requested command outputs.
$ sudo efibootmgr -v [sudo] password for ismail: BootCurrent: 0004 Timeout: 1 seconds BootOrder: 0004,0001,0002,0003 Boot0001* UEFI:CD/DVD Drive BBS(129,,0x0) Boot0002* UEFI:Removable Device BBS(130,,0x0) Boot0003* UEFI:Network Device BBS(131,,0x0) Boot0004* ubuntu HD(1,GPT,264abb67-bc63-46f7-8106-01f8aa3c65d2,0x800,0x100000)/File(\EFI\UBUNTU\SHIMX64.EFI) $ lsblk -o +partuuid NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT PARTUUID sda 8:0 0 232.9G 0 disk ├─sda1 8:1 0 512M 0 part /boot/efi 264abb67-bc63-46f7-8106-01f8aa3c65d2 └─sda2 8:2 0 232.4G 0 part 1aa55c42-f8ba-4af5-95f1-719f0ea3f6fe sdb 8:16 0 3.7T 0 disk └─sdb1 8:17 0 3.7T 0 part 97963414-695e-4e8d-a872-752afe27fcf1 sdc 8:32 0 5.5T 0 disk └─sdc1 8:33 0 5.5T 0 part 27e20d5e-a539-407f-b9d7-0928a78e8706 sdd 8:48 0 3.7T 0 disk └─sdd1 8:49 0 3.7T 0 part 13e6dcd3-161a-4c72-a49f-431b03c9f595 sde 8:64 0 223.6G 0 disk ├─sde1 8:65 0 512M 0 part d641c8e7-d1ed-4fb0-97d1-3d256f343bad └─sde2 8:66 0 223.1G 0 part / 9fa068c4-b486-4044-810d-9d41a978c361