#[Solved] Hybrid System (Bios and UEFI)
42 messages · Page 1 of 1 (latest)
Just installing grub twice, once per mode, should work on most systems.
You can create a BIOS boot partition where GRUB is able to be installed for BIOS on GPT
or just use MBR
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.
You need an unformated partition with the type of BIOS boot
^
https://wiki.archlinux.org/title/GRUB#GUID_Partition_Table_(GPT)_specific_instructions
Follow these instructions
I have 2 partitions.
/dev/sdb1 for efi
/dev/sdb2 for root
What can I do?
Shrink one by 1MB and make an unformatted partition with that space
I never shrunk a partition before. Can you help?
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.
What about shrinking /dev/sdb1 ?
As I said here, that would be fine.
thanks
ari43 received a thank you cookie!
Just make sure when you install grub you specify the right partition.
I already have around 1Mib unallocated
Then use that
?
No file system
Have to create a new partition.
Yes, create a new partition without a file system
A partition can't have a length of 0 sectors.
Then you’ll need to free space from one of your other partitions. That 1MiB doesn’t really exist.
I gtg
Formatted it with cleared ?
The new part? Yea, that sounds right
I really gtg now
Now I can run grub-install --target=i386-pc --recheck /dev/sdb right ?
It worked.
[Solved] Hybrid System (Bios and UEFI)
... solved
#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