mount ntfs disk into /home

6 views
Skip to first unread message

Yevdokimov Alexander

unread,
May 20, 2013, 5:49:14 AM5/20/13
to vinux-...@googlegroups.com
Hello, dear friends!
Suddenly I've got a new question.
Is it possible to mount ntfs partition into my home directory? How can
it be done? And by the way, is ext4 fs faster then ntfs?
What will happen when I mount ntfs disk into home directory? Please,
could you tell me, how shall it work?
If I have folders with the same name on ntfs disk and in home directory,
what will I see? two folders, or they will be murged into one?
Shortly, I have all my documents and files on a ntfs partition, but it
would be nice to have them in my home dir.
May be, it would be better to format my "documents" partition into ext4
befor?
Thanks a lot!
Best regards, Alexander.

Pawel Loba

unread,
May 20, 2013, 6:01:44 AM5/20/13
to vinux-...@googlegroups.com
Hi,
What I am doing for my needs is as follows:
1) mkdir -p /home/disk1 - where disk1 is going to be a directory where I am
going to mount my ntfs hd.
2) mount /dev/sdb1 /home/disk1 - assuming that your ntfs partition is listed
as /ev/sdb1.
After this you should see all of your stuff from your ntfs partition under
/home/disk1.
Hth,
Pawel.
--
--
You received this message because you are subscribed to the Google Groups
Vinux Support Forum.
To post to this group, send email to vinux-...@googlegroups.com.
To unsubscribe from this group, send email to
vinux-suppor...@googlegroups.com.

Home Page: http://vinuxproject.org/

Wiki: http://wiki.vinuxproject.org/


Rob Riddle

unread,
May 20, 2013, 6:07:18 AM5/20/13
to vinux-...@googlegroups.com
Create a folder where you want your ntfs partitions to mount. For instance
~/mypartition

Find the designation of your ntfs drive with

ls -l /dev/disk/by-label

You should get something like

lrwxrwxrwx 1 root root 10 May 19 09:13 Local -> ../../sdd1

Then as root edit /etc/fstab with this line:

LABEL=Local ntfs-3g /home/yourname/mypartition defaults,noatime,users 0 0

Then, do

sudo mount -a

Hope this helps.

----- Original Message -----
From: "Yevdokimov Alexander" <yeas...@gmail.com>
To: <vinux-...@googlegroups.com>
Sent: Monday, May 20, 2013 4:49 AM
Subject: VINUX-SUPPORT: mount ntfs disk into /home


Yevdokimov Alexander

unread,
May 21, 2013, 4:32:15 PM5/21/13
to vinux-...@googlegroups.com
Hello, dear friends!
Thanks very much, it works!
And does option to choose mount point for disk in G-partit mean that
whole disk will be mounted in /home dir (not a subdir)? And it will be
used for storeing data, which is usually stored into /home?
Am i right, that there will be created folder my_username on that disk
in this case?
Thanks again!
Best regards, Alexander.

B. Henry

unread,
May 24, 2013, 2:22:16 PM5/24/13
to vinux-...@googlegroups.com
If you choose the partition when installing you could have the ntfs partition, which could be a whole disk, as the /home directory and sub-dirs would indeed be created for each user. Not best idea, but doable. ntfs just is not best option for Linux, and to avoid dfrag issues you should keep a larger amount of space free than needed on native linux filesystem types such as ext4.
But for what you are doing as I understand it, just mounting an existing ntfs filesystem in to home, this is apart from your user specific folders, and only if you change in to this directory, or specify it when writing files, making dirs and so forth will new content appear there. I'd only use this for something that you really want or need to access in both Windows and Linux, and then generally only for larger files such as audio and vids, etc. You could of course mount file in /home/yourusername/ and then it would appear as a subdir of your ~ (home folder/ subfolder specific to your user). So, again, you must specify this if that's where you want to write something. You would have for instance Desktop Documents Downloads andall the other folders that are created by default or that you created along side of what ever you called the ntfs partition when you mounted it.
Hope I understood all that you wre asking and answered any doubts you have. Best way to see what's going on of course is to navigate in either a GUI file manager or from the command line, or both.
ls shows you all that is in a given directory, ls -a includes the hidden stuff, (that starts with ., ) and there are many other ls options. Try man ls to get an idea.
You may also enjoy a CLI package manager such as lfm.
sudo apt-get update
sudo apt-get install lfm

Regards,
--
B.H.
Reply all
Reply to author
Forward
0 new messages