Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I want to write on my NTFS partition within my DSL. I have mounted the partition read-write, as follows,
Code:
/dev/root on / type ext2 (rw)
/dev/scd0 on /cdrom type iso9660 (ro)
/dev/cloop on /KNOPPIX type iso9660 (ro)
/ramdisk on /ramdisk type tmpfs (rw,size=201552k,size=196912k)
/proc/bus/usb on /proc/bus/usb type usbdevfs (rw,devmode=0666)
unionfs on /KNOPPIX/bin type unionfs (rw,dirs=/ramdisk/bin=rw:/bin=ro)
unionfs on /dev type unionfs (rw,dirs=/ramdisk/dev=rw:/dev=ro)
unionfs on /etc type unionfs (rw,dirs=/ramdisk/etc=rw:/etc=rw)
unionfs on /KNOPPIX/lib type unionfs (rw,dirs=/ramdisk/lib=rw:/lib=ro)
unionfs on /KNOPPIX/sbin type unionfs (rw,dirs=/ramdisk/sbin=rw:/sbin=ro)
unionfs on /KNOPPIX/usr type unionfs (rw,dirs=/ramdisk/usr=rw:/usr=ro)
unionfs on /ramdisk/var type unionfs (rw,dirs=/ramdisk/var=rw)
/dev/hda5 on /mnt/hda5 type ntfs (rw)
However, it gives error messages when I try to write on it:
Code:
[/mnt/hda5]# ls >a
bash: a: Read-only file system
dmesg gives:
Code:
<6>apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
<5>apm: overridden by ACPI.
<4>i8253 count too high! resetting..
<4>i8253 count too high! resetting..
<4>i8253 count too high! resetting..
<4>i8253 count too high! resetting..
<4>i8253 count too high! resetting..
<4>i8253 count too high! resetting..
<4>i8253 count too high! resetting..
<4>i8253 count too high! resetting..
<6>eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
<6>eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
<4>end_request: I/O error, dev 02:00 (floppy), sector 0
<6>cs: cb_free(bus 1)
<6>cs: cb_alloc(bus 1): vendor 0x104c, device 0x9066
<4>PCI: Enabling device 01:00.0 (0000 -> 0002)
<4>end_request: I/O error, dev 02:00 (floppy), sector 0
<4>end_request: I/O error, dev 02:00 (floppy), sector 0
<3>NTFS: Warning! NTFS volume version is Win2k+: Mounting read-only
I am able to write to some other FAT partitions but not NTFS. What's wrong? Do I have to download some extra package so as to able to write to NTFS.
ntfs can only read NTFS disks. Writes will corrupt the NTFS filesystem. But the more recent ntfs-3g can read & write.
So you need something like this in /etc/fstab
ntfs can only read NTFS disks. Writes will corrupt the NTFS filesystem. But the more recent ntfs-3g can read & write.
So you need something like this in /etc/fstab
Code:
/dev/hda5 /mnt/win ntfs-3g defaults
Thanks for your help. I actually used Knoppix and I could mount the partition read-write. The type was "fuseblk" as it shows from the mount command
The type was "fuseblk" as it shows from the mount command
Just FYI, this is correct, and Knoppix is using the same ntfs-3g recommended above. fuseblk refers to FUSE, or Filesystems in User Space (SpacE?), a platform for writing filesystem code that runs outside the kernel. ntfs is one of the filesystems you are likely to come across supported in this way (through the ntfs-3g package); two others are sshfs (which provides mountable filesystem access over sftp) and zfs (an extremely good filesystem that, for unfortunate reasons of the licensing variety, cannot be included in the Linux kernel).
Just FYI, this is correct, and Knoppix is using the same ntfs-3g recommended above. fuseblk refers to FUSE, or Filesystems in User Space (SpacE?), a platform for writing filesystem code that runs outside the kernel. ntfs is one of the filesystems you are likely to come across supported in this way (through the ntfs-3g package); two others are sshfs (which provides mountable filesystem access over sftp) and zfs (an extremely good filesystem that, for unfortunate reasons of the licensing variety, cannot be included in the Linux kernel).
Thank you very much for your info. Let me try in DSL to see if I can mount NTFS using ntfs-3g directly....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.