Giter Site home page Giter Site logo

An error occurred extracting: 2 about gibmacos HOT 21 OPEN

corpnewt avatar corpnewt commented on September 27, 2024 1
An error occurred extracting: 2

from gibmacos.

Comments (21)

8GalaxyDroid8 avatar 8GalaxyDroid8 commented on September 27, 2024 1

Okay, I fixed it. It turned out that 1 Gb of free partition space with Windows on board is not enough to properly extract the macOS image on a USB stick.

from gibmacos.

zaklundie avatar zaklundie commented on September 27, 2024 1

Also getting this error, I have over 140GB storage on my main partition so Im not sure why this is happening, 7zip is up to date too.

from gibmacos.

corpnewt avatar corpnewt commented on September 27, 2024

I got my previous issue to be fixed

If this is your previous issue, please close it.

now I'm getting the error in the title. Anybody know a solution?

The file likely either didn't download correctly or 7z may be outdated. I would ensure you have the latest 7z installed, and redownload. If that doesn't work, try downloading a different macOS version in the list and see if that helps.

-CorpNewt

from gibmacos.

nikko-guy avatar nikko-guy commented on September 27, 2024

I got my previous issue to be fixed

If this is your previous issue, please close it.

now I'm getting the error in the title. Anybody know a solution?

The file likely either didn't download correctly or 7z may be outdated. I would ensure you have the latest 7z installed, and redownload. If that doesn't work, try downloading a different macOS version in the list and see if that helps.

-CorpNewt

I tried but apparently I don't know how to close issues XD. I'll try again

from gibmacos.

nikko-guy avatar nikko-guy commented on September 27, 2024

So I think the issue was I was following this guide which was telling me to only download the recovery package. I now used the actual gibmacos and it successfully extracted but now, I'm getting a new error:

Image: c:\users\LMAOyouTHOUGHT\appdata\local\temp\tmpwj6fal\4.hfs

Disk 2. Samsung Flash Drive USB Device - 128.31 GB (Removable)

D:\Install Mac\gibMacOS-master\Scripts\ddrelease64.exe if=c:\users\niceTryBoomers\appdata\local\temp\tmpwj6fal\4.hfs of=\\?\Device\Harddisk2\Partition2 bs=8M --progress

This may take some time!

An error occurred:

Error writing file: 5 Access is denied.

0M
1+0 records in
0+0 records out

from gibmacos.

xiaosa66 avatar xiaosa66 commented on September 27, 2024

this problem occuied in my PC too. It shall be the problem of .pkg file Redownload the .pkg file maybe
works

from gibmacos.

xiaosa66 avatar xiaosa66 commented on September 27, 2024

So I think the issue was I was following this guide which was telling me to only download the recovery package. I now used the actual gibmacos and it successfully extracted but now, I'm getting a new error:

Image: c:\users\LMAOyouTHOUGHT\appdata\local\temp\tmpwj6fal\4.hfs

Disk 2. Samsung Flash Drive USB Device - 128.31 GB (Removable)

D:\Install Mac\gibMacOS-master\Scripts\ddrelease64.exe if=c:\users\niceTryBoomers\appdata\local\temp\tmpwj6fal\4.hfs of=\\?\Device\Harddisk2\Partition2 bs=8M --progress

This may take some time!

An error occurred:

Error writing file: 5 Access is denied.

0M
1+0 records in
0+0 records out

run as Admin maybe works

from gibmacos.

8GalaxyDroid8 avatar 8GalaxyDroid8 commented on September 27, 2024

It's the same for me .. I'm preparing a bootable flash drive with macOS Catalina 10.15.3 using this guide: https://vanilla.amd-osx.com/. Everything goes well until the extraction of the RecoveryHDMetaDmg.pkg file to a usb stick. Extraction works well until "Extracting BaseSystem.dmg ...". It then throws the error "An error occurred extracting: 2". I tried to extract another image, updated 7zip, deleted and reinstalled gibMacOS again but nothing helps.

exterror

from gibmacos.

outdoormagic avatar outdoormagic commented on September 27, 2024

@8GalaxyDroid8 , how did you fix it? What did you use? Diskpart? Thx.

from gibmacos.

ngcvm avatar ngcvm commented on September 27, 2024

Okay, I fixed it. It turned out that 1 Gb of free partition space with Windows on board is not enough to properly extract the macOS image on a USB stick.

How did you fix that, could you please guide me ?

from gibmacos.

borisux avatar borisux commented on September 27, 2024

Okay, I fixed it. It turned out that 1 Gb of free partition space with Windows on board is not enough to properly extract the macOS image on a USB stick.

How did you fix that, could you please guide me ?

This is because is not enough space, just try to free up the Windows partition drive ( e.g. C:\ ) I had same issue . works with 2.5-3 G free space. Good luck .

from gibmacos.

8GalaxyDroid8 avatar 8GalaxyDroid8 commented on September 27, 2024

I suppose this error occurs when the disk or partition on which gibMacOSs is unpacked has less than 4 Gb of free space. In my case I had unpacked gibMacOS on the desktop whose files were in partition C: on which I had ~ 700 Mb of free space. So I freed up ~ 4 Gb of space and tried again. After this unpacking went without problems.

PS. The amount of free space of disk or partition needed to extract the image correctly may vary depending on the macOS version you want to install.

from gibmacos.

TheArchnoble avatar TheArchnoble commented on September 27, 2024

I suppose this error occurs when the disk or partition on which gibMacOSs is unpacked has less than 4 Gb of free space. In my case I had unpacked gibMacOS on the desktop whose files were in partition C: on which I had ~ 700 Mb of free space. So I freed up ~ 4 Gb of space and tried again. After this unpacking went without problems.

PS. The amount of free space of disk or partition needed to extract the image correctly may vary depending on the macOS version you want to install.

After clearing up some space, I also performed a power-cycle. I guess some system cache files can get in the way as well. Regardless, thanks for the tip!

from gibmacos.

Phlogi avatar Phlogi commented on September 27, 2024

I installed 7z via chocolatey and the error went away.

The script should check for proper availability of 7z.

from gibmacos.

iardaya avatar iardaya commented on September 27, 2024

I installed 7z via chocolatey and the error went away.

The script should check for proper availability of 7z.

Mismo problema misma solución Gracias, Sorry for the spanish

from gibmacos.

jnickzlim avatar jnickzlim commented on September 27, 2024

I am having issue, always get An error occurred extracting: 2
I have tried installed 7z via chocolatey it does not work...
Any way to resolve this?

from gibmacos.

jnickzlim avatar jnickzlim commented on September 27, 2024

I solve it by re-downloading the pkg file again...

from gibmacos.

o0vEnOm0o avatar o0vEnOm0o commented on September 27, 2024

I used the 10.5.4 worked without a hitch. I also used 32bit version of 7zip

from gibmacos.

jvamos avatar jvamos commented on September 27, 2024

@zaklundie do you have antivirus active? Windows put the kibosh on DD accessing my memory twice

from gibmacos.

kajweb avatar kajweb commented on September 27, 2024

Re-execute and re-download gibMacOS,it work。But new problems will arise

from gibmacos.

valx76 avatar valx76 commented on September 27, 2024

As @8GalaxyDroid8 mentioned, it seems to be a remaining space issue on the system disk.
I had only 1Gb remaining on my Windows system disk (C:) and making more space actually fixed the issue.

from gibmacos.

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.