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

    • It's time to say goodbye to Edge and switch back to Firefox. There's no way to disable the ugly rounded corners that appear everywhere. Not even on the page frame. No one uses screens with rounded corners, you idiots.
    • Being on Github makes it more trustable since I can see the code at any point.
    • Gen Atlas is the next game from Shadow of the Colossus creator, this time with giant robots by Pulasthi Ariyasinghe The mind behind widely well-received games like Ico, Shadow of the Colossus, and The Last Guardian, Fumito Ueda, showed up at Summer Game Fest today, and that was to reveal his latest project. Being developed by genDESIGN, Gen Atlas is incoming with what looks to be plenty of mech and robot action. Watch the reveal trailer, which makes not much sense, above. The game will have players waking up on an abandoned planet where deserted facilities and grand designs from the original creators remain. Soon, they will stumble upon a colossal robot, from which players gain access to the power to change the world. "Across an endless expanse of time, the remnants of those forgotten constructs begin to move once more," adds the studio. The gameplay snippets seen in the trailer show the player character climbing giant robots (as expected from the creator), while also controlling these titans somehow as well. This is a fully single-player open-world adventure. “The team and I are grateful to all the fans who’ve been eager to learn more about our game,” says Fumito Ueda, CEO and creative director of genDESIGN. “Their passion and enthusiasm has always motivated and inspired us. We hope to share an experience that inspires moments of quiet wonder and discovery.” Before gaining the name Gen Atlas, Ueda first announced this project back in 2024 with the codename Project Robot. Interestingly, this will be a project being funded and published by Epic Games, which should mean that a Steam release is out of the question. Gen Atlas will be releasing on Epic Games Store, Xbox Series X|S, and PlayStation 5. A release date has not been announced just yet.
    • How backwards can you have it? Yes, Linux was gaining because of Linux handhelds and the push for gaming compatibility, but that's not desktop users, it barely converts anyone who owns a SteamDeck, though it helps for those who wanted to do it, but anyways, the AI+RAM debacle helped Linux because people can't easily upgrade their PCs easily and many hate AI so they'd be incentivized to try Linux.
    • 🤦🏻‍♂️ No, expected because 10 EOL
  • Recent Achievements

    • 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
    • Week One Done
      I2D earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      473
    2. 2
      PsYcHoKiLLa
      269
    3. 3
      Skyfrog
      78
    4. 4
      Steven P.
      68
    5. 5
      +Edouard
      61
  • Tell a friend

    Love Neowin? Tell a friend!