Share home directory between Linux and Windows dual boot
- by user877329
This question is somewhat similar to How to use Windows Share has home directory, but in this case Windows is not running.
I have installed a dual-boot configuration with Ubuntu 12.04 and Windows. My Windows partition is mounted on /C. Now I want either Ubuntu to locate home directories in
/C/Users
Which is the location of windows accounts
or I want Windows to use
D:\home
for home directories. (D is the name of the Ubuntu root directory).
For the first approach, I have managed to create a test user account
test-user:x:1004:1001:Test:/C/Users/test-user:/bin/bash
The account works but test-user cannot run any X session. From .xsession-errors
chmod: Changing rights on ”/C/Users/test-user/.xsession-errors”: Operation not permitted
Would it help get rid of that chmod, which has no effect? How do I?
If I use the second approach, I need the Ext2fsd driver, which seems to work, but I am not sure if Windows maps the Ext2 system that early.
Here is my fstab
proc /proc proc nodev,noexec,nosuid 0 0
UUID=e7cef061-ed8d-4a82-b708-0c8f4c6f297f / ext3 errors=remount-ro 0 1
UUID=2CDCEB43DCEB0644 /C ntfs defaults,umask=007,gid=46 0 0
UUID=b087b5c0-b4bd-47e7-8d34-48ad9b192328 none swap sw 0 0
Update: I found something here: http://www.tuxera.com/community/ntfs-3g-advanced/ Will work if i do a correct mapping between NT users and Linux users.