#[Solved] Hybrid System (Bios and UEFI)

42 messages · Page 1 of 1 (latest)

drifting haven
#

I have a bootable Arch USB with EFI. How can I make it boot in both BIOS and UEFI systems?

#

Hybrid System (Bios and UEFI)

storm apex
#

Just installing grub twice, once per mode, should work on most systems.

dawn socket
#

You can create a BIOS boot partition where GRUB is able to be installed for BIOS on GPT

#

or just use MBR

storm apex
#

Btw hybrid MBR usually isn’t required. GPT is probably fine.

dawn socket
#

this does have some information as well

drifting haven
# storm apex Btw hybrid MBR usually isn’t required. GPT is probably fine.

Tried it:-

Installing for i386-pc platform.
grub2-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
grub2-install: warning: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and their use is discouraged..
grub2-install: error: will not proceed with blocklists.
dawn socket
#

You need an unformated partition with the type of BIOS boot

storm apex
#

^

drifting haven
#

I have 2 partitions.
/dev/sdb1 for efi
/dev/sdb2 for root

drifting haven
storm apex
#

Shrink one by 1MB and make an unformatted partition with that space

drifting haven
storm apex
#

Use gparted. It makes it pretty intuitive. Right click sdb2, Move/Resize, and set free space following to 1MiB. Then make a new partition in the free space. Apply changes when you’re done. Install grub to that partition (likely sdb3).

Technically there is a risk of data loss, so back anything important up first.

#

You could add it anywhere, but at the end of the drive like I instructed is probably the easiest and fastest.

drifting haven
storm apex
drifting haven
crude stagBOT
#

ari43 received a thank you cookie!

storm apex
#

Just make sure when you install grub you specify the right partition.

drifting haven
storm apex
#

Then use that

drifting haven
storm apex
#

No file system

drifting haven
storm apex
#

Yes, create a new partition without a file system

drifting haven
#

A partition can't have a length of 0 sectors.

storm apex
#

Then you’ll need to free space from one of your other partitions. That 1MiB doesn’t really exist.

#

I gtg

drifting haven
storm apex
#

I really gtg now

drifting haven
#

Now I can run grub-install --target=i386-pc --recheck /dev/sdb right ?

#

It worked.

#

[Solved] Hybrid System (Bios and UEFI)

#

... solved

split gateBOT
#

#9742 📣 If there is nothing else that we can do for you, please close this thread by adding "[SOLVED]" to the title.

  • You can do this on desktop by clicking the three dots on the top right of the page, and pressing "Edit Post".
  • You can also do this on Android / iOS by long tapping your post in the text channel list, and tapping "Edit Post".

Your title should be like so: https://cdn.discordapp.com/attachments/503224329191030787/1039841700417384498/image.png
Thank you