I tested Nico's method for you with a Debian bios install, but it might be different for the Manjaro live usb.
To stall grub from booting, you can press the left arrow key repeatedly, assuming that doesn't mess with tianocore loading first. Then you press e to edit the boot parameters. For my debian/grub2 install the kernel line was 14 lines down, so you just press the down 14 times. Then press end to go to the end of the line and add a space and iomem=relaxed and press ctrl+x or F10 to boot.
As for rescue systems with flashrom neither grml (debian based rescue usb) or the old gentoo based systemrescuecd worked for me without adding iomem=relaxed. Most live systems seem to use a udf/iso setup making it hard to just edit the kernel command line directly. The old systemrescuecd actually uses a fat formatted partition and would let you edit it, but it is more complicated to set up then the usual livecds.
You could also probably just chroot into your primary manjaro install from your live usb and then install the efi version of grub2 and use your extra usb as the boot drive, possibly copying over your /boot directory as well.
Of course, just installing a full system to the extra usb with a ufi bootloader like you said you already did should have worked as well. Does tianocore use/respect using boot/bootx64.efi? If so, you could copy grubx64.efi which should be on your efi partition, probably in a directory called manjaro, into a new directory called boot and rename it to bootx64.efi. See https://wiki.gentoo.org/wiki/GRUB2#Alternative:_using_the_default_UEFI_firmw... or https://wiki.archlinux.org/index.php/GRUB#Default/fallback_boot_path for more information on that.
That seems like a lot of rambling. Hopefully some of it helps you though.
Branden
On Thu, Oct 31, 2019 at 8:16 PM Branden Waldner scruffy99@gmail.com wrote:
I tested Nico's method for you with a Debian bios install, but it might be different for the Manjaro live usb.
To stall grub from booting, you can press the left arrow key repeatedly, assuming that doesn't mess with tianocore loading first.
any key press other than enter will likely cause Tianocore to enter the UEFI settings menu
Then you press e to edit the boot parameters. For my debian/grub2 install the kernel line was 14 lines down, so you just press the down 14 times. Then press end to go to the end of the line and add a space and iomem=relaxed and press ctrl+x or F10 to boot.
As for rescue systems with flashrom neither grml (debian based rescue usb) or the old gentoo based systemrescuecd worked for me without adding iomem=relaxed. Most live systems seem to use a udf/iso setup making it hard to just edit the kernel command line directly. The old systemrescuecd actually uses a fat formatted partition and would let you edit it, but it is more complicated to set up then the usual livecds.
You could also probably just chroot into your primary manjaro install from your live usb and then install the efi version of grub2 and use your extra usb as the boot drive, possibly copying over your /boot directory as well.
Of course, just installing a full system to the extra usb with a ufi bootloader like you said you already did should have worked as well. Does tianocore use/respect using boot/bootx64.efi?
yes, it by default will boot /EFI/BOOT/BOOTX64.EFI (case sensitive on ext filesystems)
If so, you could copy grubx64.efi which should be on your efi partition, probably in a directory called manjaro, into a new directory called boot and rename it to bootx64.efi. See
https://wiki.gentoo.org/wiki/GRUB2#Alternative:_using_the_default_UEFI_firmw... or https://wiki.archlinux.org/index.php/GRUB#Default/fallback_boot_path for more information on that.
That seems like a lot of rambling. Hopefully some of it helps you though.
Branden _______________________________________________ coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-leave@coreboot.org
Thankyou very much! I followed Nico's method and it works. I'm wondering does coreboot support "hybrid boot" mode like some motherboard does? Basically it will try to boot UEFI drive if not found, it will fallback to boot traditional drives.
On Fri, Nov 1, 2019, 2:32 PM dalao@tutanota.com wrote:
Thankyou very much! I followed Nico's method and it works. I'm wondering does coreboot support "hybrid boot" mode like some motherboard does?
that's not a function of coreboot, but of the payload (Tianocore). It should be possible to. build Tianocore with SeaBIOS as a CSM, so it can fall back to legacy booting, but I'm not aware of anyone having done it successfully recently. So effectively the answer is no
Basically it will try to boot UEFI drive if not found, it will fallback to
boot traditional drives. _______________________________________________ coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-leave@coreboot.org
FWIW I'm currently running a Grub2 payload, which starts either Tianocore or SeaBIOS from CBFS.
Not a CSM and I think my coreboot has ACPI issues so I haven't actually been able to boot Windows via SeaBIOS, but it does start and run Linuxes just fine.
R
On Sat, Nov 2, 2019, 00:54 Matt DeVillier matt.devillier@gmail.com wrote:
On Fri, Nov 1, 2019, 2:32 PM dalao@tutanota.com wrote:
Thankyou very much! I followed Nico's method and it works. I'm wondering does coreboot support "hybrid boot" mode like some motherboard does?
that's not a function of coreboot, but of the payload (Tianocore). It should be possible to. build Tianocore with SeaBIOS as a CSM, so it can fall back to legacy booting, but I'm not aware of anyone having done it successfully recently. So effectively the answer is no
Basically it will try to boot UEFI drive if not found, it will fallback to
boot traditional drives. _______________________________________________ coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-leave@coreboot.org
coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-leave@coreboot.org
If your board is supported by flashrom internal flashing mode, you can "recover flash" it internally if could boot to Linux. Any Linux LiveUSB with iomem=relaxed added to Linux kernel parameters at GRUB ("e" button to temporarily edit this entry) would be sufficient: git clone a flashrom repository and build it using the instructions from a wiki. Or, even better, create a custom LiveUSB with it already preinstalled. However, if not supported by a flashrom internal flashing mode, then it's not currently possible.
On Mon, Nov 4, 2019 at 3:16 PM Rafael Send flyingfishfinger@gmail.com wrote:
FWIW I'm currently running a Grub2 payload, which starts either Tianocore or SeaBIOS from CBFS.
Not a CSM and I think my coreboot has ACPI issues so I haven't actually been able to boot Windows via SeaBIOS, but it does start and run Linuxes just fine.
R
On Sat, Nov 2, 2019, 00:54 Matt DeVillier matt.devillier@gmail.com wrote:
On Fri, Nov 1, 2019, 2:32 PM dalao@tutanota.com wrote:
Thankyou very much! I followed Nico's method and it works. I'm wondering does coreboot support "hybrid boot" mode like some motherboard does?
that's not a function of coreboot, but of the payload (Tianocore). It should be possible to. build Tianocore with SeaBIOS as a CSM, so it can fall back to legacy booting, but I'm not aware of anyone having done it successfully recently. So effectively the answer is no
Basically it will try to boot UEFI drive if not found, it will fallback to boot traditional drives. _______________________________________________ coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-leave@coreboot.org
coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-leave@coreboot.org
coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-leave@coreboot.org