image

Dual Booting OSX and auto unmount

[<Back>] [<Edit>]

Dual Booting OSX and auto unmount

diskutil info "/dev/disk1"
Open up terminal and enter the following.

cat /etc/fstab

This will return something like these.

UUID=6B04944D-A925-3E01-ADC9-2F0A785B62B5 none hfs rw,noauto
UUID=052D7EDF-814D-329B-9A5F-358008305BF0 none hfs rw,noauto


Notice the series of dash and numbers between the UUID and none This is the Universal Unique Identifier for each hardrive.

You need to pick the correct UUID for the drive you want to un-mount when a particular OS is loaded.

Say you have 2 disk, 1 has OSX 10.6.0 and the other is 10.6.6 because your still testing the newest patch for snow leopard and you don't want to mess with the current stable system, then your /etc/fstab should look like the following

When booting 10.6.0
UUID=<UUID of the 10.6.6 Boot Disk> none hfs rw,noauto

When booting 10.6.6
UUID=<UUID of the 10.6.0 Boot Disk> none hfs rw,noauto

This will force the system to NOT automatically mount the disk with the matching UUID.
cat /etc/fstab

This will return something like these.

UUID=6B04944D-A925-3E01-ADC9-2F0A785B62B5 none hfs rw,noauto
UUID=052D7EDF-814D-329B-9A5F-358008305BF0 none hfs rw,noauto


Notice the series of dash and numbers between the UUID and none This is the Universal Unique Identifier for each hardrive.

You need to pick the correct UUID for the drive you want to un-mount when a particular OS is loaded.

Say you have 2 disk, 1 has OSX 10.6.0 and the other is 10.6.6 because your still testing the newest patch for snow leopard and you don't want to mess with the current stable system, then your /etc/fstab should look like the following

When booting 10.6.0
UUID=<UUID of the 10.6.6 Boot Disk> none hfs rw,noauto

When booting 10.6.6
UUID=<UUID of the 10.6.0 Boot Disk> none hfs rw,noauto

This will force the system to NOT automatically mount the disk with the matching UUID.


By: Ted Simbajon





 
Instagram Stats
pinoy
my Kung Fu