差異處
這裏顯示兩個版本的差異處。
| 兩邊的前次修訂版 前次修改 下次修改 | 前次修改 | ||
| macos [2023/03/04 13:42] – jz | macos [2024/06/02 15:48] (目前版本) – jz | ||
|---|---|---|---|
| 行 1: | 行 1: | ||
| ====== Macos ====== | ====== Macos ====== | ||
| + | |||
| + | ===== Software ===== | ||
| + | |||
| + | [[https:// | ||
| ===== System ===== | ===== System ===== | ||
| 行 21: | 行 25: | ||
| diskutil list | diskutil list | ||
| diskutil unmount | diskutil unmount | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | diskutil partitionDisk /dev/disk7 MBR fat32 " | ||
| </ | </ | ||
| 行 132: | 行 140: | ||
| Remove test mode watermark for Windows. | Remove test mode watermark for Windows. | ||
| - | [[https:// | + | [[https:// |
| + | === Fixing hybrid MBR === | ||
| - | Fixing hybrid MBR | + | https:// |
| + | GPT | ||
| + | < | ||
| + | Create a protective MBR which covers the whole disk. | ||
| + | Command (? for help): x | ||
| + | |||
| + | Expert command (? for help): n | ||
| + | |||
| + | Expert command (? for help): o | ||
| + | |||
| + | Disk size is 3907029168 sectors (1.8 TiB) | ||
| + | MBR disk identifier: 0x00000000 | ||
| + | MBR partitions: | ||
| + | |||
| + | Number | ||
| + | | ||
| + | </ | ||
| + | |||
| + | Hybrid MBR | ||
| + | < | ||
| + | Recovery/ | ||
| + | |||
| + | WARNING! Hybrid MBRs are flaky and dangerous! If you decide not to use one, | ||
| + | just hit the Enter key at the below prompt and your MBR partition table will | ||
| + | be untouched. | ||
| + | |||
| + | Type from one to three GPT partition numbers, separated by spaces, to be | ||
| + | added to the hybrid MBR, in sequence: 2 3 4 | ||
| + | Place EFI GPT (0xEE) partition first in MBR (good for GRUB)? (Y/N): Y | ||
| + | |||
| + | Creating entry for GPT partition #2 (MBR partition #2) | ||
| + | Enter an MBR hex code (default AF): AF | ||
| + | Set the bootable flag? (Y/N): n | ||
| + | |||
| + | Creating entry for GPT partition #3 (MBR partition #3) | ||
| + | Enter an MBR hex code (default 07): 07 | ||
| + | Set the bootable flag? (Y/N): y | ||
| + | |||
| + | Creating entry for GPT partition #4 (MBR partition #4) | ||
| + | Enter an MBR hex code (default 07): 07 | ||
| + | Set the bootable flag? (Y/N): n | ||
| + | |||
| + | Recovery/ | ||
| + | |||
| + | Disk size is 3907029168 sectors (1.8 TiB) | ||
| + | MBR disk identifier: 0xFDB98627 | ||
| + | MBR partitions: | ||
| + | |||
| + | Number | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | </ | ||
| + | |||
| + | ==== Create Install Disk for Windows 10 ==== | ||
| + | [[https:// | ||
| + | < | ||
| + | # GPT | ||
| + | diskutil eraseDisk MS-DOS " | ||
| + | # MBR | ||
| + | diskutil eraseDisk MS-DOS " | ||
| + | |||
| + | hdiutil mount ~/ | ||
| + | rsync -vha --exclude=sources/ | ||
| + | brew install wimlib | ||
| + | mkdir / | ||
| + | wimlib-imagex split / | ||
| + | </ | ||