Giter Site home page Giter Site logo

MakeInstall problem about gibmacos HOT 3 CLOSED

liuchunxiao avatar liuchunxiao commented on June 29, 2024
MakeInstall problem

from gibmacos.

Comments (3)

corpnewt avatar corpnewt commented on June 29, 2024

Windows' diskpart can be quite picky. I added the option to MakeInstall to prevent it from formatting the disk itself, and just use the partitioning as-is. This requires you format the disk using some other tool ahead of time though.

Per the main menu of MakeInstall, you'll want to include F in your command to have it skip formatting:

    F = Skip formatting the disk - will install the boot manager to the first
        partition, and dd the recovery image to the second.

In order to properly format the device ahead of time, you'll need 2 partitions. The first should be a 200 (or so) MB FAT32 partition, this is where the EFI will reside. The second needs to be a RAW partition of a size large enough to hold the HFS+ image for the recovery environment (usually 1GB or more). It is important that it is a RAW partition, as MakeInstall uses dd to write the contents of the BaseSystem.dmg to the partition - and Windows cannot natively read/write HFS+ - so it needs a blank canvas per se for that data.

-CorpNewt

from gibmacos.

liuchunxiao avatar liuchunxiao commented on June 29, 2024

thanks.However, I use DiskGenius software, but I cannot find the function of creating a raw partition in GPT mode. How can I create a raw partition? Should I use the diskpart tool that comes with the system? Or is there any other better software?

from gibmacos.

corpnewt avatar corpnewt commented on June 29, 2024

The diskpart that MakeInstall uses is the one that comes with the system. It just generates a script for that to run with the disk info filled out - and pipes it to diskpart via the /s switch. You might have luck using Disk Management - which acts like a GUI front-end to diskpart - but that may also encounter the same issues.

I'm not sure how to do the formatting in DiskGenius though, as it's not something I've ever used.

-CorpNewt

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.