Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: How do you mount and read ntfs partitions?

  1. #1
    Junior Member
    Join Date
    Apr 2004
    Location
    Raleigh, NC, USA
    Posts
    6

    How do you mount and read ntfs partitions?

    I would like to mount and read the ntfs partitions on my computer I'm currently using knoppix with... and be able to write some files to a floppy or other media... how do I mount these directories? (from the cmd line) thx

  2. #2
    Junior Member registered user
    Join Date
    Apr 2004
    Posts
    10
    Let's suppose your NTFS is a slave hard disk and you are logged in as root. Create a directory to /mnt/hdb1 to mount to (or any other directory name you prefer) and type in shell as root:

    mount -t ntfs /dev/hdb1 /mnt/hdb1

    Note: ntfs can't be written to.

  3. #3
    Junior Member registered user
    Join Date
    Apr 2004
    Posts
    10
    Oh, I forgot. For the floppy:
    mount /dev/fd0 /mnt/floppy

    Check out the following file: /etc/fstab. It contains the default mount points, so you could just write "mount /dev/devicename" and the OS will take care of the missing details.

  4. #4
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Portland, OR USA
    Posts
    568
    From the "more than you wanted to know" dept, here's a link to the Linux NTFS project's FAQ. It notes that "The original driver, in [kernel] 2.4 has some write code in it, but it is extremely dangerous to use it. The possibility of destroying your filesystem is very high."

    Reading data from an NTFS partition is fine, though.

    So be sure to mount it read-only (e.g. by placing -o ro at the end of the mount example given earlier). <edit> Ooops, forgot the "-o" switch; the entire command is "mount -t ntfs /dev/hda1 /mnt/hda1 -o ro"; although the mount command is smart enough that you can shorten it to "mount /dev/hda1 /mnt/hda1 -o ro". </edit>

    There is a Knoppix "clone" named Linux Defender Live that includes a, shall we say, novel new utility that's actually able to safely write to NTFS partitions. It's called Captive, and it actually downloads, installs, and uses WinXP NTFS drivers from MS! (It has a GUI wizard to install them that's very easy to use.) Check it out.

  5. #5
    Junior Member
    Join Date
    Apr 2004
    Location
    Raleigh, NC, USA
    Posts
    6
    Quote Originally Posted by eco2geek
    From the "more than you wanted to know" dept, here's a link to the Linux NTFS project's FAQ. It notes that "The original driver, in [kernel] 2.4 has some write code in it, but it is extremely dangerous to use it. The possibility of destroying your filesystem is very high."

    Reading data from an NTFS partition is fine, though.

    So be sure to mount it read-only (e.g. by placing ro at the end of the mount example given earlier).

    There is a Knoppix "clone" named Linux Defender Live that includes a, shall we say, novel new utility that's actually able to safely write to NTFS partitions. It's called Captive, and it actually downloads, installs, and uses WinXP NTFS drivers from MS! (It has a GUI wizard to install them that's very easy to use.) Check it out.
    Is that the one that uses wine? I stumbled across that one the other day.

  6. #6
    Junior Member
    Join Date
    Apr 2004
    Location
    Raleigh, NC, USA
    Posts
    6
    My thing is why can we mount remote ntfs via samba and read/write to it and not do it locally? It makes little sence to me.

  7. #7
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    the remote mount uses that computers os for file manipulations.
    otoh if it works with linux running on both machines im speachles, then it would be possible to make a "virtuall mount" and use that for rw access.

  8. #8
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    235
    If what Thaidog says is true, I must admit, he's got a point. Makes no sense to me if you can read/write to ntfs thru the network, and not do it locally. I used to wonder the same thing when connecting win9x computers to an NT domain network. It was always M$ contention that fat16/32 couldn't read/write to ntfs but thru the network it could. Could it be that the tcp/ip protocol is somehow enabling the read/write feature thru emulation at real time speed? If so, then why don't the developers make use of that to develop a native module that would emulate any filesystem from linux to any other filesystem thru tcp/ip without having to use a wrapper of the native proprietary code, such as ntfs?

  9. #9
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Portland, OR USA
    Posts
    568
    My thing is why can we mount remote ntfs via samba and read/write to it and not do it locally? It makes little sence to me.
    That's a good question, and if you'll allow me to make a half-assed guess: From cursory inspection, it appears that the APIs for SMB over TCP/IP are built on stuff that was created by IBM back in 1984, then standardized by the IETF in 1987. Microsoft's implementation of it is pretty well documented by Microsoft itself, e.g. on MSDN. In a nutshell, how to "do" native Windows networking is documented well enough that the Samba team could make their own Un*x implementation of it.

    OTOH, how to "do" low-level NTFS read/write/etc. access is not. Microsoft tells you enough about its API so that, for example, you can write your own defrag program (on Windows); but Microsoft's not going to tell you enough about how it works at a low level so you can include native NTFS support in your favorite free OS's kernel.

    With Samba you can mount NTFS volumes and read and write to them, but remember, it's the actual Windows computer that's still handling the low-level hard drive access. Samba's just "telling it what to do."

    (End of half-assed guess. )

  10. #10
    Junior Member
    Join Date
    Apr 2004
    Location
    Raleigh, NC, USA
    Posts
    6
    [quote="eco2geek"]
    With Samba you can mount NTFS volumes and read and write to them, but remember, it's the actual Windows computer that's still handling the low-level hard drive access. Samba's just "telling it what to do."

    (End of half-assed guess. )
    Well what if you have a linux box acting as a samba server? (Am I going to get shot if I dig too deep here? ) It still makes no sense to me...

Page 1 of 2 12 LastLast

Similar Threads

  1. Unable to mount NTFS partitions
    By Tenfjord in forum General Support
    Replies: 3
    Last Post: 06-27-2005, 05:41 AM
  2. captive ntfs - mount ntfs (reade/write) through icon
    By terminator in forum General Support
    Replies: 0
    Last Post: 05-12-2004, 10:52 PM
  3. Mount NTFS in read/write-mode
    By walterma in forum General Support
    Replies: 5
    Last Post: 04-26-2004, 07:52 AM
  4. partitions don't mount
    By jackren in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 03-24-2004, 02:03 PM
  5. Can't mount any HDD partitions
    By sb73542 in forum General Support
    Replies: 6
    Last Post: 02-13-2004, 01:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


lot of 10 Juniper EX-SFP-10GE-SR Compatible 10GBASE-SR SFP+ 850nm 300m DOM -J499 picture

lot of 10 Juniper EX-SFP-10GE-SR Compatible 10GBASE-SR SFP+ 850nm 300m DOM -J499

$209.00



Juniper Networks EX3300-48P 48-Port PoE+ 4x SFP+ Network Switch w/ Power Cord picture

Juniper Networks EX3300-48P 48-Port PoE+ 4x SFP+ Network Switch w/ Power Cord

$43.95



Juniper Networks EX4300-48T 48 Port Gigabit 4 QSFP 40G 2xPSU AFO Network Switch picture

Juniper Networks EX4300-48T 48 Port Gigabit 4 QSFP 40G 2xPSU AFO Network Switch

$89.00



JUNIPER EX3400-48P 48x 1GB PoE+ RJ-45 4x 10GB SFP+ 2x 40GB QSFP+, DUAL AC POWER picture

JUNIPER EX3400-48P 48x 1GB PoE+ RJ-45 4x 10GB SFP+ 2x 40GB QSFP+, DUAL AC POWER

$210.00



Juniper EX3400-48P 48-Ports PoE+ 4x SFP+ and 2x QSFP+ Managed Switch Tested picture

Juniper EX3400-48P 48-Ports PoE+ 4x SFP+ and 2x QSFP+ Managed Switch Tested

$205.00



Juniper QFX5100-48S-3AFO Switch 48 x 10Gb SFP+, 6x QSFP 40GE, Dual AC Power picture

Juniper QFX5100-48S-3AFO Switch 48 x 10Gb SFP+, 6x QSFP 40GE, Dual AC Power

$499.00



Juniper EX3300-48P, 48 Port PoE+ Gigabit Network Switch w/ Power cord picture

Juniper EX3300-48P, 48 Port PoE+ Gigabit Network Switch w/ Power cord

$54.99



Juniper Networks EX3300-24P | 24 Port Gigabit Network Switch w/ Power cord picture

Juniper Networks EX3300-24P | 24 Port Gigabit Network Switch w/ Power cord

$53.99



Juniper Networks EX3300 EX3300-48P 48-Port Gigabit PoE+ Switch picture

Juniper Networks EX3300 EX3300-48P 48-Port Gigabit PoE+ Switch

$40.07



JUNIPER EX4550-32F-AFO 32-PORT ETHERNET SWITCH 2x POWER SUPPLY - TESTED picture

JUNIPER EX4550-32F-AFO 32-PORT ETHERNET SWITCH 2x POWER SUPPLY - TESTED

$299.99