差異處
這裏顯示兩個版本的差異處。
| Both sides previous revision 前次修改 下次修改 | 前次修改 | ||
|
macos [2023/03/04 14:04] jz |
macos [2024/06/02 15:48] (目前版本) jz |
||
|---|---|---|---|
| 行 1: | 行 1: | ||
| ====== Macos ====== | ====== Macos ====== | ||
| + | |||
| + | ===== Software ===== | ||
| + | |||
| + | [[https://github.com/rodyager/RWTS-PDFwriter|RWTS PDF printer]] | ||
| ===== System ===== | ===== System ===== | ||
| 行 21: | 行 25: | ||
| diskutil list | diskutil list | ||
| diskutil unmount | diskutil unmount | ||
| + | </code> | ||
| + | |||
| + | <code> | ||
| + | diskutil partitionDisk /dev/disk7 MBR fat32 "P1" 100% | ||
| </code> | </code> | ||
| 行 179: | 行 187: | ||
| Enter an MBR hex code (default 07): 07 | Enter an MBR hex code (default 07): 07 | ||
| Set the bootable flag? (Y/N): n | Set the bootable flag? (Y/N): n | ||
| + | |||
| + | Recovery/transformation command (? for help): o | ||
| + | |||
| + | Disk size is 3907029168 sectors (1.8 TiB) | ||
| + | MBR disk identifier: 0xFDB98627 | ||
| + | MBR partitions: | ||
| + | |||
| + | Number Boot Start Sector End Sector Status Code | ||
| + | 1 1 411647 primary 0xEE | ||
| + | 2 411648 250413055 primary 0xAF | ||
| + | 3 * 518879232 2666362879 primary 0x07 | ||
| + | 4 2666362880 2934798335 primary 0x07 | ||
| </code> | </code> | ||
| + | ==== Create Install Disk for Windows 10 ==== | ||
| + | [[https://www.freecodecamp.org/news/how-make-a-windows-10-usb-using-your-mac-build-a-bootable-iso-from-your-macs-terminal/|How to Make a Windows 10 USB Using Your Mac]] | ||
| + | <code> | ||
| + | # GPT | ||
| + | diskutil eraseDisk MS-DOS "WIN10" GPT /dev/disk2 | ||
| + | # MBR | ||
| + | diskutil eraseDisk MS-DOS "WIN10" MBR /dev/disk2 | ||
| + | |||
| + | hdiutil mount ~/Downloads/Win10_1903_V1_English_x64.iso | ||
| + | rsync -vha --exclude=sources/install.wim /Volumes/CCCOMA_X64FRE_EN-US_DV9/* /Volumes/WIN10 | ||
| + | brew install wimlib | ||
| + | mkdir /Volumes/WIN10/sources | ||
| + | wimlib-imagex split /Volumes/CCCOMA_X64FRE_EN-US_DV9/sources/install.wim /Volumes/WIN10/sources/install.swm 3800 | ||
| + | </code> | ||
