StarPlayrX / bigmac

Big Mac, macOS 11 Big Sur and macOS Monterey disk installer and back up tool for Intel based Macs
Other
457 stars 53 forks source link

Boot.Plist issue #94

Closed Alphakiew closed 3 years ago

Alphakiew commented 3 years ago

Hello everyone, Thanks a lot for you help : I just bought this Mac Pro (mid-2010) which already is on Big Sur OS but I would like to make a new clean install.

For info System Integrity Protection is disabled

When I try bigmac.sh I got this issue :

Boot.plist -v -no_compat_check to USB Installer Boot.plist -v -no_compat_check to USB Installer Boot.plist -v -no_compat_check to USB Installer /Users/quantum/Downloads/bigmac-master/πŸ’Ύ/base/com.apple.Boot.plist /Volumes/Install macOS Beta/Library/Preferences/SystemConfiguration/com.apple.Boot.plist We are not able to write to the Boot.plist file on Installer macOS Big Sur because it's missing.

Capture d’écran 2021-03-16 aΜ€ 19 53 24

Thanks a lot for your help ! Best regards,

subcritical71 commented 3 years ago

I am by no means an expert, but I did take a quick look and found a few things that gave me the same error. I started with 473778b.

1) Make sure you are truly in root mode (https://support.apple.com/en-us/HT204012). Change line 13 from if [ $UID = 0 ], to if [ $UID != 0 ].

2a) If the macOS installer is already in the Applications directory, installapp (line 113) never gets initialized -> line 186 does not know where to look. 2b) I added installapp = "/Applications/Install macOS Big Sur.app" to line 121, it should work for most people.

3) changed line 186; from $installapp/Contents/Resources/createinstallmedia --nointeraction --volume /Volumes/installer_"$disk$number" &> /dev/null to "$installapp"/Contents/Resources/createinstallmedia --nointeraction --volume /Volumes/installer_"$disk$number" Quotes were necessary when there were spaces in the macOS installer name. Removed &> /dev/null brought back the status update as it can take awhile before the installation is completed.

3) I also removed "Install macOS Big Sur Beta" "Install macOS Beta" from line 189. I don't know if it helped anything, but that was early in my troubleshooting. You won't get past line 109 with these anyway.

I made some edits as I realize the original author is busy on other projects.

Alphakiew commented 3 years ago

I tried again with your modification of bigmac.sh. After many tries I finally could run the script and that created the Bootable USB. Thanks a lot! I will try again to boot on it, to launch the preinstall.sh in a terminal and to run the install and I will give you info.

Alphakiew commented 3 years ago

So, I boot on USB, I open terminal, I run the preinstall.sh. I select "Install macOS Big Sur", I click on "continue" and nothing happends. It stays stuck with the "continue" button greyed.

I tried to reboot and to launch directly the install but when I select a disc to install on, it says "the update cannot be installed on this computer" (or something like this)

Alphakiew commented 3 years ago

I will try from my catalina boot Disk then...

subcritical71 commented 3 years ago

Hi Alphakiew. I did not progress further than creating boot media in my previous comments. I too ran into problems this morning when I went to do the actual install. I did find two required fixes in preinstall.sh and postinstall.sh.

preinstall.sh Line 11 - if [ $UID = 0 ] to if [ $UID != 0 ] Line 239 - reports an error but it appears that can be ignored and just start the install.

postinstall.sh Line 52 - if [ $UID = 0 ] to if [ $UID != 0 ]

I'm currently installing and will report back if successful. I'm going from Big Sur 11.0.1 to 11.2.3

Alphakiew commented 3 years ago

if [ $UID = 0 ] to if [ $UID != 0 ]

Yeah I already correct that in the 3 .sh ha ha ! Until now the install seems to work. But the last time I succeded, the postinstall.sh didn't worked at all. All the commands returned me "read only directory". So I coudn't make the wifi work...

Alphakiew commented 3 years ago

After the install I rebooted on Big Sur USB, I ran the postinstall.sh in a terminal. I get errors : WhatsApp Image 2021-03-18 at 16 42 53

Alphakiew commented 3 years ago

I will try booted on my Catalina disk (hoping that it just need to be on another boot that the big sur one...) I will give you feedbacks @subcritical71

Alphakiew commented 3 years ago

Things seems to be good until this : WhatsApp Image 2021-03-18 at 17 03 39

subcritical71 commented 3 years ago

Mine worked without the issues you show. One thing I noticed though is that Source ----> on mine is /Volumes/bigmac/πŸ”/ versus your /var/root/πŸ”/. This is the bigmac partition on my external macOS installation drive.

Are you booting off the macOS installer external drive? and then selecting Terminal?

