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

    • Most boring game ever. Repetitive, empty, predictable, and full of cliches. Total waste of time and money, IMO.
    • Mafia: The Old Country expansion Man of Honor announced, brings back Salieri from original by Pulasthi Ariyasinghe During Summer Game Fest, 2K and Hanger 13 brought out a new Mafia: The Old Country trailer, revealing the game's first expansion. Named Man of Honor, this is slated to add two new chapters to the Enzo storyline that the game follows. There is an iconic character returning to the series with this expansion, with players set to run into Ennio Salieri, the future Don of the Salieri crime family. Fans of the original Mafia, or its Definitive Edition remake, may remember that name as one of the biggest characters in the storyline. This expansion is set prior to his rise to being the kingpin in the City of Lost Heaven. "Set in Sicily during the winter of 1905, Enzo Favara has proven himself a reliable soldier of the Torrisi crime family in the months since his initiation," says the studio about the new chapters. "Now, the Don entrusts him and Cesare with a delicate assignment of assisting Ennio Salieri, a man of honor recently released from prison and intent on reclaiming what is his." Working at Salieri's side, players will be heading into fresh environments as they return to the role of Enzo as a high-ranking soldato. The studio also promises brand-new weapons, fresh vehicles, and charms to collect in this expansion. Moreover, the expansion will add new content to the updated Free Ride mode. Alongside new collectibles and locations, this will add more challenges to beat alongside Salieri, which are described as runs that will "test the skills of even the most elite mafiosi." The Mafia: The Old Country Man of Honor story expansion will release on August 14, 2026, across PC, Xbox Series X|S, and PlayStation 5. It will cost $10 for owners of the base game to jump into.
    • Try installing Logitech Options
    • Telltale returns with The Wolf Among Us, re-revealing the sequel and a new remaster by Pulasthi Ariyasinghe Telltale Games, the studio known for its episodic games from the 2000s, had a surprise appearance at the Summer Game Fest showcase today. The studio has gone through a collapse, an acquisition, and a revival but has largely gone silent in recent years. Today's sudden announcement was for the popular The Wolf Among Us series, with news about the sequel and a remaster dropping. Set after the events of the 2013-released title, the sequel will bring back Biby Wolf for a new adventure in Fabletown. This town of fairy tale characters is becoming unstable, with Snow White not being able to keep order as before. "When a brutal series of crimes threatens to fracture the fragile balance holding Fabletown together, Bigby Wolf, sheriff of Fabletown, finds himself drawn into a dangerous conspiracy that reaches deep into the city’s criminal underworld," says the studio. "As suspicion spreads across the city and powerful forces work against him, Bigby must uncover the truth and decide what kind of sheriff - and what kind of wolf - he is willing to become." At the same time, Telltale also announced The Wolf Among Us Remastered, bringing back the classic with a fresh coat of paint. This will include all five episodes from the original game plus over an hour of extra content that will offer behind-the-scenes videos, cast interviews, image galleries, and deleted scenes. The remaster will also have updated visuals and improved UI elements and accessibility features, alongside upgrades to the animations, audio, and frame rates. Telltale has been working on this project for almost a decade now, but if the new release schedule holds, fans will be able to jump into The Wolf Among Us 2 sometime in 2027. As for The Wolf Among Us Remastered, this is slated to release during this holiday season.
    • I use a Linux laptop every day. I have tried to switch to Linux on my gaming PC which has a 5070 ti. It was not a great experience
  • 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
      488
    2. 2
      PsYcHoKiLLa
      270
    3. 3
      Skyfrog
      77
    4. 4
      Steven P.
      68
    5. 5
      FloatingFatMan
      63
  • Tell a friend

    Love Neowin? Tell a friend!