Coder Social home page Coder Social logo

Comments (37)

yegormi avatar yegormi commented on August 30, 2024 3

I can confirm that the solution is working.
setting FixupAppleEfiImages to True fixes following error

from bugtracker.

mikebeaton avatar mikebeaton commented on August 30, 2024 2

Please enable FixupAppleEfiImages quirk in your config.plist, this is required to boot older Mac OS X images in current OpenCore with new secure image loader.

I have tested and replicated, and this is the issue in at least some - hopefully/probably all - of the reports above.

from bugtracker.

chris1111 avatar chris1111 commented on August 30, 2024 2

:-/ You need to enable debug logging. See Target config.plist setting in Configuration.pdf. Hint, try 67.

It is at 67 see my config.plist Now I try OpenCore-0.9.9-DEBUG/ HfsPlus.efi from OcBinaryData Let see wait 2 minutes please

Ok idk you need to send a debug log with debugging enabled using debug OC binaries, if your debug log is empty (or only has Apple debug lines, but no OC debug lines) you need to fix that - thanks

ok here DEBUG 3
OpenCore-1.0.0-DEBUG/ HfsPlus.efi from OcBinaryData
DEBUG-3.zip
Red screen again

from bugtracker.

mikebeaton avatar mikebeaton commented on August 30, 2024 2

@chris1111 - Okay - got it - HfsPlus is Haswell+, so HfsPlusLegacy is correct, so no problem here.

from bugtracker.

chris1111 avatar chris1111 commented on August 30, 2024 2

@chris1111 - Okay - got it - HfsPlus is Haswell+, so HfsPlusLegacy is correct, so no problem here.

You're absolutely right

No issue OC 1.0.0 HfsPlus booting my haswell UEFI rigs on Install macOS Sonoma Beta 14.5

27152849

from bugtracker.

KenDxD avatar KenDxD commented on August 30, 2024 1

This is user's fault, it's just an incorrect setup of OpenCore based on the logs you upload. You enabled some Quirks that doesn't work on older BIOS or Non-UEFI system

