make /home as ntfs

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read how to get help

make /home as ntfs

Postby godsotherhand on Tue Jul 10, 2012 4:15 am

Can this be done? i have 3 partitions: Windows, and / with a separate /home for linux. But i want the /home partition to be shared with Windows, no point in having that one as ext4. Fat is out of the question, as i need files bigger than 4gb.
godsotherhand
Level 4
Level 4
 
Posts: 271
Joined: Tue Mar 22, 2011 12:43 pm

Linux Mint is funded by ads and donations.
 

Re: make /home as ntfs

Postby veggen on Tue Jul 10, 2012 5:38 am

I see no reason for this not to work. Not sure how good idea it is*, but it should certainly work.

*As explained below, it's actually a terrible idea.
Last edited by veggen on Tue Jul 10, 2012 6:19 pm, edited 1 time in total.
User avatar
veggen
Level 4
Level 4
 
Posts: 401
Joined: Mon May 09, 2011 4:54 am

Re: make /home as ntfs

Postby remoulder on Tue Jul 10, 2012 7:49 am

veggen wrote:it should certainly work

No it won't. NTFS doesn't understand linux filesystem permissions and vice-versa, so you can't have a home on an NTFS partition. What you can have is symlinks in your home resident on a linux FS, that point to data folders on an NTFS FS, but these should only be for things like documents, photos, etc, not configuration files and settings.
[Edit] your original post and add [SOLVED] once your question is resolved.

“The people are my God” stressing the factor determining man’s destiny lies within man not in anything outside man, and thereby defining man as the dominator and remoulder of the world.
User avatar
remoulder
Level 17
Level 17
 
Posts: 7667
Joined: Fri May 09, 2008 1:14 pm

Re: make /home as ntfs

Postby godsotherhand on Tue Jul 10, 2012 8:22 am

so no way to have a /home partition that Windows can see, except using FAT32?
godsotherhand
Level 4
Level 4
 
Posts: 271
Joined: Tue Mar 22, 2011 12:43 pm

Re: make /home as ntfs

Postby eanfrid on Tue Jul 10, 2012 8:43 am

You should use a dedicated partition, not your /home. Then you will have no problem to format this one in NTFS in order to share it with Windows.

Using FAT on your /home will not work either since FAT is worse than NTFS and don't know anything about user permissions (it's all or nothing).
Main desktop: Debian GNU/Linux Wheezy 64bit - MATE 1.8.1
(i5 2400@3.7GHz - 16GB DDR3 - HD6770 w/radeon driver - SSD+RAID1)
Safer than Dropbox
User avatar
eanfrid
Level 7
Level 7
 
Posts: 1871
Joined: Mon Apr 30, 2012 2:49 am
Location: FR

Re: make /home as ntfs

Postby veggen on Tue Jul 10, 2012 3:36 pm

Ok, I'm maybe seriously misunderstanding things, but why can't you have your home on a non-POSIX file system? Everyone will have access to it, the OS won't be able to lock files in the expected way, the files will skip trash, the forgotten demons will escape their extra-dimensional prisons etc, but none of these reasons make it impossible to do so, they just make it a bad idea. I mean, this guy did it. Or am I still wrong?
Last edited by veggen on Tue Jul 10, 2012 6:19 pm, edited 1 time in total.
User avatar
veggen
Level 4
Level 4
 
Posts: 401
Joined: Mon May 09, 2011 4:54 am

Re: make /home as ntfs

Postby eanfrid on Tue Jul 10, 2012 6:08 pm

It is not plainly impossible but some softwares won't work at all because they need to rule user permissions.

Many of the worst ideas are technically possible. Encouraging bad solutions is not really helping.
Main desktop: Debian GNU/Linux Wheezy 64bit - MATE 1.8.1
(i5 2400@3.7GHz - 16GB DDR3 - HD6770 w/radeon driver - SSD+RAID1)
Safer than Dropbox
User avatar
eanfrid
Level 7
Level 7
 
Posts: 1871
Joined: Mon Apr 30, 2012 2:49 am
Location: FR

Re: make /home as ntfs

Postby veggen on Tue Jul 10, 2012 6:17 pm

Encouraging? Not me.
(Edited my first post to reflect the non-encouraging tone)
User avatar
veggen
Level 4
Level 4
 
Posts: 401
Joined: Mon May 09, 2011 4:54 am

Re: make /home as ntfs

Postby godsotherhand on Wed Jul 11, 2012 10:18 am

Using FAT on your /home will not work either since FAT is worse than NTFS and don't know anything about user permissions (it's all or nothing).

