ubuntu and ntfs


Recommended Posts

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 by s0n1cm0nk3y
Link to comment
https://www.neowin.net/forum/topic/304488-ubuntu-and-ntfs/
Share on other sites

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?

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.

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 by s0n1cm0nk3y
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

# /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 by s0n1cm0nk3y

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!

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 by kevcart3

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.

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?

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.

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...

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?

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Qmmp 2.3.3 by Razvan Serea Qmmp (Qt-based MultiMedia Player) is a free, open-source audio player that delivers a classic music listening experience with a modern foundation. Inspired by the legendary Winamp, Qmmp features a familiar, customizable interface that supports both Winamp and XMMS skins, making it instantly recognizable to long-time users. It handles a wide variety of audio formats including MP3, OGG Vorbis, FLAC, WAV, AAC, and many others, ensuring smooth playback across diverse music libraries. In addition to basic playback, Qmmp offers advanced features such as a 10-band equalizer, crossfading, gapless playback, and audio visualization plugins. Users can manage playlists efficiently, create and save multiple lists, and even enable streaming from online sources. Plugin support extends the player’s capabilities, allowing integration of features like lyrics display, ReplayGain, and more. Built with the Qt framework, Qmmp runs smoothly and efficiently, making it ideal even for older systems. 10 great QMMP features you might not know: Global Hotkeys Support – Control playback using customizable system-wide keyboard shortcuts. CUE Sheet Support – Automatically detects and plays tracks from CUE files for full album playback. Last.fm Scrobbling – Integrated support for sending playback data to Last.fm. Audio CD Playback – Play music directly from audio CDs. Command Line Interface – Control Qmmp via command-line options for scripting or automation. System Tray Integration – Minimize to and control playback from the system tray. MPRIS Support – Integration with desktop media player controls via the MPRIS (Media Player Remote Interfacing Specification) interface. Spectrum Analyzer and Oscilloscope – Built-in visualizations for real-time audio feedback. Configurable Notifications – Custom pop-ups for track changes and playback status. Multiple Output Backends – Support for ALSA, PulseAudio, JACK, and more, offering flexible audio routing. Qmmp 2.3.3 changelog: fixed build with PipeWire versions less than 0.3.50; fixed settings dialog layout; fixed default CUE encoding; fixed possible null pointer dereference; fixed tracks order when added using drag and drop (2.3.3 only); fixed uninitialized structure usage; improved sid plugin: added libsidplayfp 3.0 support; added feature to build without residfp engine; fixed memory leak; fixed displaying audio information; updated Japanese translation (2.3.3 only). Download: Qmmp 64-bit | 24.0 MB (Open Source) Download: Qmmp 32-bit | 24.1 MB View: Qmmp Homepage | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • BATorrent 3.0.3 is out.
    • The current Statcoungter desktop numbers has Google Chrome increasing it's market share this past year and currently commanding 75% share. Everybody else is just making up the numbers with even MS Edge losing 3% this past year and has dipped just below 10% share which is staggering considering it's default on every Windows deviced purchased. If these numbers are correct that terrible Edge number is both devastating and embarrassing for MS especially when you add in the terribly low Bing market share. This leads me to ask a couple of questions as the default browser holding just less than 10% market share seems really weird. It used to be that all Chromium browsers were being counted as Google Chrome in some cases.  Is this still happening? Do these high Google Chrome numbers contains some Edge user numbers?
    • Yeah, all web browsers seem to have some junk in them these days. The regular Brave browser has a lot of unnecessary stuff in it, similar to Microsoft Edge, so I don't see any benefits of using Brave over Microsoft Edge if you already have Microsoft Edge fully set up with ad blockers and that. The cleanest or best free browser outside of 'Microsoft Edge' I’ve tried so far is 'Samsung Browser'. It has very little bloat and is a nice-looking web browser with an inbuilt 'Ad blocker'. I also really like the web browser called 'Floorp' that is based on Firefox. This browser can also install Chrome extensions. I have a system wide Ad blocking program for Windows 11 that doesn't just blocks ads in the web browser, but over the whole system. I don't really need a web browser with an inbuilt ad blocker because of that.
  • Recent Achievements

    • Rookie
      moog19 went up a rank
      Rookie
    • Mentor
      grik went up a rank
      Mentor
    • Dedicated
      JKR earned a badge
      Dedicated
    • One Year In
      CHUNWEI earned a badge
      One Year In
    • Conversation Starter
      FBSPL earned a badge
      Conversation Starter
  • Popular Contributors

    1. 1
      +primortal
      491
    2. 2
      PsYcHoKiLLa
      270
    3. 3
      Skyfrog
      75
    4. 4
      Steven P.
      68
    5. 5
      FloatingFatMan
      63
  • Tell a friend

    Love Neowin? Tell a friend!