meeseontheleese Posted April 3, 2005 Share Posted April 3, 2005 (edited) Im using ubuntu right now, on a 40 gb partition. the rest of my hdd, 160 gb, is formatted in ntfs, My question is how do i get ubuntu to read files from that ntfs partition. Right now the partition is blank, so im also wondering if theirs someway,through vnc, to get my other winxp machine (that has the files backed up on it), to send the files to taht 160 gb partition. I know its a long shot, but im hoping its possible, Edited April 3, 2005 by s0n1cm0nk3y Link to comment https://www.neowin.net/forum/topic/304488-ubuntu-and-ntfs/ Share on other sites More sharing options...
ehlo Posted April 3, 2005 Share Posted April 3, 2005 http://linux-ntfs.sourceforge.net/ Link to comment https://www.neowin.net/forum/topic/304488-ubuntu-and-ntfs/#findComment-585719692 Share on other sites More sharing options...
Sophism Posted April 3, 2005 Share Posted April 3, 2005 you have to compile the kernal with NTFS support. See the above link for more information. Link to comment https://www.neowin.net/forum/topic/304488-ubuntu-and-ntfs/#findComment-585719697 Share on other sites More sharing options...
meeseontheleese Posted April 3, 2005 Author Share Posted April 3, 2005 so theres no really easy way to do this. do i go about this from the terminal, or do i have to reinstall and tweak it? Also is their a more ubuntu centered n00b friendly version? Link to comment https://www.neowin.net/forum/topic/304488-ubuntu-and-ntfs/#findComment-585719854 Share on other sites More sharing options...
markwolfe Veteran Posted April 3, 2005 Veteran Share Posted April 3, 2005 I am sure that there is a command like apt-get install kernel-module-ntfs that will add what you need to the kernel rather seamlessly. Unfortunately, I don't use Ubuntu, so can't help a lot. A quick google didn't turn up anything that seemed to be very specific on this. Have you tried seeing if you have this in synaptic? Link to comment https://www.neowin.net/forum/topic/304488-ubuntu-and-ntfs/#findComment-585719923 Share on other sites More sharing options...
Mike Douglas Posted April 3, 2005 Share Posted April 3, 2005 http://ubuntuguide.org/#mountunmountntfs Link to comment https://www.neowin.net/forum/topic/304488-ubuntu-and-ntfs/#findComment-585720681 Share on other sites More sharing options...
meeseontheleese Posted April 3, 2005 Author Share Posted April 3, 2005 after i mount, will i have to keep mounting say everytime i reboot?, or is there some way to mount it under computer. as if it was a second drive or something. Link to comment https://www.neowin.net/forum/topic/304488-ubuntu-and-ntfs/#findComment-585721508 Share on other sites More sharing options...
Mike Douglas Posted April 3, 2005 Share Posted April 3, 2005 after i mount, will i have to keep mounting say everytime i reboot?, or is there some way to mount it under computer. as if it was a second drive or something. 585721508[/snapback] the file you want to edit is called /etc/fstab. Add an entry for your second harddrive there. Link to comment https://www.neowin.net/forum/topic/304488-ubuntu-and-ntfs/#findComment-585721531 Share on other sites More sharing options...
meeseontheleese Posted April 4, 2005 Author Share Posted April 4, 2005 (edited) okay, have it opened with nano and ready to edit, what should i put these values as # /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 /dev/hda1 / ext3 defaults,errors=remount-ro 0 1 /dev/hdc /media/cdrom0 udf,iso9660 ro,user,noauto 0 0 /dev/hdd /media/cdrom1 udf,iso9660 ro,user,noauto 0 0 ? ive made /hdd2/ for the mount, hope that works, now i just need your help on the rest. Edited April 4, 2005 by s0n1cm0nk3y Link to comment https://www.neowin.net/forum/topic/304488-ubuntu-and-ntfs/#findComment-585721651 Share on other sites More sharing options...
Mike Douglas Posted April 4, 2005 Share Posted April 4, 2005 okay, have it opened with nano and ready to edit, what should i put these values as# /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 /dev/hda1 / ext3 defaults,errors=remount-ro 0 1 /dev/hdc /media/cdrom0 udf,iso9660 ro,user,noauto 0 0 /dev/hdd /media/cdrom1 udf,iso9660 ro,user,noauto 0 0 ? ive made /hdd2/ for the mount, hope that works, now i just need your help on the rest. 585721651[/snapback] /dev/hdd2 /hdd2 ntfs umask=0222 0 0 Link to comment https://www.neowin.net/forum/topic/304488-ubuntu-and-ntfs/#findComment-585721707 Share on other sites More sharing options...
meeseontheleese Posted April 4, 2005 Author Share Posted April 4, 2005 (edited) # /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 /dev/hda1 / ext3 defaults,errors=remount-ro 0 1 /dev/hda2 /hdd2 ntfs umask=0222 0 0 /dev/hdc /media/cdrom0 udf,iso9660 ro,user,noauto 0 0 /dev/hdd /media/cdrom1 udf,iso9660 ro,user,noauto 0 0 thats what i have, because my second partition under cfdisk is labeled hda2, hope that was correct. still dont get anything in my computer folder though, should i reboot or something? ps. i mounted it as well sudo mount /dev/hda2 /hh2 -t ntfs -o umask=0222. not sure if i did it correctly so that it would show in computer, but when i got to the hdd2 folder, it shows i have 149 gb free. also, is their someway to turn this partition into a shared partition? I need it to be that way so i can send files from a winxp machine, to my machine. Edited April 4, 2005 by s0n1cm0nk3y Link to comment https://www.neowin.net/forum/topic/304488-ubuntu-and-ntfs/#findComment-585721753 Share on other sites More sharing options...
aldo Posted April 4, 2005 Share Posted April 4, 2005 I didn't have any issues at all with mounting NTFS on Ubuntu. I didn't even have to download a kernel module. I just typed 'mkdir /mount/c', modified my fstab with the enteries, rebooted and they were all there. To share your folders, just goto System --> Administration --> Shared folders and add it in there. Worked great with me! Link to comment https://www.neowin.net/forum/topic/304488-ubuntu-and-ntfs/#findComment-585722043 Share on other sites More sharing options...
kevcart3 Posted April 4, 2005 Share Posted April 4, 2005 (edited) http://ubuntuguide.org can be very helpful in that, aldo is right, ubuntu is pretty much already set up for reading NTFS based file systems, you just need to edit /etc/fstab. Type "fdisk -l" to list the partitions and hdds on your pc, find the right one and add it to fstab just like ubuntuguide has it set up. After that you should not have any problems, and it should automatically mount on bootup First you create a directory to mount in for example, I would use /mount/windows or something like that. Then you need to "sudo fdisk -l" and find where that partition is located, for example, mine is /dev/hdb1 Then, simple add a line similar to this to /etc/fstab /dev/hdb1 /mount/windows ntfs umask=000 0 0 That'll let you mount on boot-up. Edited April 4, 2005 by kevcart3 Link to comment https://www.neowin.net/forum/topic/304488-ubuntu-and-ntfs/#findComment-585722073 Share on other sites More sharing options...
meeseontheleese Posted April 4, 2005 Author Share Posted April 4, 2005 yeah it mounts it to mount/hdd2. what im trying to do is to get it to appear in computer, like when you go to places, then computer. also now thats its shared, anyone know how to go about sending files from a xp machine (by recognizing the shared folder on that machine), to it. Link to comment https://www.neowin.net/forum/topic/304488-ubuntu-and-ntfs/#findComment-585722491 Share on other sites More sharing options...
meeseontheleese Posted April 4, 2005 Author Share Posted April 4, 2005 anyone have any ideas, anyone? Link to comment https://www.neowin.net/forum/topic/304488-ubuntu-and-ntfs/#findComment-585724151 Share on other sites More sharing options...
MateoGWJ Posted April 4, 2005 Share Posted April 4, 2005 The unoffical ubuntu guide linked above mounts the windows drive as /media/windows, which is pretty easy for what you want to accomplish. As far as Ubuntu is concerned, the windows drive or partition becomes a cdrom. I don't know about write access though. Link to comment https://www.neowin.net/forum/topic/304488-ubuntu-and-ntfs/#findComment-585724615 Share on other sites More sharing options...
meeseontheleese Posted April 4, 2005 Author Share Posted April 4, 2005 lol, i know its easy, just the problem is that its not showing up in computer, i can go to the folder and see that its there, but its not showing up in computer for some reason. Link to comment https://www.neowin.net/forum/topic/304488-ubuntu-and-ntfs/#findComment-585725429 Share on other sites More sharing options...
markwolfe Veteran Posted April 4, 2005 Veteran Share Posted April 4, 2005 If you want to have your Linux box have space for Windows to use (Windows sees your Linux box as having a shared folder), you will need to configure and start the samba daemon. Not sure, but is this what you are trying to do at this point? Link to comment https://www.neowin.net/forum/topic/304488-ubuntu-and-ntfs/#findComment-585726440 Share on other sites More sharing options...
meeseontheleese Posted April 5, 2005 Author Share Posted April 5, 2005 close, i have samba right now, and ive set that folder as shared, im just trying to figure out how to: a. get linux to put my new ntfs partition in the computer folder, that way i can select it along with my dvdrom drives and my filesystem. b. get my other winxp machine to notice it, so i can send files to my machines ntfs partition. Link to comment https://www.neowin.net/forum/topic/304488-ubuntu-and-ntfs/#findComment-585730722 Share on other sites More sharing options...
markwolfe Veteran Posted April 5, 2005 Veteran Share Posted April 5, 2005 a. get linux to put my new ntfs partition in the computer folder, that way i can select it along with my dvdrom drives and my filesystem. I think I must have missed a detail or something. Are you trying to have other networked Windows PCs access a NTFS partition that is on your Linux box? I am pretty sure that won't work (or at least, it won't work well). Your Linux box can freely export any directory (or partition, since that is just another directory to Linux) that is in a filesystem it can read & write to. Writing to NTFS isn't really recommended. It can probably be done, but may not be a good idea. Unless I misunderstood your statement... Link to comment https://www.neowin.net/forum/topic/304488-ubuntu-and-ntfs/#findComment-585730884 Share on other sites More sharing options...
meeseontheleese Posted April 5, 2005 Author Share Posted April 5, 2005 no you understood. Guess that just means im gonna have to wait to get windows up on my soon to be bought 40gb hdd, and then send files to it. Since linux can now read my 160gb partition, can it play music and movies from it as well? Link to comment https://www.neowin.net/forum/topic/304488-ubuntu-and-ntfs/#findComment-585730971 Share on other sites More sharing options...
markwolfe Veteran Posted April 5, 2005 Veteran Share Posted April 5, 2005 Yes. NTFS read is not a problem. Link to comment https://www.neowin.net/forum/topic/304488-ubuntu-and-ntfs/#findComment-585730990 Share on other sites More sharing options...
Recommended Posts