Jump to content

Help updating Clover to 2671


jamiethemorris
 Share

5 posts in this topic

Recommended Posts

Hi, I've been using Clover r2298 on my Z68 build for a while now, and it's been working flawlessly. I can't get r2671 to work though. Basically, what happens is that if I try to install to the EFI partition, the installation fails... So instead I just installed it to the root of the hard drive (this is a fusion drive which might be part of the problem), and replaced the /EFI/BOOT and EFI/CLOVER folders on my EFI partition with the new one, and copied my config.plist, DSDT, SSDT, and kexts over. It actually boots into Clover just fine, but it only shows my Linux drive with a GRUB logo on it (on 2298 it didn't show my Linux drive at all). It doesn't recognize my Fusion drive or my clone (which is just a normal HDD) I have the VBoxHfs-64 driver and everything so I don't know why it doesn't recognize my drives. I've also tried installing it onto a thumb drive and it does the same thing, it only sees GRUB. 

 

Any suggestions? my config.plist is the correct structure and everything as far as I can tell, it worked fine with r2298 and Clover Configurator doesn't seem to have an issue with it.

 

EDIT: Attached my config.plist.

config.plist.zip

Link to comment
Share on other sites

I figured it out. I was previously able to hide the EFI partition by doing this: 

<key>Hide</key>
		<array>
			<string>EFI</string>
		</array>

But in the current version that hides all EFI-bootable drives. I remove that from my config and added this:

<key>Entries</key>
			<array>
				<dict>
					<key>FullTitle</key>
					<string>UEFI Internal</string>
					<key>Hidden</key>
					<false/>
					<key>Disabled</key>
					<true/>
					<key>Type</key>
					<string>Other</string>
				</dict>

So now it still hides the EFI partition but shows my OS X drives.

  • Like 1
Link to comment
Share on other sites

  • 3 years later...

Does clover support qemu/ovmf? Since OVMF change 2ac1730bf2a51d6d0483347a0218e1768d6d7992 regarding setting page table as read only clover doesn't work. There is a panic in OsxAptioFix (both 1 and 2) Drv

I lost an interest to QEMU+OVMF. I use QEMU+SeaBios and it works fine.

If someone wants OVMF welcome to be developer!

Link to comment
Share on other sites

QEMU and OVMF works fine, you just need to make sure you don't use a prebuilt OVMF firmware. Get the EDK2 and build OVMF, and you will get the two firmware volumes, one for the read-only stuff and one for the NVRAM. The prebuilt versions available were built with a version of OVMF that has a bug in several protocols that cause hangs. I can't remember what revision this is, it's within the last couple but it works and I made some corrections. It has both the full firmware OVMF.fd that would need to be read-write and the split firmware OVMF_CODE.fd which is read-only and OVMF_VARS.fd which is read-write. On another note, what do you mean setting the page table to read only? That is 100% going to crash any machine, not even a virtual one, the page table keeps track of how virtual memory addresses are translated to physical memory addresses, it's basically one of the most important features of modern CPUs because it allows memory to be loaded anywhere physically but still be contiguous to the executing code.

 

EDIT: Here is how I run QEMU with this, change the paths as needed, and -m 4G means 4GB of RAM:

qemu-system-x86_64 -m 4G -boot order=dc,menu=on -drive if=pflash,format=raw,readonly,file="OVMF_CODE.fd" -drive if=pflash,format=raw,file="OVMF_VARS.fd" -drive media=cdrom,file=PATH_TO_ISO -drive media=disk,format=raw,file=PATH_TO_VIRTUAL_DISK

EDIT2: The firmware is 2.60, and is built from around 12/7/2017. I use it every time I test clover: virtualbox, qemu, then real machines.

EDIT3: Just looked at the commit you're referring to and this firmware is built from like ten or more days after that commit and works perfectly. Also that commit is to prevent other EFI executables from modifying the page table to prevent page faults....

OVMF.zip

Link to comment
Share on other sites

 Share

×
×
  • Create New...