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

    • OpenAI is now rolling out Lockdown Mode to more ChatGPT users by Pradeep Viswanathan Back in February, OpenAI first announced Lockdown Mode for users who want the most comprehensive protection from potential attacks. At the time of the announcement, the company mentioned that this feature was available to a small set of highly security-conscious users, including executives or security teams at leading organizations. Today, OpenAI announced that Lockdown Mode is now rolling out to all personal ChatGPT accounts, including Free, Go, Plus, and Pro, and also self-serve ChatGPT Business accounts. Users can enable the feature from ChatGPT Settings > Security when it is available for their account. When Lockdown Mode is enabled, ChatGPT limits or disables several features that connect to the web or external services. These include live web browsing, Deep Research, Agent Mode, and more. Here is the complete list of services that will be disabled in Lockdown Mode: Live web browsing: Web browsing is limited to accessing only cached content. Search results may be limited, unavailable, or stale. Image support: ChatGPT may not display images in regular responses or retrieve images from the web. Users can still upload image files, and image generation remains available where it is otherwise available. Deep research: Deep research is disabled. Agent mode: Agent mode is disabled. Canvas networking: Users cannot approve Canvas-generated code to access the network. File downloads: ChatGPT cannot download files for data analysis. ChatGPT can still operate on your manually uploaded files. It is important to note that Lockdown Mode does not completely block prompt injections from appearing in content that ChatGPT processes. For example, a malicious instruction could still be present in an uploaded file or cached web content. However, the mode is designed to reduce the ways such an attack could send sensitive information outside the conversation. Along with Lockdown Mode, OpenAI today also announced that the Active sessions feature is now available across ChatGPT accounts and workspace types. This feature allows users to review where their account is signed in across devices and end sessions if required. A session will have the following information displayed: Device or browser information. First-party app context, such as ChatGPT, Codex, or API Platform. Approximate location. Sign-in date and time. Whether the device is a trusted device. Whether it is your current session. OpenAI highlighted that the Active sessions feature will not be available for accounts linked to an organization’s single sign-on setup, including SAML or OIDC.
    • with LSTC and ESU, moving to w11 or linux because w10 suddenly will not work when in reality it works and its a better choice, of course there are also developers that only test in 11 or force you to have TPM and Secure boot for the sake of "better security" in games. or most likely people is buying new PC that only ship with 11
    • with LTSC and ESU there are still viable as a stable platform not that they care and let people deal with w11 crashing and burning every month support mean shet if the platform is trash
    • 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.
  • 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
      75
    4. 4
      Steven P.
      68
    5. 5
      FloatingFatMan
      63
  • Tell a friend

    Love Neowin? Tell a friend!