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

why big sur update cannot be completed ? #15

Closed
tombombadilom opened this issue Aug 25, 2021 · 11 comments · Fixed by #18
Closed

why big sur update cannot be completed ? #15

tombombadilom opened this issue Aug 25, 2021 · 11 comments · Fixed by #18
Labels
bug Something isn't working

Comments

@tombombadilom
Copy link
Collaborator

tombombadilom commented Aug 25, 2021

Big sur upgrade is proposed , downloaded and the first step install completed.
But after reboot, it is as if nothing had happend and the system reboot as catalina os.
Same thing for the last 2021-04 security update.
I tried to change the external update process back to normal but no result.

Is it possible to change the fetch-macos.py script instead and change the https://swscan.apple.com/content/catalogs/others/index-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog , to big sur dmg url instead , and remake a new fresh install ?

Does anybody got the good Big Sur url ?

@arindas
Copy link
Owner

arindas commented Aug 25, 2021

I don't have the keys and URL for Big Sur. I am however confused that the update didn't work as expected. Will look into this.

@arindas arindas added the bug Something isn't working label Aug 25, 2021
@arindas
Copy link
Owner

arindas commented Aug 25, 2021

Here's how a different project solved it foxlet/macOS-Simple-KVM#436 (comment)

The proposed solution is to download https://github.com/kholia/OSX-KVM/blob/master/OpenCore-Catalina/OpenCore.qcow2
and replace ESP.qcow2 with this. This needs to be verified, however.

@tombombadilom
Copy link
Collaborator Author

tombombadilom commented Aug 25, 2021

[root@tomPC mac-on-linux-with-qemu]# wget https://github.com/kholia/OSX-KVM/raw/master/OpenCore-Catalina/OpenCore.qcow2
[root@tomPC mac-on-linux-with-qemu]# ./launch-macos.sh
qemu-system-x86_64: -drive id=OpenCore,if=virtio,format=qcow2,file=OpenCore.qcow2: Image is not in qcow2 format
[root@tomPC mac-on-linux-with-qemu]# qemu-img info OpenCore.qcow2
image: OpenCore.qcow2
file format: raw
virtual size: 16.1 MiB (16842752 bytes)
disk size: 16.1 MiB
[root@tomPC mac-on-linux-with-qemu]# cat launch-macos.sh | grep OpenCore
    -drive id=OpenCore,if=virtio,format=raw,file=OpenCore.qcow2 \
[root@tomPC mac-on-linux-with-qemu]# ./launch-macos.sh
pulseaudio: pa_context_connect() failed
pulseaudio: Reason: Connection refused
pulseaudio: Failed to initialize PA contextaudio: Could not init `pa' audio driver
audio: warning: Using timer based audio emulation
Authorization required, but no authorization protocol specified
Could not initialize SDL(x11 not available) - exiting

@arindas
Copy link
Owner

arindas commented Aug 25, 2021

Ummm just do this:

git restore .
git checkout -b test-branch
wget https://github.com/kholia/OSX-KVM/raw/master/OpenCore-Catalina/OpenCore.qcow2 -O ESP.qcow2
./launch-macos.sh

@arindas
Copy link
Owner

arindas commented Aug 25, 2021

In any case, I did the above I'm downloading the security update right now. I Will post updates.

2021-08-25-14:32:29-screenshot

@tombombadilom
Copy link
Collaborator Author

[root@tomPC mac-on-linux-with-qemu]# cp OpenCore.qcow2 ESP.qcow2
[root@tomPC mac-on-linux-with-qemu]# ./launch-macos.sh
qemu-system-x86_64: -drive if=pflash,format=raw,readonly,file=packaged-firmware/OVMF_CODE.fd: warning: short-form boolean option 'readonly' deprecated
Please use readonly=on instead
qemu-system-x86_64: -drive id=ESP,if=virtio,format=qcow2,file=ESP.qcow2: Image is not in qcow2 format
[root@tomPC mac-on-linux-with-qemu]# qemu-img info OpenCore.qcow2
image: OpenCore.qcow2
file format: raw
virtual size: 16.1 MiB (16842752 bytes)
disk size: 16.1 MiB

@arindas
Copy link
Owner

arindas commented Aug 25, 2021

Ok I realize the problem.

Download using

$ wget https://github.com/kholia/OSX-KVM/raw/master/OpenCore-Catalina/OpenCore.qcow2 -O ESP.qcow2
$ qemu-img info ESP.qcow2
image: ESP.qcow2
file format: qcow2
virtual size: 384 MiB (402653184 bytes)
disk size: 16.1 MiB
cluster_size: 65536
Format specific information:
    compat: 1.1
    compression type: zlib
    lazy refcounts: false
    refcount bits: 16
    corrupt: false
    extended l2: false

The other URL downloads an HTML page.
Sorry for the inconvenience.

@tombombadilom
Copy link
Collaborator Author

[root@tomPC mac-on-linux-with-qemu]# qemu-img info ESP.qcow2
image: ESP.qcow2
file format: qcow2
virtual size: 384 MiB (402653184 bytes)
disk size: 16.1 MiB
cluster_size: 65536
Format specific information:
    compat: 1.1
    compression type: zlib
    lazy refcounts: false
    refcount bits: 16
    corrupt: false
    extended l2: false
[root@tomPC mac-on-linux-with-qemu]# ./launch-macos.sh
qemu-system-x86_64: -drive if=pflash,format=raw,readonly,file=packaged-firmware/OVMF_CODE.fd: warning: short-form boolean option 'readonly' deprecated
Please use readonly=on instead
pulseaudio: pa_context_connect() failed
pulseaudio: Reason: Connection refused
pulseaudio: Failed to initialize PA contextaudio: Could not init `pa' audio driver
audio: warning: Using timer based audio emulation
Authorization required, but no authorization protocol specified
Could not initialize SDL(x11 not available) - exitin

@tombombadilom
Copy link
Collaborator Author

tombombadilom commented Aug 25, 2021

you cannot launch mac os as root

I have chown ESP.qcow2 to my user and now it launch !
I will confirm when my upgrade is over 30min ...

@tombombadilom
Copy link
Collaborator Author

Big Sur Upgrade Complete !

photo_2021-08-25_06-30-37

@arindas arindas linked a pull request Aug 25, 2021 that will close this issue
@arindas
Copy link
Owner

arindas commented Aug 25, 2021

Thank you @tombombadilom for your help.

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

Successfully merging a pull request may close this issue.

2 participants