Jump to content

How to unmount Windows partitions automatically?


Biovital
 Share

5 posts in this topic

Recommended Posts

I'm starting a new thread because I tried asking for help in this thread in the Genius Bar but no one has replied for a long time so I hope I can get some replies here.

 

I have iatkos installed (see sig for specs) on a single SATA harddrive. Windows 7 was installed 1st, using a 500gb partiton for data, and the 100mb partition for the System Reserved partition (boot files etc). Then I installed iatkos on the remaining space on the HD, ending up with Chameleon V2 bootloader and all is working well.

 

I want to automatically unmount the Windows Partitions as I have no need for them when Im in OS X. I followed all the instructions in this thread to the letter, but only the login script worked, and only for the windows partition, not the System Reserved one.

 

Here is my partition layout:

 

Last login: Tue Jun  1 10:00:27 on ttys000
	 joes-imac:~ Joe$ diskutil list
	 /dev/disk0
		#:					   TYPE NAME					SIZE	   IDENTIFIER
		0:	 FDisk_partition_scheme						*596.2 Gi   disk0
		1:			   Windows_NTFS System Reserved		 100.0 Mi   disk0s1
		2:			   Windows_NTFS Windows				 439.4 Gi   disk0s2
		3:				  Apple_HFS OSX					 156.7 Gi   disk0s3
	 joes-imac:~ Joe$

 

And here is my fstab file:

 

joes-imac:~ Joe$ cat /etc/fstab
   LABEL=Windows none ntfs ro,noauto
   LABEL=System/040Reserved none ntfs ro,noauto
   joes-imac:~ Joe$

 

editing the fstab has no effect whatsoever. Nothing happens when I reboot. I dont know if its a permissions issue (if so what should it be set to?) or what. I've tried the rw switch with no luck either. Also Im not sure if I'm doing the /040 thing right. Apparently spaces in partition names (like System Reserved) wont work unless you throw in /040 but I dont know why or how to do it properly if thats the case.

 

I should mention I have NTFS-3G/Macfuse installed, so I dont know if that has something to do with it.

 

So can someone please aid me in automatically unmounting windows partitions during boot. I know I can add a . before the name of the partition (well I cant for system reserved) but thats not a fix and I wont do that. Gotta figure out how to do it the right way via fstab. Any help would be greatly appreciated!

Link to comment
Share on other sites

here's a good artical

 

http://www.macosxhints.com/article.php?story=20060930150059172

 

you need to save it as just fstab without any extentions, if your using the fstab.hd file then that's why it doesn't work.

 

this sample works for me

 

UUID=your uuid here  none  ntfs  ro,noauto

Link to comment
Share on other sites

1. Learn to use Google.

2. Learn to add things to the (LoginHook) script. (I bet you forgot to use quotes for the name of the "System Reserved" Volume)

3. Use UUID instead of LABEL in the fstab.

4. If you are using Paragon NTFS (this may also apply to NTFS-3G, which you are using) try this

Link to comment
Share on other sites

 Share

×
×
  • Create New...