macos

差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

兩邊的前次修訂版 前次修改
下次修改
前次修改
macos [2023/03/04 13:36] jzmacos [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>
  
行 132: 行 140:
  
 Remove test mode watermark for Windows. Remove test mode watermark for Windows.
-https://winaero.com/download-universal-watermark-disabler/+[[https://winaero.com/download-universal-watermark-disabler/universal-watermark-disabler]] 
 + 
 + 
 +=== Fixing hybrid MBR === 
 + 
 +https://superuser.com/questions/1513265/how-can-i-create-a-bootable-mac-os-with-an-image-of-the-efi-and-os-partitions 
 + 
 +GPT 
 +<code> 
 +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  Boot  Start Sector   End Sector   Status      Code 
 +                         3907029167   primary     0xEE 
 +</code> 
 + 
 +Hybrid MBR 
 +<code> 
 +Recovery/transformation command (? for help): h 
 + 
 +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/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 
 +                             411647   primary     0xEE 
 +                  411648    250413055   primary     0xAF 
 +        *      518879232   2666362879   primary     0x07 
 +              2666362880   2934798335   primary     0x07 
 +</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>
  • macos.1677908200.txt.gz
  • 上一次變更: 2023/03/04 13:36
  • jz