Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

hi i have an Ubntu machine with 30GB space and need to create a folder in "/" as "/server". I have 50GB space in NTFS(windows) . i want to join this 50GB to linux how can i merge these two.

share|improve this question

migrated from serverfault.com Jan 19 '10 at 8:47

This question came from our site for professional system and network administrators.

add comment

5 Answers

You wish to mount the NTFS partition to /server?

Assuming your 50GB drive is /dev/sdb1:

sudo -i (mounting should be done as root)

cd / (you want it in /server)

mkdir server (mount points must exist)

mount /dev/sdb1 -t NTFS /server (mount...this may error out.)

This will not persist across reboots. You will need to edit /etc/fstab to do so. Make a backup of that file before you continue.

share|improve this answer
    
Here's a fstab guide if you need one: mesanna.com/2009/02/02/… –  Nathaniel Jan 20 '10 at 18:45
add comment

Both are different file systems. So cant merge it. You can mount windows partitions to linux and by some windows softwares can open linux partitions to windows.

share|improve this answer
add comment

as stated by Kumar P you cannot merge them because those two are on different filesystems: anyway you could be interested in LVM for the next time.

Regards

share|improve this answer
    
"merge" could mean joining two partitions to a single filesystem, as LVM allows, or it could mean making the space available somewhere in the filesystem tree (eg, a simple mount). it's not clear enough what the OP wants to accomplish to guess. –  quack quixote Jan 23 '10 at 17:06
    
I supposed he wants to joint 'em because he tolds "i want to join this 50GB to linux": anyway a little more contributes from the OP are welcome! :D –  dag729 Jan 23 '10 at 17:21
add comment

If you mean by 'merge' to use the harddisk space in Linux, may I suggest something: Reformat the NTFS partition with ext3/4 or any other filesystem of your choice, and mount it in the var folder /var/server as server folder. This would have the advantage that no matter how many stuff ends up in your server folder, it will never effect the system.

share|improve this answer
add comment

You should ble able to install ntfs-3g, load the FUSE module to load on boot and basically follow the same steps outlined above but mount with something like

mount -t ntfs-3g /dev/YOURDRIVE /your/mount/point

Then add something like this to fstab

/dev/YOURDRIVE  /your/mount/point         ntfs-3g   silent,umask=0002,utf8=true

--

Ubuntu also seems to have a short tutorial and some documentation about settings up NTFS-3g to read/write to NTFS drives.

https://help.ubuntu.com/community/MountingWindowsPartitions/ThirdPartyNTFS3G

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.