Wyłączenie automatycznego montowania partycji pod Cataliną

Poradniki, instrukcje i dyskusja na temat instalacji macOS 10.15 Catalina na komputerze PC.
ab76
rookie
Posty: 14
Rejestracja: 24 maja 2020, 09:12

Wyłączenie automatycznego montowania partycji pod Cataliną

Post autor: ab76 »

Witam
Troszkę jestem do tyłu z hackintoshem ale czas nadrobić zaległości. Chciałby aby system nie montował automatycznie partycji windowsowych , niestety sposób jaki znałem nie działa już z cataliną czyli edycją pliku /etc/fstab i dopisaniem UUID=(tu numer dysku który ma nie być montowany) none hfs rw,noauto. Znacie może jakiś inny sposób aby catalina nie montowała automatycznie wybranych dysków ?
Pozdrawiam
Asus Prime Z370-A II, Core i5- 9600K, Sapphire Pulse Vega 56, Corsair Vengeance 16GB 3200MHz
Awatar użytkownika
Alpha01
Hardcore Hackintosher
Posty: 3778
Rejestracja: 21 kwie 2019, 18:04
Lokalizacja: Silesia Superior

Re: Wyłączenie automatycznego montowania partycji pod Cataliną

Post autor: Alpha01 »

Jest sposób ręczny, ale mocno pokomplikowany. Ja używam do tego celu programu TinkerTool System.

Sposób ręczny (dawno już nie weryfikowany):

1) Make sure the disk you want to prevent mounting at boot is mounted.
2) Launch Terminal.

3) Run the following command to print out information about the disk:
diskutil info /Volumes/<volume that shouldn't be mounted>


diskutil info /Volumes/NAME


UUID=6B308624-6E71-450C-A760-5E8A93673EFD none ntfs ro,noauto
UUID=D5A0446F-69FD-4DED-BEE6-45C53C658FED none apfs rw,noauto
UUID=9EBB43A6-42D3-4D62-B250-558A44A288DB none apfs rw,noauto
UUID=CB5B9DBB-AA6B-4372-9425-798DE83853E4 none apfs rw,noauto
UUID=760B714A-F4F6-3625-995C-F3E9026FF8E4 none hfs rw,noauto



4) Locate the line that starts with: Volume UUID:. Select the UUID (Universal Unique Identifier) that follows on the rest of the line. It will be something that looks like FF9DBDC4-F77F-3F72-A6C2-26676F39B7CE. Your value will be different
5) Copy the UUID to the clipboard.

6) Navigate to /etc by typing the following and pressing enter:



cd /etc



7) Edit (or create) an fstab file by typing the following and pressing enter:


sudo vifs


8) Enter the following line, substituting the UUID you copied in step 5). (Note: vifs uses the value of the EDITOR environment variable to pick the text editor to use. This article assumes you are using the default value of vim.) In vim, the editor starts in command mode. To add a new line, use the arrow keys to move to the end of the document and press the o key to append a new line and enter edit mode. Then type the following:

UUID=FF9DBDC4-F77F-3F72-A6C2-26676F39B7CE none hfs rw,noauto

and press the return key.
9) Type escape to return to command mode and then type ZZ (shift key down) to save and exit vifs (or some other method to save and exit if you are using something other than vim).
10) Type the following and press enter to reset the auto mounter:
sudo automount -vc
11) Quit Terminal
Gigabyte Z390 M Gaming, Core i7- 9700K, PowerColor RX 5700 Red Dragon, 16GB Crucial Ballistix Sport 3000MHz
Bootloader OC
ab76
rookie
Posty: 14
Rejestracja: 24 maja 2020, 09:12

Re: Wyłączenie automatycznego montowania partycji pod Cataliną

Post autor: ab76 »

Podziękował opcja z TinkerTool System zdecydowanie lepsza kilka kliknięć i zamierzony efekt jest, po co sobie utrudniać.
Asus Prime Z370-A II, Core i5- 9600K, Sapphire Pulse Vega 56, Corsair Vengeance 16GB 3200MHz
ODPOWIEDZ