Would You be so kind to point quirks/settings that produce "Volume Corrupt"?

  • Use any GNU/Linux distro or existing macOS for creating bootable drive (FOR NON-UEFI ONLY, Windows doesn't works well). Format the Flash Drive on ExFat MBR then use the tool on Opencorepkg OpenCore/Utilities/LegacyBoot/BootInstall_(YourCPUArch). Then put your EFI on the Flash Drive that you select on BootInstall. (Use this tool again, target the Boot Drive before moving the EFI on it. Just like what you did on Flash Drive before)
  • Always use the latest HFSPlusLegacy

Config Plist

  • Set [Booter>Quirks>AllowRelocationBlock] and [Booter>Quirks>DevirtualiseMmio] to true
  • Set [Booter>Quirks>AvoidRuntimeDefrag], [Booter>Quirks>ProvideCustomSlide], [Booter>Quirks>RebuildAppleMemoryMap] to false

Tested on my 2 old Non-UEFI PC and can use the latest version OpenCore v0.9.9

  • HP Pavilion (First Gen. Core i5-760)
  • Lenovo ThinkCentre M90 (First Gen. Core i3-540)

from bugtracker.

vit9696 avatar vit9696 commented on August 30, 2024 1

Volume corrupt means ESP FAT32 partition filesystem is likely corrupt. Since Clover uses a rather old FAT32 driver (also known to be used in APTIO IV UEFI BIOSes and earlier), which is known to corrupt FAT32 filesystems on write, it is possible that HfsPlusLegacy.efi driver was not properly written (or rather the whole filesystem does not guarantee anything can be properly written anymore).

  • Please consider reformatting your ESP and rebuilding the setup.
  • Make sure to use OpenDuet instead of Clover's Duet, this is where the FAT32 driver sits.
  • Avoid running Clover's Duet.

We can consider reopening ticket if the issue manifests again, but the mentioned cause is quite likely. Please let us know if the issue persists.

from bugtracker.

speedie1337 avatar speedie1337 commented on August 30, 2024 1

Sure, here's one from 10.4.10. boot.efi.tar.gz

from bugtracker.

mikebeaton avatar mikebeaton commented on August 30, 2024 1

I can replicate this actually :-/ - thanks for the report, afaik it is expected that the older versions of HfsPlus.efi fail to load with Volume Corrupt, but not expected that the newer version crashes on your machine (and on Ovmf qemu+duet ...)

from bugtracker.

KenDxD avatar KenDxD commented on August 30, 2024

This is user's fault, it's just an incorrect setup of OpenCore based on the logs you upload. You enabled some Quirks that doesn't work on older BIOS or Non-UEFI system

from bugtracker.

nms42 avatar nms42 commented on August 30, 2024

This is user's fault, it's just an incorrect setup of OpenCore based on the logs you upload. You enabled some Quirks that doesn't work on older BIOS or Non-UEFI system

Would You be so kind to point quirks/settings that produce "Volume Corrupt"?

from bugtracker.

sambow23 avatar sambow23 commented on August 30, 2024
  • Use any GNU/Linux distro or existing macOS for creating bootable drive (FOR NON-UEFI ONLY, Windows doesn't works well). Format the Flash Drive on ExFat MBR then use the tool on Opencorepkg OpenCore/Utilities/LegacyBoot/BootInstall_(YourCPUArch). Then put your EFI on the Flash Drive that you select on BootInstall. (Use this tool again, target the Boot Drive before moving the EFI on it. Just like what you did on Flash Drive before)
  • Always use the latest HFSPlusLegacy

Config Plist

  • Set [Booter>Quirks>AllowRelocationBlock] and [Booter>Quirks>DevirtualiseMmio] to true
  • Set [Booter>Quirks>AvoidRuntimeDefrag], [Booter>Quirks>ProvideCustomSlide], [Booter>Quirks>RebuildAppleMemoryMap] to false

I went back and made sure to use the Legacy settings in the Desktop Yonah, Conroe and Penryn Guide while also incorporating your settings, and getting the latest HFSPlusLegacy driver but I'm still getting the same error.

EFI.zip
opencore-2024-03-18-154015.txt

from bugtracker.

nms42 avatar nms42 commented on August 30, 2024

This is user's fault, it's just an incorrect setup of OpenCore based on the logs you upload. You enabled some Quirks that doesn't work on older BIOS or Non-UEFI system

Would You be so kind to point quirks/settings that produce "Volume Corrupt"?

* Use any GNU/Linux distro or existing macOS for creating bootable drive (FOR NON-UEFI ONLY, Windows doesn't works well). Format the Flash Drive on ExFat MBR then use the tool on Opencorepkg `OpenCore/Utilities/LegacyBoot/BootInstall_(YourCPUArch)`. Then put your EFI on the Flash Drive that you select on BootInstall. (Use this tool again, target the Boot Drive before moving the EFI on it. Just like what you did on Flash Drive before)

* Always use the latest HFSPlusLegacy

Config Plist

* Set [Booter>Quirks>AllowRelocationBlock] and [Booter>Quirks>DevirtualiseMmio] to `true`

* Set [Booter>Quirks>AvoidRuntimeDefrag], [Booter>Quirks>ProvideCustomSlide], [Booter>Quirks>RebuildAppleMemoryMap] to `false`

Tested on my 2 old Non-UEFI PC and can use the latest version OpenCore v0.9.9

* HP Pavilion (First Gen. Core i5-760)

* Lenovo ThinkCentre M90 (First Gen. Core i3-540)

Well, your recipe does not explain false(?) "volume corruption".

from bugtracker.

KenDxD avatar KenDxD commented on August 30, 2024

This is user's fault, it's just an incorrect setup of OpenCore based on the logs you upload. You enabled some Quirks that doesn't work on older BIOS or Non-UEFI system

Would You be so kind to point quirks/settings that produce "Volume Corrupt"?

* Use any GNU/Linux distro or existing macOS for creating bootable drive (FOR NON-UEFI ONLY, Windows doesn't works well). Format the Flash Drive on ExFat MBR then use the tool on Opencorepkg `OpenCore/Utilities/LegacyBoot/BootInstall_(YourCPUArch)`. Then put your EFI on the Flash Drive that you select on BootInstall. (Use this tool again, target the Boot Drive before moving the EFI on it. Just like what you did on Flash Drive before)

* Always use the latest HFSPlusLegacy

Config Plist

* Set [Booter>Quirks>AllowRelocationBlock] and [Booter>Quirks>DevirtualiseMmio] to `true`

* Set [Booter>Quirks>AvoidRuntimeDefrag], [Booter>Quirks>ProvideCustomSlide], [Booter>Quirks>RebuildAppleMemoryMap] to `false`

Tested on my 2 old Non-UEFI PC and can use the latest version OpenCore v0.9.9

* HP Pavilion (First Gen. Core i5-760)

* Lenovo ThinkCentre M90 (First Gen. Core i3-540)

Well, your recipe does not explain false(?) "volume corruption".

You need to rebuild your EFI from scratch, don't just replace the bootloader and remember Clover is obsolete and don't have the same configuration with OC. I mention that quirks because I thought he/she rebuild his/her EFI but there's some Clover configuration not supported on OC and also use Propertree. If there's volume corruption error, the bootable usb he/she makes is the issue. Use mac or linux to make non-uefi bootable because you windows is not friendly for making non-uefi boot drive, use the tool BootInstall_x64.tool or i32.tool depending on your CPU architecture. The tool is found on Opencorepkg.

from bugtracker.

nms42 avatar nms42 commented on August 30, 2024

You need to rebuild your EFI from scratch, don't just replace the bootloader and remember Clover is obsolete and don't have the same configuration with OC.

In my case there is no CLOVER in sight. I have "Volume Corrupt" with OpenCore only setup. All my volumes where checked on other computers and went clean. So?

from bugtracker.

KenDxD avatar KenDxD commented on August 30, 2024

You need to rebuild your EFI from scratch, don't just replace the bootloader and remember Clover is obsolete and don't have the same configuration with OC.

In my case there is no CLOVER in sight. I have "Volume Corrupt" with OpenCore only setup. All my volumes where checked on other computers and went clean. So?

did you use BootInstall on your USB Stick before moving your EFI and use macrecovery method?
https://dortania.github.io/OpenCore-Install-Guide/installer-guide/mac-install-recovery.html

Use forum for support or join Discord, because this is not Opencore related issue

from bugtracker.

sambow23 avatar sambow23 commented on August 30, 2024

Volume corrupt means ESP FAT32 partition filesystem is likely corrupt. Since Clover uses a rather old FAT32 driver (also known to be used in APTIO IV UEFI BIOSes and earlier), which is known to corrupt FAT32 filesystems on write, it is possible that HfsPlusLegacy.efi driver was not properly written (or rather the whole filesystem does not guarantee anything can be properly written anymore).

  • Please consider reformatting your ESP and rebuilding the setup.
  • Make sure to use OpenDuet instead of Clover's Duet, this is where the FAT32 driver sits.
  • Avoid running Clover's Duet.

We can consider reopening ticket if the issue manifests again, but the mentioned cause is quite likely. Please let us know if the issue persists.

I have remade the EFI with a clean ESP using BootInstall and the issue still persists

from bugtracker.

speedie1337 avatar speedie1337 commented on August 30, 2024

Can confirm I have this issue as well, trying to boot same 10.4.10 in a QEMU/KVM virtual machine with OpenCore 0.9.9. I created a loopback device from a .img and used the BootInstall_X64.tool shell script.

What I did:

  • fallocate -l 256M bootloader.img
  • cfdisk bootloader.img -> gpt -> new -> write -> quit
  • losetup -Pf bootloader.img
  • mkfs.vfat -F 32 /dev/loop0p1
  • ./BootInstall_X64.tool -> loop0 -> loop0p1
  • cd /tmp/5014586a-bb01-4c8e-9e8a-3df74436f338/EFI
  • cp -r ~/myefi/EFI .

10.4.10 image is attached as a separate SATA disk to the virtual machine.

System: Gentoo Linux (Linux 6.6.21-gentoo)
efi.tar.gz
opencore-2024-03-22-144027.txt
tiger-virtual-machine.xml.txt
tree.txt
BootInstallOutput.txt

from bugtracker.

nms42 avatar nms42 commented on August 30, 2024

The problem is the lack of technical info about the volume. I assume APFS volume affected too.

from bugtracker.

speedie1337 avatar speedie1337 commented on August 30, 2024

Reverting to OpenCore 0.8.5 seems to fix it, at least for me. Need to use the older boot images too. I don't know if this is some BIOSes being buggy or something, or if something broke along the way.

from bugtracker.

Zormeister avatar Zormeister commented on August 30, 2024

Up to installing macOS on a Sandy Bridge laptop through the Dortania guide, after having used the 10.6.7 link provided alongside the ASR method I end up getting the same issue using HfsPlusLegacy

HW - Toshiba Satellite C660, Core i3.

Note:
Downgraded to 0.8.5 as the above user did, the volume now boots (using OpenHfsPlus)

from bugtracker.

mikebeaton avatar mikebeaton commented on August 30, 2024

Please upload /System/Library/CoreServices/boot.efi from any Mac OS X versions which are failing in 0.9.9 and working in 0.8.5.

from bugtracker.

uandco avatar uandco commented on August 30, 2024

Confirming FixupAppleEfiImages also fixes this issue when booting Monterey using HfsPlusLegacy.efi

from bugtracker.

chris1111 avatar chris1111 commented on August 30, 2024

Hi @mikebeaton
OpenCore-1.0.0
Confirming FixupAppleEfiImages when booting Sonoma 14.5 using HfsPlusLegacy.efi OK ✅

But verry long boot from USB Install Media of Sonoma 14.5 with OpenHfsPlus.efi
you need wait almost 3, 4 minutes here, see images bellow

IMG_3827

If I try FixupAppleEfiImages with HfsPlus.efi it stop here
IMG_3828

Boot Normal on SSD with FixupAppleEfiImages + HfsPlusLegacy.efi
Also Normal on SSD with FixupAppleEfiImages + OpenHfsPlus.efi
Video

from bugtracker.

mikebeaton avatar mikebeaton commented on August 30, 2024

If I try FixupAppleEfiImages with HfsPlus.efi it stop here

That does not seem right. Please upload full debug log of the boot where this stops, config.plist, and the version of HfsPlus.efi which you are using.

EDIT: First of all, please just confirm you definitely have the current version of HfsPlus.efi from OcBinaryData.

from bugtracker.

chris1111 avatar chris1111 commented on August 30, 2024

If I try FixupAppleEfiImages with HfsPlus.efi it stop here

That does not seem right. Please upload full debug log of the boot where this stops, config.plist, and the version of HfsPlus.efi which you are using.

EDIT: First of all, please just confirm you definitely have the current version of HfsPlus.efi from OcBinaryData.

No Iam using Other one
But the one from OcBinaryData I have this

IMG_3829

I will try to upload full degug log

from bugtracker.

chris1111 avatar chris1111 commented on August 30, 2024

@mikebeaton
here but not big infos
Thanks

DEBUG.zip

EDIT **
Booting USB Install Media drive of macOS Sonoma 14.5 Beta

from bugtracker.

mikebeaton avatar mikebeaton commented on August 30, 2024

@mikebeaton here but not big infos Thanks

No, I need the debug log from a debug install of OpenCore - unless you have unusual customisations (of files included in the release) you don't need to remake the ESP from scratch, but can just cp -r ~/Downloads/OpenCore-0.9.9-DEBUG/X64/EFI /Volumes/ESP (paths modified as needed).

EDIT: Please can you also send the debug log of booting up to the crash with the current HfsPlus.efi from OcBinaryData.

from bugtracker.

chris1111 avatar chris1111 commented on August 30, 2024

@mikebeaton here but not big infos Thanks

No, I need the debug log from a debug install of OpenCore - unless you have unusual customisations (of files included in the release) you don't need to remake the ESP from scratch, but can just cp -r ~/Downloads/OpenCore-0.9.9-DEBUG/X64/EFI /Volumes/ESP (paths modified as needed).

ok Wait I try after you read this debuging log
Good news HfsPlusLegacy.efi from OcBinaryData boot fast and well on macOS Installer
DEBUG.zip

from bugtracker.

mikebeaton avatar mikebeaton commented on August 30, 2024

:-/ You need to enable debug logging. See Target config.plist setting in Configuration.pdf. Hint, try 67.

from bugtracker.

chris1111 avatar chris1111 commented on August 30, 2024

:-/ You need to enable debug logging. See Target config.plist setting in Configuration.pdf. Hint, try 67.

It is at 67 see my config.plist
Now I try OpenCore-0.9.9-DEBUG/ HfsPlus.efi from OcBinaryData
Let see wait 2 minutes please

from bugtracker.

mikebeaton avatar mikebeaton commented on August 30, 2024

:-/ You need to enable debug logging. See Target config.plist setting in Configuration.pdf. Hint, try 67.

It is at 67 see my config.plist Now I try OpenCore-0.9.9-DEBUG/ HfsPlus.efi from OcBinaryData Let see wait 2 minutes please

Ok idk you need to send a debug log with debugging enabled using debug OC binaries, if your debug log is empty (or only has Apple debug lines, but no OC debug lines) you need to fix that - thanks

from bugtracker.

chris1111 avatar chris1111 commented on August 30, 2024

I can replicate this actually :-/ - thanks for the report, afaik it is expected that the older versions of HfsPlus.efi fail to load with Volume Corrupt, but not expected that the newer version crashes on your machine (and on Ovmf...)

Thanks anyway I find HfsPlusLegacy.efi then thats satisfy me !!!! Working verry great!

from bugtracker.

StefanAlMare avatar StefanAlMare commented on August 30, 2024

Hey @mikebeaton! I have a few legacy machines and in the last month I used duet from OC 0.9.7, because the new versions doesn't boot. I see that it is resolved now, but, for me partially. I have 2 Asus P5Q in which enabling FixupAppleEfiImages has done the job, but I have problems in my HP wx4600. I can boot with older OC duet, but I have always "Halting on critical error" with new one. I have tried with release and debug. What should I try next?

from bugtracker.

mikebeaton avatar mikebeaton commented on August 30, 2024

What should I try next?

Run the debug version and look in the debug log and see what the critical error is.

from bugtracker.

StefanAlMare avatar StefanAlMare commented on August 30, 2024

What should I try next?

Run the debug version and look in the debug log and see what the critical error is.

Done that, but I have no log inside EFI. Just "BOOT MISMATCH!" and "Halting on critical error" on black screen.

from bugtracker.

mikebeaton avatar mikebeaton commented on August 30, 2024

"BOOT MISMATCH!" is when OpenCore cannot be found on the partition on which Duet was installed, but it may still be started from another partition. "Halting on critical error" is a message from the OpenCore log system. It sounds as if OpenCore is on another drive from where Duet was installed.

from bugtracker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.