moved my question here from Newcomers forum - mount ntfs volumes in Debian Etch 4.0
Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop 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.
moved my question here from Newcomers forum - mount ntfs volumes in Debian Etch 4.0
I asked this question in my greeting post on the Member Inro forum.
I have a single 120gig hard drive, partitioned thusly:
Label "System" 20gig NTFS for Windows XP Pro 64 Bit
Label "Data" 40gig NTFS for all my data files
I used Norton Partition Magic 8.0 to create an ext3 partition and a swap partition in the remaining space on the drive
I used a Debian 4.0 Etch installation DVD from Linux Magazine to install. It apparently chose the amd64 version to install with no prompting.
All deskops (I set up 3 users) show System and Data when I click the Places>Computer menu bar item. I can drag them out onto the desktop but
when I try to open them I get this error
Unable to mount selected volume.
libhal-storagec 1401: info: called libhal_free_dbus_error but dbus error was not set.
process 1358: applications mustt not close shared connections -
see dbus_connection_close() docs. this is a bug in the application
error: device /dev/sda5 is not removable
error: could not execute pmount
I received a reply from leonscape in MemberIntro, quoted here:
Quote:
Originally Posted by leonscape
mounting ntfs just for reading in Linux is quite easy
su to root
Code:
username@machine: ~$ su
Password: enter root password although nothing shows up
machine: /home/username# mkdir /mnt/windows
machine: /home/username# mount -t ntfs /dev/hdxx /mnt/windows
machine: /home/username# cd /mnt/windows
machine: /mnt/windows# ls
CONFIG.SYS MSDOS.SYS ntldr Program Files System Volume Information WINDOWS
AUTOEXEC.BAT Inetpub MSOCache NVIDIA temp boot.ini
Documents and Settings IO.SYS NTDETECT.COM pagefile.sys RECYCLER
(with tabs between the items as appropriate-not visible in this post?) and entered the code quoted above in a terminal window to mount it
However, I still get the same error.
I did some checking.
In /dev, I only see HDC and HDD. I am not sure which partitions these refer to, but I am guessing thesese are my EXT# and SWAP partitions
In /mnt I see my Data directory (the one I created) but it is empty.
The line you put in /etc/fstab has partition sda5 mounted in /media/sda5 yet you say you made a mount point in /mnt. If you have/created a directory called /media/sda5, that's where your files should be. If not, change that section of the line highlighted above to the mount point you created in /mnt.
If you type this command in a terminal: fdisk -l, you would get a list of all drives and their partitions, if it has the Windows partition as hda, you must change the first part of that line in /etc/fstab to /dev/hdaX, (X) being the appropriate partition. If the output of the fdisk -l command has the partition you want to mount as /dev/sda5, then leave it as is. Just make sure it matches what the fdisk -l command shows.
If you want read/write access to the data partition, install ntfs-3g with apt or synaptic or aptitude. There should be a couple other files needed as dependencies which apt will also install. Then change the line in /etc/fstab to look like this one I use now:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.