Boot Code grub2 / Barry's news

Moderator: BarryK

Post Reply
Berto
Posts: 127
Joined: Wed Feb 02, 2022 12:42 am
Has thanked: 11 times
Been thanked: 12 times

Boot Code grub2 / Barry's news

Post by Berto »

@ Barry

Concerning your question in your news post:
Yes, I think this grub2 code will work, but it's looking unnecessary complicated.

I never use UEFI (coz with it turned on I never managed to boot android x86), but I think "insmod part_gpt" and "insmod ext2" are superfluous, coz grub2 knows already from 10_custom or 20_custom, whatever (I'm on CP right now, cannot look it up directly), that you have GPT partitioning and if you don't use ext2, you don't need that "insmod ext2" also.

Maybe you must address the root partition with UUID when using UEFI, but for me in BIOS mode it's just like I posted before:

(You can add boot parameters in the kernel line too - it works)

Attachments
Resizer_16554981358531.jpg
Resizer_16554981358531.jpg (88.74 KiB) Viewed 397 times

Regards,

Berto

ASUS Netbook, Intel Atom N450, Nvidia / ASUS Notebook Pro 78S, Core i7, Nvidia

User avatar
BarryK
Posts: 2694
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 738 times

Re: Boot Code grub2 / Barry's news

Post by BarryK »

Berto is referring to my blog post, where I gave some grub2 code:

https://bkhome.org/news/202206/simple-f ... e-fix.html

Post Reply

Return to “EasyOS”