Open cederom opened 2 years ago
I believe what you wanted to express is:
Can additional hardware interfaces be seen by Clover in order for storage devices to be booted from, and which method to use to connect it with Clover or the underlying BIOS?
e.g. you need NVME to be found over PCI-E someone else want discrete USB 3.0 to be "seen" so that the devices connected to it be bootable from, same as NVME over PCI-E.
I got the same wish, on an older machine where even USB3.0 (Renesas/Nec) can not be used to boot storage devices natively from BIOS due to the lazy /inprecise implementation of the Laptop/BIOS Manufacturer
More precisely, the solution exists, and I believe it is over additional "drivers" in UEFI form
Unless you feel like a BIOS hacker, and find a way to hack it into integrating hardware support into it and flashing it back into the machine (some ppl like hard challenges). In that case, better have BIOS chip direct flash tools, and a screwdriver to disassemble the machine to access it. Hope it helps
I have upgraded motherboard from ASUS M5A97 R2.0 to ASUS Sabertooh 990FX R2.0 and the new motherboard already has the NVM support in BIOS so I can boot from drive directly now :-)
Thanks @succeedmr123, this seems more tricky. I know the distinction between controller (PCI-E card) and device (disk). There are two possible scenarios:
I am not sure if PCI-E controller card (may provide UEFI firmware) is the same as external USB device (uses onboard USB controller that already is the PCI-E card itself). If both are possible then we have perfect situation (we talk about device firmware in that case). But PCI controller may be treated different than is child devices (i.e. USB card or disk). BIOS UEFI may allow firmware boot for a card but not for a device. No clue yet on this subject :-)
This way we may leverage UEFI standard to boot from a controller/device that is unknown to BIOS, either having Clover directly as the hardware firmware, or some glue that would boot off the unknown hardware and then launch Clover from a partition.
In your case, as mentioned in my first post, you probably need to boot off the onboard SATA/IDE in the first place, load bootloader, load kernel, and mount /
from external USB drive. That external drive may not be visible to BIOS but it will be visible to OS Kernel. But you need to load that Bootloader and Kernel from a BIOS bootable device. This works for me. Also I know people can boot Bootloader and Kernel from USB then mount /
from a controller, but their BIOS allows USB boot. You may even use a CD/DVD drive to make that Bootloader + Kernel boot if you do not want to use HDD and you may be sure that it will not be modified. You may use CD-RW/DVD-RW for testing in the first place then burn immutable CD/DVD bootable disk when all works as expected.
Yes I have some experience in BIOS hacking and necessary hardware like (de)soldering stuff and memory programmer in case something goes wrong, also can write utilities when necessary, so no problem here :-)
I have read your OP and to your final question (Question: is it possible to flash Clover EFI Bootloader….), I do not have an answer.
However, if your goal is to install an operating system on your NVMe SSD (not visible from your BIOS/Motherboard) and then boot from it, why don’t you just install Clover on a USB drive, and then install the OS on your NVMe ?
This will allow you to boot from your NVMe SSD through Clover, and it is why Clover was created !
And you won’t need to “hack” your BIOS, which could be a risky operation...
This is precisely what I recently did (Windows and Linux) and it works fine. See my post here
Yes I have it working like this already :-) Boot from onboard SATA/USB then use /
from NVM and it works. After upgrading motherboard to one that already has NVM support in BIOS even less problem because I can now boot directly from the NVM :-)
The question is more Research / Education / Experiment to learn how UEFI Firmware and NVM Controller Firmware and NVM Disk Firmware works :-)
More general question would sound: would that be possible to build Clover EFI Boot as UEFI Firmware that could boot directly from any PCI-E device :-)
This interesting project https://github.com/linux-nvme/nvme-cli allows to play with Firmwares.. no BIOS modification even necessary :-)
Hello world :-)
/
running from NVM SSD Disk. Booting with UEFI, CSM disabled. Bootloader and Kernel is loaded from onboard SATA Disk that then mounts/
from the NVM.Question: is it possible to flash Clover EFI Bootloader into the NVM Controller or NVM SSD Disk as some sort of firmware that would allow booting directly from the NVM on a moterboard that does not see the controller and cannot on its own set the NVM as the boot device? :-)