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

    • Any decent ITSM will A) have a web form that allows a user to raise a ticket, if you're writing an email you can write a ticket. B) Monitor a mailbox and auto-generate tickets based on inbound mails for those users that really can't get their heads around the concept that if you have an issue you go to support.mycompany.com and fill in the box. From your description you're having users email the desk, and then having a human read each one and manually raise a ticket on behalf of the user.
    • Microsoft PC Manager 3.21.6.0 (Offline Installer) by Razvan Serea With Microsoft PC Manager, users can easily perform basic computer maintenance and enhance the speed of their devices with just one click. This app offers a range of features, including disk cleanup, startup app management, virus scanning, Windows Update checks, process monitoring, and storage management. Microsoft PC Manager key features: Storage Manager- easily uninstall infrequently used apps, manage large files, perform a cleanup, and set up Storage Sense to automatically clear temporary files. Health Checkup feature -scans for potential problems, viruses, and startup programs to turn off. It helps you identify unnecessary items to remove, optimizing your system's performance. Pop-up Management - block pop-up windows from appearing in apps. Windows Update - scans your system for any pending updates. Startup Apps - enable or disable startup apps on your PC, allowing you to optimize your system's startup performance. Browser Protection - rest assured that harmful programs cannot alter your default browser. Also enables you to change your default browser. Process Management - allows you to conveniently terminate any active process, ensuring optimal system performance and resource utilization. Anti-virus protection - Fully integrated with Windows Security. Safeguard your PC anytime. Quick Steps: Download Microsoft PC Manager Offline Installer (APPX/MSIX) with Adguard Adguard serves as a third-party online service, offering a user-friendly method for directly downloading appx, appxbundle, and msixbundle files from the Microsoft Store. Official download links will be generated for both the app's various versions and its dependency packages. How to download Microsoft PC Manager Offline Installer (APPX/MSIX) 1. Initially, you must find the app URL within the Microsoft Store. Access the Microsoft Store via your browser and search for "Microsoft PC Manager". Once located, copy the app URL, which includes the product ID, either from the address bar or from the provided link below. https://apps.microsoft.com/detail/9PM860492SZD 2. Now paste the app URL into the designated area, then click the check mark button to produce a direct download link. 3. To download, right-click the relevant link and select “Save link as…” from your browser's menu. Occasionally, Microsoft Edge may flag the download as insecure. In such cases, consider utilizing alternative browsers such as Google Chrome or Firefox to successfully complete the download. Microsoft PC Manager is a completely free tool optimized exclusively for use on Windows 10 (19042.0 and above) and Windows 11. Download: Microsoft PC Manager 3.21.6.0 | from Microsoft Store View: Microsoft PC Manager Home Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • I've never even heard of this browser before seeing this article. How does it differ from other browsers?
    • Fixing things? Have you ever tried linux? Everything works out of the box nowadays in most common hardware. This includes Wifi and Bluetooth. If anything, if they return back to windows is because they haven't found an equivalent program which often used on windows.
    • 18 months ago I bought the 4TB variant for $380 CDN. Now it is $1500 CDN [$949 US].
  • 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
      484
    2. 2
      PsYcHoKiLLa
      272
    3. 3
      Skyfrog
      78
    4. 4
      Steven P.
      65
    5. 5
      FloatingFatMan
      61
  • Tell a friend

    Love Neowin? Tell a friend!