HenryKleinschmidt commented 3 years ago

Hey, I had/have the same issue as @Alphakiew and hoped your fork would fix my issue but I still get the same error. I am not able to create the installer USB. image

Alphakiew commented 3 years ago

Hey, I had/have the same issue as @Alphakiew and hoped your fork would fix my issue but I still get the same error. I am not able to create the installer USB. image

For info I replaced : line 186; from $installapp/Contents/Resources/createinstallmedia --nointeraction --volume /Volumes/installer"$disk$number" &> /dev/null to /Applications/Install\ macOS\ Big\ Sur.app/Contents/Resources/createinstallmedia --nointeraction --volume /Volumes/installer"$disk$number" Try that.

HenryKleinschmidt commented 3 years ago

Weird. I solve the issue by removing the spaces in line 121. image

subcritical71 commented 3 years ago

@HenryKleinschmidt : Yep, its the spaces, I was just getting ready to respond to you about that. Somehow spaces keep getting inserted on me, even though I do not wish it!

Alphakiew commented 3 years ago

Mine worked without the issues you show. One thing I noticed though is that Source ----> on mine is /Volumes/bigmac/πŸ”/ versus your /var/root/πŸ”/. This is the bigmac partition on my external macOS installation drive.

Are you booting off the macOS installer external drive? and then selecting Terminal?

I am not sure to understand your question (I'm French by the way) But here I booted on the "Install MacOS Big Sur" USB. Yeah I think you're right, the problem is here !

Any Idea @subcritical71 ?

subcritical71 commented 3 years ago

So, I do it a bit different than some of the instructions say, but it works. I have MacPro 3,1 (Early 2008)

Once booted and terminal open...

cd /Volumes/bigmac <<< this seems to put you in the correct directory for the script to run correctly. ./postinstall.sh

Alphakiew commented 3 years ago

So, I do it a bit different than some of the instructions say, but it works. I have MacPro 3,1

Once booted and terminal open...

cd /Volumes/bigmac ./postinstall.sh

Thanks! I will try this but first, I need to reinstall Big Sur because I F...ed up somewhere...

HenryKleinschmidt commented 3 years ago

Sorry for kinda hijacking this thread but is is possible to upgrade to Big Sur without the original GPU? I lost my DVI Adapter and cant connect the original GPU to my monitor

subcritical71 commented 3 years ago

@HenryKleinschmidt I replaced my video card ages ago. I currently have an ATI 5870 that works, but I remove it as soon as the installation is done as I use the MacPro as a headless system. There seems to be some cards which are troublesome but I don't know which ones.

HenryKleinschmidt commented 3 years ago

So I definitely need a GPU with mac-Bios? Thanks for the info :)

subcritical71 commented 3 years ago

I simply do not know. Macrumors has a forum dedicated to unsupported Macs. Lots of info there.

Alphakiew commented 3 years ago

So, I do it a bit different than some of the instructions say, but it works. I have MacPro 3,1 (Early 2008)

Once booted and terminal open...

cd /Volumes/bigmac <<< this seems to put you in the correct directory for the script to run correctly. ./postinstall.sh

It worked ! ... quite well but I got this error : Attempting to delete snapshot => [...] Error: -69863: Insufficient privileges

If your system gets locked with a snapshot try cloning it with : ... WhatsApp Image 2021-03-18 at 18 40 52

@subcritical71 should I clone the thing? I just have to enter what it says? (This is how I f...ed up my last Bigsur πŸ˜… ) Thanks a lot for you help ! πŸ‘ πŸ‘ πŸ‘

Alphakiew commented 3 years ago

PS: sorry for the bad quality pics 😞

subcritical71 commented 3 years ago

I'm not sure how to proceed in this case. Hopefully someone else can help(?)

subcritical71 commented 3 years ago

It doesn't appear to be an issue; https://forums.macrumors.com/search/2598875/?q=69863&t=post&c[thread]=2242172&o=relevance

Alphakiew commented 3 years ago

Well, despite all my tries I cannot had a Bigsur version with a functionnal Wifi so I give up on Bigmac Patcher... I tried the Micropatcher by BarryKn with success so I stop here ;)

If needed here is the patch I used : https://github.com/barrykn/big-sur-micropatcher

Bon courage les amis !

subcritical71 commented 3 years ago

@Alphakiew Did the installer work with all the changes and its just the wifi that is not working?

Alphakiew commented 3 years ago

@Alphakiew Did the installer work with all the changes and its just the wifi that is not working?

No the postinstall.sh did not work at all for me. I cannot understand why... Maybe because of this error 69863... Maybe because I try this install from a Catalina disk boot.