Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"The bless of the installer disk image failed." For Mavericks installer #7

Closed
mihirpotnis opened this issue Dec 13, 2023 · 15 comments
Closed
Labels
bug Something isn't working

Comments

@mihirpotnis
Copy link

So when I run "sudo ~/bin/createinstalliso --isodirectory ~/Desktop/ --applicationpath ~/Desktop/Install\ OS\ X\ Mavericks.app/", I get:

Making disk image bootable...
The bless of the installer disk image failed.

I tried "codesign --remove-signature ~/bin/createInstalliso" and also running through rosetta to no avail.

It probably is the certification error but how do I get past it?

@despin
Copy link

despin commented Jan 1, 2024

I am also trying to debug this particular error for the Mavericks installer.

Modifying the script to output the complete bless command, and executing it outside of the script like this:

bless --folder {random folder given by the script}/InstallDisk/System/Library/CoreServices --file {random folder given by the script}/InstallDisk/System/Library/CoreServices/boot.efi --openfolder {random folder given by the script}/InstallDisk --label Install OS X Mavericks

Outputs the following error: bless: The 'openfolder' is not supported on Apple Silicon devices.

After some digging, apparently this option is not needed for M1 devices. Evidence. So I just removed the option from the script.

Try that. I'm using this script to run Mavericks on UTM, with utmconfigs, but I have this exact issue. Maybe your use case is different and the solution specified earlier might help you.

@MrGlitchWasTaken
Copy link

I am also trying to debug this particular error for the Mavericks installer.

Modifying the script to output the complete bless command, and executing it outside of the script like this:

bless --folder {random folder given by the script}/InstallDisk/System/Library/CoreServices --file {random folder given by the script}/InstallDisk/System/Library/CoreServices/boot.efi --openfolder {random folder given by the script}/InstallDisk --label Install OS X Mavericks

Outputs the following error: bless: The 'openfolder' is not supported on Apple Silicon devices.

After some digging, apparently this option is not needed for M1 devices. Evidence. So I just removed the option from the script.

Try that. I'm using this script to run Mavericks on UTM, with utmconfigs, but I have this exact issue. Maybe your use case is different and the solution specified earlier might help you.

any updates?

@mihirpotnis
Copy link
Author

So the best way to get past this problem if I remember correctly is to use Mac OS X Lion on UTM, getting the mavericks installer on the virtual machine and running the bless command which will work as expected.

Running Lion on UTM was quite easy if I remember correctly (even snow leopard or leopard will work) and you can get the installer on there using an external usb drive and connecting it to the vm, then transferring your bootable image onto the USB drive again and accessing it on your Mac.

Unlike windows, Apple is quite terrible at backwards compatibility and they simply do not care either so.

@MrGlitchWasTaken
Copy link

So the best way to get past this problem if I remember correctly is to use Mac OS X Lion on UTM, getting the mavericks installer on the virtual machine and running the bless command which will work as expected.

Running Lion on UTM was quite easy if I remember correctly (even snow leopard or leopard will work) and you can get the installer on there using an external usb drive and connecting it to the vm, then transferring your bootable image onto the USB drive again and accessing it on your Mac.

Unlike windows, Apple is quite terrible at backwards compatibility and they simply do not care either so.

by the way, do you know a fix for my mavericks iso where terminal says "Install OS X Mavericks.app/ does not appear to be a valid OS installer application."

@mihirpotnis
Copy link
Author

It is most likely due to expired certification and/or modern Mac OS actually can't recognize it as a valid Mac OS installer. I am pretty sure using a Mac OS older than the one you're trying to make an image for will fix the issue!

@MrGlitchWasTaken
Copy link

It is most likely due to expired certification and/or modern Mac OS actually can't recognize it as a valid Mac OS installer. I am pretty sure using a Mac OS older than the one you're trying to make an image for will fix the issue!

would doing this method work in a VM?

@mihirpotnis
Copy link
Author

Yup! You can use UTM to install Lion and use bless in that VM!

@MrGlitchWasTaken
Copy link

Yup! You can use UTM to install Lion and use bless in that VM!

i have a tiger vm... would that work?

@mihirpotnis
Copy link
Author

Try it? Might be a bit too old but you never know

@MrGlitchWasTaken
Copy link

Try it? Might be a bit too old but you never know

im using utm, how would i get the install os x file to the vm and i dont have internet connection for the vm

@mihirpotnis
Copy link
Author

you can use an external usb and connect it to the VM to transfer data between the machines

@MrGlitchWasTaken
Copy link

you can use an external usb and connect it to the VM to transfer data between the machines

omg that would have been useful to know a long time ago thanks!

@MrGlitchWasTaken
Copy link

you can use an external usb and connect it to the VM to transfer data between the machines

do you know how to bypass the error "to download and restore OS X, your computer's eligibility will be verified with apple"

@MrGlitchWasTaken
Copy link

im on an OS X 10.7 vm

@BITespresso
Copy link
Owner

Solved in v1.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants