Bootloader to use #1
Replies: 14 comments 6 replies
-
Resources: https://unix.stackexchange.com/questions/360834/kexec-to-grub-or-to-syslinux-or-windows |
Beta Was this translation helpful? Give feedback.
-
Any bootloader that can be executed via MBR is theoretically easy to convert, convert the executable from MBR to ELF/MZ or load into memory (including BIOS routines) and jump to it. Ventoy is able to do a lot! and plugins are available. |
Beta Was this translation helpful? Give feedback.
-
I do not currenty know what the development stage is for Ventoy, but u-boot//depthcharge/vboot is not (yet) supported yet I think. Every bootloader has its pros and cons. |
Beta Was this translation helpful? Give feedback.
-
The boot sector / MBR is read by the BIOS, (Non-UEFI), get it's name and other info like FAT, etc and pulls x86 code 'bootstrap' executable and runs it, often running a certain file or reading some sectors and executing. copying this code and having the bios calls available, pasting to the right address and executing.. or am I thinking to simplistic?? |
Beta Was this translation helpful? Give feedback.
-
I think I'm going to use this. You can |
Beta Was this translation helpful? Give feedback.
-
Another idea. I don't know if it is possible.. Return from dev to normal. |
Beta Was this translation helpful? Give feedback.
-
Nobody has ever done this before though. When you disable dev mode, you are forced to use a recovery image that needs some type of signing by Google. |
Beta Was this translation helpful? Give feedback.
-
Actually, I was wrong. Recovery images can be used to load custom software. See: https://www.chromium.org/chromium-os/chromiumos-design-docs/recovery-mode/ |
Beta Was this translation helpful? Give feedback.
-
Also see: https://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices/custom-firmware/ In developer mode, the RW firmware doesn't verify that the kernel is signed by Google, just that it looks like a correctly signed kernel image. It doesn't matter who signed it, bla blabla Does it also count for normal mode...??? Just thinking out of the box. Also .... |
Beta Was this translation helpful? Give feedback.
-
I have not checked whether is was signed by google or me. Have you? |
Beta Was this translation helpful? Give feedback.
-
Aha! I’ve got it.
This should let us boot GRUB2 multi boot (core.img) files and we can now boot GRUB through Depthcharge (provided you recompile Depthcharge). |
Beta Was this translation helpful? Give feedback.
-
Also an Idea is to use mmcblk0p12 What I meant with signed , for kernel it is clear, maybe only small kerrnel runner initiated by /sbin/init or modified /sbin/init |
Beta Was this translation helpful? Give feedback.
-
Why not use --bootloader /lib64/bootstub/bootstub.efi with vbutil_kernel... |
Beta Was this translation helpful? Give feedback.
-
This is a kernel as well as bootloadehr : https://www.plop.at/en/plopkexec/intro.html |
Beta Was this translation helpful? Give feedback.
-
Current Options:
bootx64.efi
, which is a PE EFI executable that cannot bekexec
ed)Beta Was this translation helpful? Give feedback.
All reactions