arghhhh Re: mounting ntfs hard drive hdb
John Seth
johnseth at phoenixwing.com
Mon Jul 4 22:16:48 EDT 2005
I would check out that SF website for some detail about NTFS on Linux. I
haven't read much up on Debian 'Sarge' yet, but it has piqued my
interest since it's fairly up to date with the 2.6.x kernel and other
stuff it includes.
However, it sounds like Debian's stock kernel which you have installed
does not have 'write' support enabled. I know when I recently
recompiled two fresh kernels from kernel.org (2.6.11.10 & 2.6.12.2) that
the kernel had the ability to enable NTFS support, but it also had a
sub-component to enable write support on it. You can search google, or
Debian's site for enabling write support (I know Fedora & RedHat have an
RPM available to add a write-enabled module). Otherwise, depending on
your willingness to experiment, try recompiling your kernel with the
NTFS write option enabled.
- Tony
Cyber Source wrote:
> the man page for mount wont explain the options for ntfs too well as
> it's not native.
> http://linux-ntfs.sourceforge.net/ will give you some real insight.
> Personally, you should mount the partition and get your data off the
> ntfs partition and onto an ext3, IMHO
>
> ebenoit wrote:
>
>> mount -t ntfs -w /dev/hdb1 /home/admin/Desktop/windows1
>>
>> ^
>> | here is the mount command I am using when I su in terminal
>>
>> when I look at the directory windows1 it has the permissions r-x------
>> (read and execute only for root)
>> As root I cannot chown the directory to my user account admin obviously.
>>
>> I am able to mount the system fine, but I need to RWX for my admin
>> account ...the man for mount didn't really help in explaining what I
>> am doing wrong or let me know that I cannot do what I want. Can
>> anyone shine light, Tony??
>>
>> Thanks,
>> Eric
>>
>>
>>
>>
>>
>> ebenoit wrote:
>>
>>> Yes makes sense, thanks. I'm using Debian's frozen release of Sarge
>>> with a 2.6 something kernel ..I will read through mount.
>>>
>>>
>>> John Seth wrote:
>>>
>>>> You can use 'mount' at any time, whether the drive you want mounted
>>>> is in /etc/fstab or not. /etc/fstab is only for mounting drives
>>>> automatically on bootup of your linux system, and to unmount a
>>>> drive, you do not need to restart, just use 'umount'. If it gives
>>>> you an error trying to unmount a hard drive/partition, then you
>>>> probably are either in it (like having done 'cd /home/user' and
>>>> trying to unmount /home), or another program is accessing that
>>>> directory/device.
>>>>
>>>> As far as NTFS, distro's vary on that issue with stock kernels. If
>>>> your system utilizes the latest 2.6.x kernels, they might have had
>>>> the NTFS read/write ability compiled in. Some distro's disable NTFS
>>>> writing, but allow reading from it, especially with the 2.4.x and
>>>> lower kernels. Again, it depends on whether you are using a stock
>>>> kernel from your distro and what they have compiled into it (or as a
>>>> module) or if you compiled your own, whether you enabled NTFS
>>>> read/write abilities.
>>>>
>>>> I hope that helps... Your best bet is to read the manual for mount &
>>>> umount ('man mount') so you can properly mount and unmount devices.
>>>> The NTFS issue depends on what you're running.
>>>>
>>>> - Tony
>>>>
>>>>
>>>> ebenoit wrote:
>>>>
>>>>> I believe I have to etc/fstab <--configure
>>>>> Then I can use mount?
>>>>> And would I have to restart my system if the hard drive is already
>>>>> running and attached?
>>>>> Does anyone know of any issues mounting and using files within a
>>>>> ntfs file system, I plan on not ever using for windows again ...it
>>>>> just has all my yummy music.
>>>>>
>>>>> Thanx,
>>>>> eric
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>
>
>
More information about the nflug
mailing list