├── .github ├── FUNDING.yml └── workflows │ └── 打包.yml ├── .gitmodules ├── Boot_Record ├── mbr(boot0af) └── pbr(boot1f32alt) ├── ESP ├── boot ├── boot0 ├── boot1 └── boot5 ├── docs ├── Changelog.md ├── README-繁體中文.md ├── README-自述文件.md └── README.md └── git.sh /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: M.L.P. 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry 13 | custom: https://github.com/M-L-P/.github/blob/main/profile/chocolate/README.md 14 | -------------------------------------------------------------------------------- /.github/workflows/打包.yml: -------------------------------------------------------------------------------- 1 | name: 打包 2 | on: 3 | push: 4 | branches: [ "main" ] 5 | paths: 6 | - '.github/workflows/打包.yml' 7 | - 'docs/Changelog.md' 8 | pull_request: 9 | branches: [ "main" ] 10 | paths: 11 | - '.github/workflows/打包.yml' 12 | - 'docs/Changelog.md' 13 | 14 | jobs: 15 | build: 16 | strategy: 17 | matrix: 18 | type: [Yours-LegacyBIOS] 19 | 20 | name: 打包 ${{ matrix.type }} 21 | runs-on: ubuntu-latest 22 | 23 | steps: 24 | - uses: actions/checkout@v3 25 | - name: 归档 ${{ matrix.type }} 26 | run: | 27 | cd ESP/EFI 28 | git clone https://github.com/M-L-P/rEFInd-theme-Yours.git 29 | sudo rm -r ./rEFInd-theme-Yours/docs 30 | sudo rm -r ./rEFInd-theme-Yours/.git 31 | sudo cp -r ./rEFInd-theme-Yours/* ./Yours 32 | sudo rm -r ./rEFInd-theme-Yours 33 | ls -l 34 | 35 | - name: 上传到此处 36 | uses: actions/upload-artifact@v4 37 | with: 38 | name: ${{ matrix.type }} 39 | path: | 40 | ./ESP 41 | ./Boot_Record 42 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "ESP/EFI/Yours"] 2 | path = ESP/EFI/Yours 3 | url = https://github.com/M-L-P/rEFInd-theme-Yours.git 4 | -------------------------------------------------------------------------------- /Boot_Record/mbr(boot0af): -------------------------------------------------------------------------------- https://raw.githubusercontent.com/M-L-P/Yours-LegacyBIOS/2fc5a033a00d34203f8ea5a5f37ad2b17d053e4a/Boot_Record/mbr(boot0af) -------------------------------------------------------------------------------- /Boot_Record/pbr(boot1f32alt): -------------------------------------------------------------------------------- https://raw.githubusercontent.com/M-L-P/Yours-LegacyBIOS/2fc5a033a00d34203f8ea5a5f37ad2b17d053e4a/Boot_Record/pbr(boot1f32alt) -------------------------------------------------------------------------------- /ESP/boot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/M-L-P/Yours-LegacyBIOS/2fc5a033a00d34203f8ea5a5f37ad2b17d053e4a/ESP/boot -------------------------------------------------------------------------------- /ESP/boot0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/M-L-P/Yours-LegacyBIOS/2fc5a033a00d34203f8ea5a5f37ad2b17d053e4a/ESP/boot0 -------------------------------------------------------------------------------- /ESP/boot1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/M-L-P/Yours-LegacyBIOS/2fc5a033a00d34203f8ea5a5f37ad2b17d053e4a/ESP/boot1 -------------------------------------------------------------------------------- /ESP/boot5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/M-L-P/Yours-LegacyBIOS/2fc5a033a00d34203f8ea5a5f37ad2b17d053e4a/ESP/boot5 -------------------------------------------------------------------------------- /docs/Changelog.md: -------------------------------------------------------------------------------- 1 | [![GitHub release (latest by date)](https://img.shields.io/github/v/release/M-L-P/Yours-LegacyBIOS?label=Yours-LegacyBIOS)](https://github.com/M-L-P/Yours-LegacyBIOS) 2 | [![GitHub release (latest by date)](https://img.shields.io/github/v/release/M-L-P/Yours-UEFI?label=Yours-UEFI)](https://github.com/M-L-P/Yours-UEFI) 3 | 4 | ## Changelog 5 | - Separate 1K configuration and 2K configuration; 6 | - Optimize the logic of scanning to exclude excess boring `grub.efi`; 7 | - Recompile OpenDUET, having added keyboard and mouse drivers and NVMe driver; 8 | - Replace the correct boot record to fix; 9 | 10 | ## ⭐Star🌟 11 | If you like it and are looking forward to the coming update, you can star it.💫 12 | Tell your friends that you have got a good stuff. -------------------------------------------------------------------------------- /docs/README-繁體中文.md: -------------------------------------------------------------------------------- 1 | [icons](https://github.com/M-L-P/icons)|[rEFInd-theme-Yours](https://github.com/M-L-P/rEFInd-theme-Yours)|[Yours-LegacyBIOS](https://github.com/M-L-P/Yours-LegacyBIOS)|[Yours-UEFI](https://github.com/M-L-P/Yours-UEFI) 2 | -|-|-|- 3 | 4 |
5 | 6 | [![GitHub release (latest by date)](https://img.shields.io/github/v/release/M-L-P/Yours-LegacyBIOS)](https://github.com/M-L-P/Yours-LegacyBIOS/releases/latest) 7 | [![GitHub all releases](https://img.shields.io/github/downloads/M-L-P/Yours-LegacyBIOS/total)](https://github.com/M-L-P/Yours-LegacyBIOS/releases) 8 | [![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/M-L-P/Yours-LegacyBIOS/%E6%89%93%E5%8C%85.yml)](https://github.com/M-L-P/Yours-LegacyBIOS/actions) 9 | [![GitHub Discussions](https://img.shields.io/github/discussions/M-L-P/Yours-LegacyBIOS)](https://github.com/M-L-P/Yours-LegacyBIOS/discussions) 10 | [![GitHub Repo stars](https://img.shields.io/github/stars/M-L-P/Yours-LegacyBIOS?style=social)](https://github.com/M-L-P/Yours-LegacyBIOS/stargazers) 11 | 12 |
13 | 14 | [English](README.md)|[简体中文](README-自述文件.md)|[繁體中文](README-繁體中文.md)|... 15 | --|--|--|-- 16 | 17 |

Yours-LegacyBIOS

18 | 19 | [Y-o-u-r-s](https://github.com/M-L-P/rEFInd-theme-Yours),
20 | Your own usual rEFInd's sign for LegacyBIOS.
21 | 依賴於 [CloverBootloader](https://github.com/CloverHackyColor/CloverBootloader) 或 [OpenCore](https://github.com/acidanthera/OpenCorePkg) 的 DUET,Legacy BIOS 能夠執行 rEFInd。
22 | 它能夠拯救你的舊電腦,使其支援 64位 的 UEFI,化腐朽為神奇。 23 | #### 你的裝置滿足以下情況中的一種, 24 | - 不支援 64bit UEFI, 25 | - - 支援 32bit UEFI; 26 | - - 僅支援 Legacy BIOS,不支援 UEFI; 27 | - GPU/vBIOS 不支援 UEFI;(如下圖)
28 | ![image](https://user-images.githubusercontent.com/69227436/213923710-120c5a02-30ea-4005-b2fe-c8e9adc7b6d7.png) 29 | - GPT 磁碟; 30 | - 內建 SATA 硬碟; 31 | - NVMe 固態 需要 使用 ~~`boot7`~~`boot0` 或 `boot1`; 32 | #### 工作原理 33 | [Power On]=>[Legacy BIOS]=>[MBR]=>[PBR]=>[`boot`]=>[`Yours_x64.efi`]=>[Yours]
34 | ~~[Power On]=>[Legacy BIOS]=>[MBR]=>[PBR]=>[`boot6`]=>[`Yours_x64.efi`]=>[Yours]~~
35 | ~~[Power On]=>[Legacy BIOS]=>[MBR]=>[PBR]=>[`boot7`]=>[`Yours_x64.efi`]=>[Yours]~~
36 | [Power On]=>[Legacy BIOS]=>[MBR]=>[PBR]=>[`boot5`]=>[`Yours_x64.efi`]=>[Yours]
37 | [Power On]=>[Legacy BIOS]=>[MBR]=>[PBR]=>[`boot0`]=>[`Yours_x64.efi`]=>[Yours]
38 | [Power On]=>[Legacy BIOS]=>[MBR]=>[PBR]=>[`boot1`]=>[`Yours_x64.efi`]=>[Yours]
39 | - 預設情況, `boot`; 40 | - ~~按下 6, 是 Clover 的 `boot6`;~~ 41 | - ~~按下 7, 是 Clover 的 `boot7`;~~ 42 | - 按下 5, 是 Clover 的 `boot5`; 43 | - 按下 0, `boot0`,OpenCore 的 `bootx64`(新增了鍵鼠驅動和NVMe驅動後重新編譯); 44 | - 按下 1, `boot1`,OpenCore 的 `bootx64-blockio`(新增了鍵鼠驅動和NVMe驅動後重新編譯); 45 | #### 檔案結構樹狀圖 46 | 47 | 48 | ----------------------------------------------------------------------------------------------------------------------------------- 49 | ## 💻️預覽👀 50 | 51 |
52 | 🖱️點選展開檢視🖱️ 53 | 54 | 55 | 56 |
57 | 58 | ## 🧭指南⬇️ 59 | 60 | 需要使用 [DiskGenius](https://www.diskgenius.com/) 和 BOOTICE。 61 | ### 轉化 MBR 為 GPT 62 | __注意__: 所有檔案是為 GPT 分割槽表準備的,因為我不使用 MBR 分割槽表。
63 | 如果你的硬碟已經是 GPT 的,你要 __跳過__ 這個步驟。 64 |
65 | 🖱️點選展開檢視🖱️ 66 | https://www.diskgenius.com/manual/convert-partition-table-style.php 67 | 68 | ![image](https://github.com/M-L-P/Yours-LegacyBIOS/assets/69227436/93246cd8-f616-43c7-a5ac-8ca224ef8fb0) 69 |
70 | 71 | ### 覆蓋引導記錄 72 | 73 |
74 | 🖱️點選展開檢視🖱️ 75 | 76 | #### 備份 EFI 檔案 77 | - 開啟 DiskGenius; 78 | - 把 ESP分割槽 中的所有的檔案 複製到其他你想要的位置; 79 | #### 格式化 ESP 成 FAT32 80 | - 開啟 DiskGenius; 81 | - 格式化 ESP 成 FAT32(Basic data partition); 82 | - - 或者 在第一個分割槽前面 建立一個 FAT32 分割槽。 83 | #### 覆蓋 MBR 和 PBR 84 | - 開啟 BOOTICE; 85 | - `zip: Boot_Record\mbr(boot0af)` 用來覆蓋內建 SATA 硬碟的 MBR;
86 | ![mbr](https://github.com/M-L-P/Yours-LegacyBIOS/assets/69227436/af8d8cb4-3e10-48a8-ab06-71a8e69ed3ba) 87 | 88 | - `zip: Boot_Record\pbr(boot1f32alt)` 用來覆蓋 FAT32 的 PBR;
89 | ![pbr](https://github.com/M-L-P/Yours-LegacyBIOS/assets/69227436/a2a6f8f1-6b28-48a3-90fc-b7ed140adc86) 90 | 91 | #### 把 FAT32 變成 ESP 92 | - 開啟 DiskGenius; 93 | - [編輯分割槽引數](https://www.diskgenius.com/manual/modify-partition-para.php), set the FAT32 as ESP; 94 | - 命名為 `EFI system partition`(如下圖)
95 | [](https://www.diskgenius.com/manual/modify-partition-para.php) 96 |
97 | 98 | ### 調整 ESP 分割槽 99 | 100 |
101 | 🖱️點選展開檢視🖱️ 102 | 103 | #### 恢復 EFI 檔案 104 | - 從你的備份中把 EFI 檔案恢復進 ESP 分割槽。 105 | 106 | #### 複製 Yours 到 ESP 分割槽 107 | - 複製檔案 `zip: ESP\boot` 到 `ESP: \`; 108 | - 複製檔案 `zip: ESP\boot5` 到 `ESP: \`; 109 | - ~~複製檔案 `zip: ESP\boot6` 到 `ESP: \`~~; 110 | - ~~複製檔案 `zip: ESP\boot7` 到 `ESP: \`~~; 111 | - 複製檔案 `zip: ESP\boot0` 到 `ESP: \`; 112 | - 複製檔案 `zip: ESP\boot1` 到 `ESP: \`; 113 | - 複製資料夾 `zip: ESP\EFI\Yours` 到 `ESP: \EFI`; 114 | 115 | #### 若有 黑蘋果 116 | 為了讓圖形介面銜接得更加緊密,中途沒有程式碼介面,同時支援安全啟動
117 |
118 | 🖱️點選展開檢視🖱️ 119 | 120 | 檔名|所在目錄|檔案原理|檔案功能 121 | -|-|-|- 122 | `GRUB_PreLoader_CLOVER.efi`|`EFI\Yours\efi\Hackintosh`|連結到 `EFI\CLOVER\CLOVERX64.efi`|預啟動 CloverBootloader 123 | `GRUB_PreLoader_CLOVER.png`|`EFI\Yours\efi\Hackintosh`|同名顯示圖示|用於顯示 Clover 的啟動圖示 124 | `GRUB_PreLoader_OC.efi`|`EFI\Yours\efi\Hackintosh`|連結到 `EFI\OC\OpenCore.efi`|預啟動 OpenCore 125 | `GRUB_PreLoader_OC.png`|`EFI\Yours\efi\Hackintosh`|同名顯示圖示|用於顯示 OC 的啟動圖示 126 | 127 | #### 若是 OpenCore 128 | - 你應該編輯 `config.plist` 設定 `LauncherOption=System` ; 129 | 130 | #### 若不用黑果 131 | - 你可以選定 Clover 或 OC 的啟動圖示,按下【Delete】,隱藏對應的入口。 132 |
133 | 134 |
135 | 136 | ## 📝FAQ❓️ 137 | ### USB 可行動硬碟 或 NVMe 固態 138 | - 用鍵盤按下數字鍵`7`,當黑色螢幕的左上角出現白色的 `_` 的時候; 139 | 140 | ## ⭐收藏🌟 141 | 如果你喜歡並且期待未來的更新,你可以點亮星星。💫 142 | 143 | ## 🎉來源🎊 144 | - *Roderick W. Smith* 的 [rEFInd Boot Manager](http://www.rodsbooks.com/refind/); 145 | - [a1ive](https://github.com/a1ive) 的 [grub2-filemanager](https://github.com/a1ive/grub2-filemanager); 146 | - [CloverBootloader](https://github.com/CloverHackyColor/CloverBootloader) 的 DUET; 147 | - [OpenCore](https://github.com/acidanthera/OpenCorePkg) 的 DUET; 148 | 149 | ## [🧁請我吃塊巧克力🍫](https://github.com/M-L-P/.github/blob/main/profile/chocolate/README.md) 150 | -------------------------------------------------------------------------------- /docs/README-自述文件.md: -------------------------------------------------------------------------------- 1 | [icons](https://github.com/M-L-P/icons)|[rEFInd-theme-Yours](https://github.com/M-L-P/rEFInd-theme-Yours)|[Yours-LegacyBIOS](https://github.com/M-L-P/Yours-LegacyBIOS)|[Yours-UEFI](https://github.com/M-L-P/Yours-UEFI) 2 | -|-|-|- 3 | 4 |
5 | 6 | [![GitHub release (latest by date)](https://img.shields.io/github/v/release/M-L-P/Yours-LegacyBIOS)](https://github.com/M-L-P/Yours-LegacyBIOS/releases/latest) 7 | [![GitHub all releases](https://img.shields.io/github/downloads/M-L-P/Yours-LegacyBIOS/total)](https://github.com/M-L-P/Yours-LegacyBIOS/releases) 8 | [![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/M-L-P/Yours-LegacyBIOS/%E6%89%93%E5%8C%85.yml)](https://github.com/M-L-P/Yours-LegacyBIOS/actions) 9 | [![GitHub Discussions](https://img.shields.io/github/discussions/M-L-P/Yours-LegacyBIOS)](https://github.com/M-L-P/Yours-LegacyBIOS/discussions) 10 | [![GitHub Repo stars](https://img.shields.io/github/stars/M-L-P/Yours-LegacyBIOS?style=social)](https://github.com/M-L-P/Yours-LegacyBIOS/stargazers) 11 | 12 |
13 | 14 | [English](README.md)|[简体中文](README-自述文件.md)|[繁體中文](README-繁體中文.md)|... 15 | --|--|--|-- 16 | 17 |

Yours-LegacyBIOS

18 | 19 | [Y-o-u-r-s](https://github.com/M-L-P/rEFInd-theme-Yours),
20 | Your own usual rEFInd's sign for LegacyBIOS.
21 | 依赖于 [CloverBootloader](https://github.com/CloverHackyColor/CloverBootloader) 或 [OpenCore](https://github.com/acidanthera/OpenCorePkg) 的 DUET,Legacy BIOS 能够运行 rEFInd。
22 | 它能够拯救你的旧电脑,使其支持 64位 的 UEFI,化腐朽为神奇。 23 | #### 你的设备满足以下情况中的一种, 24 | - 不支持 64bit UEFI, 25 | - - 支持 32bit UEFI; 26 | - - 仅支持 Legacy BIOS,不支持 UEFI; 27 | - GPU/vBIOS 不支持 UEFI;(如下图)
28 | ![image](https://user-images.githubusercontent.com/69227436/213923710-120c5a02-30ea-4005-b2fe-c8e9adc7b6d7.png) 29 | - GPT 磁盘; 30 | - 内置 SATA 硬盘; 31 | - NVMe 固态 需要 使用 ~~`boot7`~~`boot0` 或 `boot1`; 32 | #### 工作原理 33 | [Power On]=>[Legacy BIOS]=>[MBR]=>[PBR]=>[`boot`]=>[`Yours_x64.efi`]=>[Yours]
34 | ~~[Power On]=>[Legacy BIOS]=>[MBR]=>[PBR]=>[`boot6`]=>[`Yours_x64.efi`]=>[Yours]~~
35 | ~~[Power On]=>[Legacy BIOS]=>[MBR]=>[PBR]=>[`boot7`]=>[`Yours_x64.efi`]=>[Yours]~~
36 | [Power On]=>[Legacy BIOS]=>[MBR]=>[PBR]=>[`boot5`]=>[`Yours_x64.efi`]=>[Yours]
37 | [Power On]=>[Legacy BIOS]=>[MBR]=>[PBR]=>[`boot0`]=>[`Yours_x64.efi`]=>[Yours]
38 | [Power On]=>[Legacy BIOS]=>[MBR]=>[PBR]=>[`boot1`]=>[`Yours_x64.efi`]=>[Yours]
39 | - 默认情况, `boot`; 40 | - ~~按下 6, 是 Clover 的 `boot6`;~~ 41 | - ~~按下 7, 是 Clover 的 `boot7`;~~ 42 | - 按下 5, 是 Clover 的 `boot5`; 43 | - 按下 0, `boot0`,OpenCore 的 `bootx64`(添加了键鼠驱动和NVMe驱动后重新编译); 44 | - 按下 1, `boot1`,OpenCore 的 `bootx64-blockio`(添加了键鼠驱动和NVMe驱动后重新编译); 45 | #### 文件结构树状图 46 | 47 | 48 | ----------------------------------------------------------------------------------------------------------------------------------- 49 | ## 💻️预览👀 50 | 51 |
52 | 🖱️点击展开查看🖱️ 53 | 54 | 55 | 56 |
57 | 58 | ## 🧭指南⬇️ 59 | 60 | 需要使用 [DiskGenius](https://www.diskgenius.com/) 和 BOOTICE。 61 | ### 转化 MBR 为 GPT 62 | __注意__: 所有文件是为 GPT 分区表准备的,因为我不使用 MBR 分区表。
63 | 如果你的硬盘已经是 GPT 的,你要 __跳过__ 这个步骤。 64 |
65 | 🖱️点击展开查看🖱️ 66 | https://www.diskgenius.com/manual/convert-partition-table-style.php 67 | 68 | ![image](https://github.com/M-L-P/Yours-LegacyBIOS/assets/69227436/93246cd8-f616-43c7-a5ac-8ca224ef8fb0) 69 |
70 | 71 | ### 覆盖引导记录 72 | 73 |
74 | 🖱️点击展开查看🖱️ 75 | 76 | #### 备份 EFI 文件 77 | - 打开 DiskGenius; 78 | - 把 ESP分区 中的所有的文件 复制到其他你想要的位置; 79 | #### 格式化 ESP 成 FAT32 80 | - 打开 DiskGenius; 81 | - 格式化 ESP 成 FAT32(Basic data partition); 82 | - - 或者 在第一个分区前面 创建一个 FAT32 分区。 83 | #### 覆盖 MBR 和 PBR 84 | - 打开 BOOTICE; 85 | - `zip: Boot_Record\mbr(boot0af)` 用来覆盖内置 SATA 硬盘的 MBR;
86 | ![mbr](https://github.com/M-L-P/Yours-LegacyBIOS/assets/69227436/af8d8cb4-3e10-48a8-ab06-71a8e69ed3ba) 87 | 88 | - `zip: Boot_Record\pbr(boot1f32alt)` 用来覆盖 FAT32 的 PBR;
89 | ![pbr](https://github.com/M-L-P/Yours-LegacyBIOS/assets/69227436/a2a6f8f1-6b28-48a3-90fc-b7ed140adc86) 90 | 91 | #### 把 FAT32 变成 ESP 92 | - 打开 DiskGenius; 93 | - [编辑分区参数](https://www.diskgenius.com/manual/modify-partition-para.php), set the FAT32 as ESP; 94 | - 命名为 `EFI system partition`(如下图)
95 | [](https://www.diskgenius.com/manual/modify-partition-para.php) 96 |
97 | 98 | ### 调整 ESP 分区 99 | 100 |
101 | 🖱️点击展开查看🖱️ 102 | 103 | #### 恢复 EFI 文件 104 | - 从你的备份中把 EFI 文件恢复进 ESP 分区。 105 | 106 | #### 复制 Yours 到 ESP 分区 107 | - 复制文件 `zip: ESP\boot` 到 `ESP: \`; 108 | - 复制文件 `zip: ESP\boot5` 到 `ESP: \`; 109 | - ~~复制文件 `zip: ESP\boot6` 到 `ESP: \`~~; 110 | - ~~复制文件 `zip: ESP\boot7` 到 `ESP: \`~~; 111 | - 复制文件 `zip: ESP\boot0` 到 `ESP: \`; 112 | - 复制文件 `zip: ESP\boot1` 到 `ESP: \`; 113 | - 复制文件夹 `zip: ESP\EFI\Yours` 到 `ESP: \EFI`; 114 | 115 | #### 若有 黑苹果 116 | 为了让图形界面衔接得更加紧密,中途没有代码界面,同时支持安全启动
117 |
118 | 🖱️点击展开查看🖱️ 119 | 120 | 文件名|所在目录|文件原理|文件功能 121 | -|-|-|- 122 | `GRUB_PreLoader_CLOVER.efi`|`EFI\Yours\efi\Hackintosh`|链接到 `EFI\CLOVER\CLOVERX64.efi`|预启动 CloverBootloader 123 | `GRUB_PreLoader_CLOVER.png`|`EFI\Yours\efi\Hackintosh`|同名显示图标|用于显示 Clover 的启动图标 124 | `GRUB_PreLoader_OC.efi`|`EFI\Yours\efi\Hackintosh`|链接到 `EFI\OC\OpenCore.efi`|预启动 OpenCore 125 | `GRUB_PreLoader_OC.png`|`EFI\Yours\efi\Hackintosh`|同名显示图标|用于显示 OC 的启动图标 126 | 127 | #### 若是 OpenCore 128 | - 你应该编辑 `config.plist` 设置 `LauncherOption=System` ; 129 | 130 | #### 若不用黑果 131 | - 你可以选定 Clover 或 OC 的启动图标,按下【Delete】,隐藏对应的入口。 132 |
133 | 134 |
135 | 136 | ## 📝FAQ❓️ 137 | ### USB 可移动硬盘 或 NVMe 固态 138 | - 用键盘按下数字键`7`,当黑色屏幕的左上角出现白色的 `_` 的时候; 139 | 140 | ## ⭐收藏🌟 141 | 如果你喜欢并且期待未来的更新,你可以点亮星星。💫 142 | 143 | ## 🎉来源🎊 144 | - *Roderick W. Smith* 的 [rEFInd Boot Manager](http://www.rodsbooks.com/refind/); 145 | - [a1ive](https://github.com/a1ive) 的 [grub2-filemanager](https://github.com/a1ive/grub2-filemanager); 146 | - [CloverBootloader](https://github.com/CloverHackyColor/CloverBootloader) 的 DUET; 147 | - [OpenCore](https://github.com/acidanthera/OpenCorePkg) 的 DUET; 148 | - 六音的 github 加速器,用于显示图片,https://gh.sixyin.com/ ; 149 | 150 | ## [🧁请我吃块巧克力🍫](https://github.com/M-L-P/.github/blob/main/profile/chocolate/README.md) -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- 1 | [icons](https://github.com/M-L-P/icons)|[rEFInd-theme-Yours](https://github.com/M-L-P/rEFInd-theme-Yours)|[Yours-LegacyBIOS](https://github.com/M-L-P/Yours-LegacyBIOS)|[Yours-UEFI](https://github.com/M-L-P/Yours-UEFI) 2 | -|-|-|- 3 | 4 |
5 | 6 | [![GitHub release (latest by date)](https://img.shields.io/github/v/release/M-L-P/Yours-LegacyBIOS)](https://github.com/M-L-P/Yours-LegacyBIOS/releases/latest) 7 | [![GitHub all releases](https://img.shields.io/github/downloads/M-L-P/Yours-LegacyBIOS/total)](https://github.com/M-L-P/Yours-LegacyBIOS/releases) 8 | [![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/M-L-P/Yours-LegacyBIOS/%E6%89%93%E5%8C%85.yml)](https://github.com/M-L-P/Yours-LegacyBIOS/actions) 9 | [![GitHub Discussions](https://img.shields.io/github/discussions/M-L-P/Yours-LegacyBIOS)](https://github.com/M-L-P/Yours-LegacyBIOS/discussions) 10 | [![GitHub Repo stars](https://img.shields.io/github/stars/M-L-P/Yours-LegacyBIOS?style=social)](https://github.com/M-L-P/Yours-LegacyBIOS/stargazers) 11 | 12 |
13 | 14 | [English](README.md)|[简体中文](README-自述文件.md)|[繁體中文](README-繁體中文.md)|... 15 | --|--|--|-- 16 | 17 |

Yours-LegacyBIOS

18 | 19 | [Y-o-u-r-s](https://github.com/M-L-P/rEFInd-theme-Yours),
20 | Your own usual rEFInd's sign for LegacyBIOS.
21 | Relying on DUET of [CloverBootloader](https://github.com/CloverHackyColor/CloverBootloader) or [OpenCore](https://github.com/acidanthera/OpenCorePkg), rEFInd can run on Legacy BIOS.
22 | It can save your old PC and make it support 64bit UEFI. 23 | #### Your device should meet the requirements, 24 | - NOT supporting 64bit UEFI, 25 | - - 32bit UEFI supported; 26 | - - Only Legacy BIOS without UEFI supported; 27 | - GPU/vBIOS UEFI not supported; (See the picture)
28 | ![image](https://user-images.githubusercontent.com/69227436/213923710-120c5a02-30ea-4005-b2fe-c8e9adc7b6d7.png) 29 | - GPT disk; 30 | - Internal SATA disk; 31 | - NVMe SSD should be with ~~`boot7`~~`boot0` or `boot1`; 32 | #### Working Principle 33 | [Power On]=>[Legacy BIOS]=>[MBR]=>[PBR]=>[`boot`]=>[`Yours_x64.efi`]=>[Yours]
34 | ~~[Power On]=>[Legacy BIOS]=>[MBR]=>[PBR]=>[`boot6`]=>[`Yours_x64.efi`]=>[Yours]~~
35 | ~~[Power On]=>[Legacy BIOS]=>[MBR]=>[PBR]=>[`boot7`]=>[`Yours_x64.efi`]=>[Yours]~~
36 | [Power On]=>[Legacy BIOS]=>[MBR]=>[PBR]=>[`boot5`]=>[`Yours_x64.efi`]=>[Yours]
37 | [Power On]=>[Legacy BIOS]=>[MBR]=>[PBR]=>[`boot0`]=>[`Yours_x64.efi`]=>[Yours]
38 | [Power On]=>[Legacy BIOS]=>[MBR]=>[PBR]=>[`boot1`]=>[`Yours_x64.efi`]=>[Yours]
39 | - By default, `boot`; 40 | - ~~Pressing 6, `boot6` of Clover;~~ 41 | - ~~Pressing 7, `boot7` of Clover;~~ 42 | - Pressing 5, `boot5` of Clover; 43 | - Pressing 0, `boot0`, `bootx64` of OpenCore(recompiled after adding keyboard and mouse drivers and NVMe driver); 44 | - Pressing 1, `boot1`, `bootX64-blockio` of OpenCore(recompiled after adding keyboard and mouse drivers and NVMe driver); 45 | #### File Tree 46 | 47 | 48 | ----------------------------------------------------------------------------------------------------------------------------------- 49 | ## 💻️Preview👀 50 | 51 |
52 | 🖱️Click to Unfold to see🖱️ 53 | 54 | 55 | 56 |
57 | 58 | ## 🧭Guide⬇️ 59 | 60 | It need use [DiskGenius](https://www.diskgenius.com/) and BOOTICE. 61 | ### Convert MBR to GPT 62 | __Note__: All I have prepared is for GPT partition table, because I do NOT use MBR partition table.
63 | If your disk has been already GPT, You shall __SKIP__ this step. 64 |
65 | 🖱️Click to Unfold to see🖱️ 66 | https://www.diskgenius.com/manual/convert-partition-table-style.php 67 | 68 | ![image](https://github.com/M-L-P/Yours-LegacyBIOS/assets/69227436/93246cd8-f616-43c7-a5ac-8ca224ef8fb0) 69 |
70 | 71 | ### Cover Boot Record 72 | 73 |
74 | 🖱️Click to Unfold to see🖱️ 75 | 76 | #### Backup EFI files 77 | - Open DiskGenius; 78 | - Copy all files from ESP to somewhere else you would like; 79 | #### Format ESP as FAT32 80 | - Open DiskGenius; 81 | - Format ESP as FAT32(Basic data partition); 82 | - - Or create a FAT32 before the first partition; 83 | #### Cover MBR and PBR 84 | - Open BOOTICE; 85 | - `zip: Boot_Record\mbr(boot0af)` covers MBR of Internal SATA disk;
86 | ![mbr](https://github.com/M-L-P/Yours-LegacyBIOS/assets/69227436/af8d8cb4-3e10-48a8-ab06-71a8e69ed3ba) 87 | 88 | - `zip: Boot_Record\pbr(boot1f32alt)` covers PBR of that FAT32;
89 | ![pbr](https://github.com/M-L-P/Yours-LegacyBIOS/assets/69227436/a2a6f8f1-6b28-48a3-90fc-b7ed140adc86) 90 | 91 | #### Turn FAT32 into ESP 92 | - Open DiskGenius; 93 | - [Modify partition parameters](https://www.diskgenius.com/manual/modify-partition-para.php), set the FAT32 as ESP; 94 | - Name it `EFI system partition`(See the picture)
95 | [](https://www.diskgenius.com/manual/modify-partition-para.php) 96 |
97 | 98 | ### Manage ESP 99 | 100 |
101 | 🖱️Click to Unfold to see🖱️ 102 | 103 | #### Restore EFI files 104 | - Restore EFI files from your backup into ESP. 105 | 106 | #### Copy Yours in ESP 107 | - Copy the file `zip: ESP\boot` into `ESP: \`; 108 | - Copy the file `zip: ESP\boot5` into `ESP: \`; 109 | - ~~Copy the file `zip: ESP\boot6` into `ESP: \`~~; 110 | - ~~Copy the file `zip: ESP\boot7` into `ESP: \`~~; 111 | - Copy the file `zip: ESP\boot0` into `ESP: \`; 112 | - Copy the file `zip: ESP\boot1` into `ESP: \`; 113 | - Copy the folder `zip: ESP\EFI\Yours` into `ESP: \EFI`; 114 | 115 | #### For Hackintosh 116 | In order to ensure that the graphical interface is NOT going to be interrupted by codes, and that it will support Secure Boot
117 |
118 | 🖱️Click to Unfold to see🖱️ 119 | 120 | File Name|Directory|Principle|Function 121 | -|-|-|- 122 | `GRUB_PreLoader_CLOVER.efi`|`EFI\Yours\efi\Hackintosh`|Linked to `EFI\CLOVER\CLOVERX64.efi`|PreLoader CloverBootloader 123 | `GRUB_PreLoader_CLOVER.png`|`EFI\Yours\efi\Hackintosh`|To display icon with the same name|Used to display icon of Clover 124 | `GRUB_PreLoader_OC.efi`|`EFI\Yours\efi\Hackintosh`|Linked to `EFI\OC\OpenCore.efi`|PreLoader OpenCore 125 | `GRUB_PreLoader_OC.png`|`EFI\Yours\efi\Hackintosh`|To display icon with the same name|Used to display icon of OC 126 | 127 | #### For OpenCore 128 | - Set `LauncherOption=System` by editing `config.plist`; 129 | 130 | #### Without Hackintosh 131 | - You can select the icon of Clover or OC, press [Delete], and hide the corresponding entry. 132 |
133 | 134 |
135 | 136 | ## 📝FAQ❓️ 137 | ### USB disks or NVMe SSDs 138 | - Press the key `7` by using the keyboard when the black is showing a white `_` at the top left; 139 | 140 | ## ⭐Star🌟 141 | If you like it and are looking forward to the coming update, you can star it.💫 142 | 143 | ## 🎉Credit🎊 144 | - [rEFInd Boot Manager](http://www.rodsbooks.com/refind/) of *Roderick W. Smith*; 145 | - [grub2-filemanager](https://github.com/a1ive/grub2-filemanager) of [a1ive](https://github.com/a1ive); 146 | - DUET of [CloverBootloader](https://github.com/CloverHackyColor/CloverBootloader); 147 | - DUET of [OpenCore](https://github.com/acidanthera/OpenCorePkg); 148 | 149 | ## [🧁Buy me a piece of chocolate🍫](https://github.com/M-L-P/.github/blob/main/profile/chocolate/README.md) 150 | -------------------------------------------------------------------------------- /git.sh: -------------------------------------------------------------------------------- 1 | #####git submodule add https://github.com/M-L-P/rEFInd-theme-Yours.git ESP/EFI/Yours 2 | git submodule update --remote --------------------------------------------------------------------------------