{"id":20901540,"url":"https://github.com/ventoy/espack","last_synced_at":"2025-05-13T03:30:45.706Z","repository":{"id":43059494,"uuid":"397550899","full_name":"ventoy/espack","owner":"ventoy","description":"Make a directory to an ESP disk image","archived":false,"fork":false,"pushed_at":"2022-12-23T10:41:48.000Z","size":85,"stargazers_count":48,"open_issues_count":2,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-06T18:26:08.121Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ventoy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-18T09:51:51.000Z","updated_at":"2025-04-25T13:23:14.000Z","dependencies_parsed_at":"2023-01-30T18:15:27.511Z","dependency_job_id":null,"html_url":"https://github.com/ventoy/espack","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ventoy%2Fespack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ventoy%2Fespack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ventoy%2Fespack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ventoy%2Fespack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ventoy","download_url":"https://codeload.github.com/ventoy/espack/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253470408,"owners_count":21913674,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-18T11:35:52.950Z","updated_at":"2025-05-13T03:30:45.343Z","avatar_url":"https://github.com/ventoy.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# espack\nMake a directory to an ESP disk image.  (把目录整体打包成一个 ESP 分区的磁盘镜像。)\n\n# usage\n1. Download the released zip file from [(here)](https://github.com/ventoy/espack/releases), for example `espack-1.0.zip` and then decompress it.\n2. Put all you files/directories/subdirectories... under `ESP` folder. The structure of the `ESP` directory is the structure of the final ESP partition image.\n3. Run `sh esp.sh` in linux or click the `esp.bat` in Windows.\n4. An image file `esp.img` (you can rename it as you want) will be created in current directory.\n\n# Note\n1. By default I put a `BOOTX64.EFI` file in the `EFI` directory as an example, it's UEFI shell.efi. You should replace it with your UEFI app.  \n2. If you use a case sensitive file-system you have to (manually) merge the folders `EFI` and `BOOT` or replace it (and don't forget `BOOTX64.EFI`).  \n3. You can pack different EFI files for different architectures together, for example `BOOTX64.EFI` `BOOTIA32.EFI` `BOOTAA64.EFI` ...     \n  \n  \n  \n  \n# 使用方法\n1. 从 [(这里)](https://github.com/ventoy/espack/releases) 下载发布的 zip 文件，例如 `espack-1.0.zip`，然后解压开。\n2. 把你所有需要的文件、目录、子目录等都放到解压后的 `ESP` 目录下。此目录的结构即为最终ESP分区的结构。\n3. 对于Linux系统，在终端执行 `sh esp.sh` ，对于Windows系统，直接点击 `esp.bat` 这个批处理即可。\n4. 打包成功后会在当前目录下生成一个 `esp.img` 文件（你可以任意重命名），即为ESP分区的镜像文件。\n\n# 说明\n1. 默认 `ESP` 里面放了一个 `BOOTX64.EFI` 文件作为例子，是 UEFI 的 shell.efi 文件。你可以使用自己的EFI文件替换它。\n2. 你可以把不同构架的EFI文件打包在一起，比如  `BOOTX64.EFI` `BOOTIA32.EFI` `BOOTAA64.EFI`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fventoy%2Fespack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fventoy%2Fespack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fventoy%2Fespack/lists"}