FAT doesnt work? then why is it a option in the installer? When i choose to format the /home partition (before installing Mint 13) it lets me choose fat and set it to /home ... I dont need anything fancy on there.. It just needs to store data. I aint no big company CEO, i dont need security on it, i dont care if X from country Y has access to the files because it a stupid choice of a file system. Im the only one using the PC.

Anyway, if any1 has an idea on how this could be done, please post. Windows is just for games, and i rarelly play games.


i followed this thread
http://www.linuxquestions.org/questions ... on-830499/
But i didnt really understood that much..
godsotherhand
Level 4
Level 4
 
Posts: 271
Joined: Tue Mar 22, 2011 12:43 pm

Re: make /home as ntfs

Postby eanfrid on Wed Jul 11, 2012 11:43 am

From the Mint installer (denies install of / on FAT32, whatever you try):
Un système de fichiers fat32 ne peut pas être monté sur /home car il n'offre pas toutes les fonctionnalités d'un système de fichiers Unix. Vous devriez choisir un autre type de système de fichiers comme ext2.
which can be translated to
A fat32 file system cannot be mounted on /home since it does not offer all the functions of a Unix file system. You should choose another type of file system like ext2
Main desktop: Debian GNU/Linux Wheezy 64bit - MATE 1.8.1
(i5 2400@3.7GHz - 16GB DDR3 - HD6770 w/radeon driver - SSD+RAID1)
Safer than Dropbox
User avatar
eanfrid
Level 7
Level 7
 
Posts: 1871
Joined: Mon Apr 30, 2012 2:49 am
Location: FR

Re: make /home as ntfs

Postby edwardr on Wed Jul 11, 2012 12:42 pm

When I set up a dual boot machine I link my Linux and Windows Music, Pictures, Video etc folders together so that, for example, the Windows "My Documents/My Music" directory points to the same directory as the Mint "Music" directory. The Linux home folder needs to allow permissions etc., so I make the /home folder ext3 or ext4. Windows cannot read ext3 or ext4 partitions, but Linux can read Windows ntfs partitions, so I create symlinks to link the Mint Music, Pictures etc folders to their corresponding Windows folders.

First, I follow Fred's excellent post on automounting a Windows NTFS partition at boot and use it to automount the Windows "My Documents" folder:

viewtopic.php?f=42&t=22093


The I delete the Downloads, Music, Pictures etc. folders from my Mint home directory and replace them with links to the appropriate Windows folders by doing the following:

Open a terminal and type:

cd /home

then type:

rm -r Music

{this removes Music and all subfolders recursively. MAKE SURE THERE ARE NO FILES IN THERE YOU WANT TO KEEP BECAUSE THEY WILL BE GONE FOREVER!}

then type:

ln -s "/location/of/windows/My Music" ~/Music

{note the " " to handle spaces in the path name}


Repeat for Pictures, Videos etc.

Please be careful you don't delete any files you want to keep.
The optimist proclaims that we live in the best of all possible worlds; and the pessimist fears this is true
User avatar
edwardr
Level 4
Level 4
 
Posts: 224
Joined: Thu Jun 03, 2010 1:09 pm
Location: USA - Texas

Re: make /home as ntfs

Postby godsotherhand on Thu Jul 12, 2012 2:09 am

This would work for the Download folder too, and any program that downloads a file, will download it there now? cool, thank you for your post.
godsotherhand
Level 4
Level 4
 
Posts: 271
Joined: Tue Mar 22, 2011 12:43 pm

Re: make /home as ntfs

Postby edwardr on Thu Jul 12, 2012 10:51 am

Yes, you can link the download folders. I'm not that familiar with Windows 7, but I believe it has a Downloads folder that you can link to, although Internet Explorer may not save all downloaded files there by default (it might try to put pictures in the pictures folder for example). Windows XP does not come with a Download folder, but if you use Firefox then Firefox will create a Download folder, or you can just create one yourself.

I'm not sure if Windows 7 has a Documents folder, XP does not, unless you count My Documents that has all the other folders inside it. I normally create a Documents folder inside My Documents to make the folder structures match between XP and Mint.
The optimist proclaims that we live in the best of all possible worlds; and the pessimist fears this is true
User avatar
edwardr
Level 4
Level 4
 
Posts: 224
Joined: Thu Jun 03, 2010 1:09 pm
Location: USA - Texas

Re: make /home as ntfs

Postby godsotherhand on Fri Jul 13, 2012 2:33 am

I dont care about the Windows part of it.
godsotherhand
Level 4
Level 4
 
Posts: 271
Joined: Tue Mar 22, 2011 12:43 pm

Linux Mint is funded by ads and donations.
 

Return to Other topics

Who is online

Users browsing this forum: Bing [Bot] and 3 guests