You are not logged in.

#1 2022-05-02 15:28:03

fumax
Member
Registered: 2022-03-05
Posts: 6

Creating hybrid boot for both mbr and gpt systems?

I have installed Arch on my external SSD working in UEFI mode. But I am not getting the very advantage of portability because of many systems running on legacy mode and hence not supporting my UEFI based Linux.
So is there a way where I can create a hybrid boot, that can work on any system?

A bit simple language will be highly appreciated.

gparted-partitions.png

Last edited by fumax (2022-05-02 15:29:09)

Offline

#2 2022-05-02 15:41:25

schard
Member
From: Hannover
Registered: 2016-05-06
Posts: 1,356
Website

Re: Creating hybrid boot for both mbr and gpt systems?

Yes. You can, in addition to the EFI boot setup you already have, install an additional boot loader into the MBR. If you use GPT, beware that not all legacy boot loaders support this and that e.g. GRUB needs a separate bootloader (EF02) partition for that.


Солідарність з Україною

Offline

#3 2022-05-03 08:26:29

fumax
Member
Registered: 2022-03-05
Posts: 6

Re: Creating hybrid boot for both mbr and gpt systems?

So i created an unformatted partition with Gparted. Set the flag  to grub_bios.
Ran:

grub-install --target=i386-pc /dev/sdb

grub-mkconfig -o /boot/grub/grub.cfg

Now the new partition that i created has "grub2core.img" written on it in gparted.

Is there something else to be done or something I am missing? Because i tried it in a legacy system and it is not getting detected.

Offline

#4 2022-05-03 09:36:19

schard
Member
From: Hannover
Registered: 2016-05-06
Posts: 1,356
Website

Re: Creating hybrid boot for both mbr and gpt systems?

Did you set the boot flag on the respective device?


Солідарність з Україною

Offline

Board footer

Powered by FluxBB