The device/dev/sda2 is formatted ntfs. I would like to view contents and copy files to ext3 directory. When I click on /media/sda2 where it is mounted in Krusader, I get: Could not mount device. Reported error was: Mount: according to mtab, /dev/sda2 is already mounted on /media/sda2. When I click off error message only .. shows up in contents. How do I access this partition?
Announcement
Collapse
No announcement yet.
Unable to access ntfs directory
Collapse
This topic is closed.
X
X
-
Re: Unable to access ntfs directory
Your error message says the device is already mounted at /media/sda2. I just wondering whether it actually is. You are looking for it at /dev/sda2. Try looking at /media/sda2 and see if there is a drive mounted there.
BTW, if that happens to be a USB drive, it might help to review this:
http://kubuntuforums.net/forums/inde...opic=3084679.0
It's slightly dated (ntfs-3g is installed by default now, I think) but the concepts are completely valid.
- Top
- Bottom
Comment
-
Re: Unable to access ntfs directory
More info. I entered command sudo mount -t ntfs-3g /dev/sda2 /mnt/sda2 and I get
mount: according to mtab, /dev/sda2 is already mounted on /mnt/sda2. I get same when /mnt/sda2 is replaced by other directories where I have tried to mount. Amazing thing is that I looked into mtab with text editor kate and it was empty!
- Top
- Bottom
Comment
-
Re: Unable to access ntfs directory
Code:sudo fdisk -lu
Code:sudo blkid
Code:mount
Gediminas2 is probably correct -- it appears there are two mount points for /dev/sda2, so one of them needs to be removed.
- Top
- Bottom
Comment
-
Re: Unable to access ntfs directory
Here are results of three commands:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xe0472aba
Device Boot Start End Blocks Id System
/dev/sda1 * 63 30716279 15358108+ 7 HPFS/NTFS
/dev/sda2 51199155 378876959 163838902+ 7 HPFS/NTFS
/dev/sda3 378876960 418878809 20000925 83 Linux
/dev/sda4 418878810 863300969 222211080 5 Extended
/dev/sda5 418878873 422878994 2000061 82 Linux swap / Solaris
/dev/sda6 422879058 463844744 20482843+ 83 Linux
/dev/sda7 463844808 515140289 25647741 83 Linux
/dev/sda8 515140353 638021474 61440561 83 Linux
/dev/sda9 638021538 740419784 51199123+ 83 Linux
/dev/sda10 740419848 863300969 61440561 83 Linux
albert@ALBERT-desktop:~$ sudo blkid
/dev/sda1: UUID="2A740A75740A4453" TYPE="ntfs"
/dev/sda2: UUID="8078DFDB78DFCDD2" LABEL="New Volume" TYPE="ntfs"
/dev/sda3: UUID="75d68503-f397-41fd-9b39-809b08970759" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda5: TYPE="swap" UUID="7185a6fc-e27d-4411-ab1f-49054367b077"
/dev/sda6: UUID="8e8e0e2a-f329-4122-986a-112ccb09295c" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda7: UUID="69a1945d-45fd-4fad-b63b-27e23403eb90" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda8: UUID="8d30d637-6575-4440-8dfd-5ec745012fe9" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda9: UUID="98dea409-159c-46c3-a1ee-b814cd018343" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda10: UUID="a0fd5a7c-4ac8-4c52-869a-c7be8f25b4a7" SEC_TYPE="ext2" TYPE="ext3"
albert@ALBERT-desktop:~$ mount
rootfs on / type rootfs (rw)
none on /sys type sysfs (rw,nosuid,nodev,noexec)
none on /proc type proc (rw,nosuid,nodev,noexec)
udev on /dev type tmpfs (rw)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
/dev/disk/by-uuid/75d68503-f397-41fd-9b39-809b08970759 on / type ext3 (rw,data=ordered)
/dev/disk/by-uuid/75d68503-f397-41fd-9b39-809b08970759 on /dev/.static/dev type ext3 (rw,data=ordered)
tmpfs on /var/run type tmpfs (rw,nosuid,nodev,noexec)
tmpfs on /var/lock type tmpfs (rw,nosuid,nodev,noexec)
tmpfs on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw)
tmpfs on /var/run type tmpfs (rw,nosuid,nodev,noexec)
tmpfs on /var/lock type tmpfs (rw,nosuid,nodev,noexec)
/dev/sda8 on /home type ext3 (rw,data=ordered)
/dev/sda10 on /media/sda10 type ext3 (rw,data=ordered)
/dev/sda6 on /media/sda6 type ext3 (rw,data=ordered)
/dev/sda7 on /media/sda7 type ext3 (rw,data=ordered)
/dev/sda9 on /media/sda9 type ext3 (rw,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec)
Hope this helps.
- Top
- Bottom
Comment
-
Re: Unable to access ntfs directory
Yes, it does. The output of the "mount" command proves that /dev/sda2 is not mounted at all.
Apparently you already have a mount point established at /media/sda2. So, try this, in a console window:
Code:sudo mount -t ntfs-3g /dev/sda2 /media/sda2
If you lack the ntfs-3g package, you can get that with
Code:sudo apt-get install ntfs-3g
- Top
- Bottom
Comment
-
Re: Unable to access ntfs directory
Okay, start again - when mounting stuff we need to know 1) mount points and 2) rights.
For 1) could you please post your fstab - open a console and type:Code:cat /etc/fstab
For 2) could you please go into you media directory on the command line and typeCode:ls -la
Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ
- Top
- Bottom
Comment
-
Re: Unable to access ntfs directory
toad, here it is:
albert@ALBERT-desktop:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda3
UUID=75d68503-f397-41fd-9b39-809b08970759 / ext3 defaults,errors=remount-ro 0 1
# /dev/sda8
UUID=8d30d637-6575-4440-8dfd-5ec745012fe9 /home ext3 defaults 0 2
# /dev/sda1
UUID=2A740A75740A4453 /media/sda1 ntfs ro,umask=0222, 0 0
# /dev/sda10
UUID=a0fd5a7c-4ac8-4c52-869a-c7be8f25b4a7 /media/sda10 ext3 defaults 0 2
# /dev/sda2
UUID=8078DFDB78DFCDD2 /media/sda2 ntfs defaults,umask=007,gid=46 0 1
# /dev/sda6
UUID=8e8e0e2a-f329-4122-986a-112ccb09295c /media/sda6 ext3 defaults 0 2
# /dev/sda7
UUID=69a1945d-45fd-4fad-b63b-27e23403eb90 /media/sda7 ext3 defaults 0 2
# /dev/sda9
UUID=98dea409-159c-46c3-a1ee-b814cd018343 /media/sda9 ext3 defaults 0 2
# /dev/sda5
UUID=7185a6fc-e27d-4411-ab1f-49054367b077 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec 0 0
albert@ALBERT-desktop:~$ ls -la
total 43224
drwxr-xr-x 38 albert albert 4096 2008-06-12 08:11 .
drwxr-xr-x 6 root root 4096 2008-03-31 11:07 ..
-rw-r--r-- 1 root root 22339 2008-04-24 14:44 2007-Albert-2.ods
-rw-r--r-- 1 root root 21776 2008-04-11 11:03 2007-Albert.ods
-rw-r--r-- 1 root root 26908 2008-04-24 18:57 2007-Louise-2.ods
-rw-r--r-- 1 root root 25345 2008-04-09 13:48 2007-Louise.ods
-rw-r--r-- 1 albert albert 65 2008-05-27 10:51 8.04_md5sum
-rw-r--r-- 1 albert albert 19018 2008-04-24 12:24 acb.ods
drwx------ 3 albert albert 4096 2008-03-25 22:01 .adobe
-rw-r--r-- 1 albert albert 28951 2008-05-14 11:07 arles.odt
drwxr-xr-x 4 root root 4096 2008-04-13 20:42 Backup
-rw------- 1 albert albert 3406 2008-06-11 21:07 .bash_history
-rw-r--r-- 1 albert albert 220 2008-03-22 11:09 .bash_logout
-rw-r--r-- 1 albert albert 2298 2008-03-22 11:09 .bashrc
drwxr-xr-x 2 albert albert 4096 2008-03-29 10:05 bin
-rw-r--r-- 1 root root 9925 2008-04-06 15:19 capital gains-template.ods
drwxr-xr-x 4 albert albert 4096 2008-03-25 14:58 .config
drwx------ 2 albert albert 4096 2008-05-31 09:08 .cups
drwx------ 3 albert albert 4096 2008-03-23 20:43 .dbus
-rw-r--r-- 1 albert albert 61 2008-06-11 21:09 .DCOPserver_ALBERT-desktop__0
lrwxrwxrwx 1 albert albert 42 2008-06-11 21:09 .DCOPserver_ALBERT-desktop_:0 -> /home/albert/.DCOPserver_ALBERT-desktop__0
drwx------ 2 albert albert 4096 2008-06-10 18:33 Desktop
-rw------- 1 albert albert 26 2008-03-22 18:22 .dmrc
drwxr-xr-x 2 albert albert 4096 2008-03-29 08:55 .fontconfig
-rw-r--r-- 1 albert albert 74743 2008-05-08 16:17 gauguin.odm
drwx------ 3 albert albert 4096 2008-06-12 09:13 .gconf
drwxr-xr-x 2 root root 4096 2008-03-28 18:29 .gconfd
-rw-r----- 1 albert albert 0 2008-06-11 13:41 .gksu.lock
drwxr-xr-x 3 albert albert 4096 2008-06-10 18:34 .gnome
drwx------ 4 albert albert 4096 2008-06-10 21:25 .gnome2
drwx------ 2 albert albert 4096 2008-03-23 16:21 .gnome2_private
-rw-r--r-- 1 albert albert 251221 2008-04-18 16:21 gorilla
-rw-r--r-- 1 albert albert 96 2008-04-19 18:18 .gorillarc
-rw-r--r-- 1 albert albert 25509 2008-03-23 11:09 .gtk_qt_engine_rc
-rw-r--r-- 1 albert albert 285 2008-03-22 18:22 .gtkrc-2.0-kde
drwxr----- 2 albert albert 4096 2008-05-26 15:50 .hplip
-rw------- 1 albert albert 205 2008-06-11 21:09 .ICEauthority
drwxr-xr-x 4 albert albert 4096 2008-03-29 11:10 .ies4linux
drwxr-xr-x 7 albert albert 4096 2007-11-25 22:28 ies4linux-2.99.0.1
-rw-r--r-- 1 albert albert 332341 2008-02-06 01:49 ies4linux-latest.tar.gz
-rw-r--r-- 1 albert albert 332341 2008-02-06 01:49 ies4linux-latest.tar.gz.1
-rw-r--r-- 1 albert albert 32913 2008-03-05 09:35 installed-software.txt
-rw-r--r-- 1 albert albert 3612 2008-05-29 18:14 Install tar.gz
drwxr-xr-x 3 albert albert 4096 2008-03-05 12:11 .inter
-rw-r--r-- 1 albert albert 20080 2008-04-23 15:28 InterestCalculation.ods
drwxr-xr-x 3 albert albert 4096 2008-03-29 08:55 .java
drwx------ 6 albert albert 4096 2008-03-23 21:35 .kde
drwxr-xr-x 3 albert albert 4096 2008-03-30 15:37 .kpackage
drwx------ 3 albert albert 4096 2008-03-22 18:22 .local
drwx------ 3 albert albert 4096 2008-03-23 21:40 .macromedia
drwxr-xr-x 4 albert albert 4096 2008-03-25 09:19 .mcop
-rw------- 1 albert albert 31 2008-06-04 15:32 .mcoprc
-rw-r--r-- 1 albert albert 65 2008-05-27 11:14 md5sum
drwx------ 4 albert albert 4096 2008-03-31 11:12 .mozilla
drwx------ 3 albert albert 4096 2008-04-01 11:32 .mozilla-thunderbird
drwxr-xr-x 2 albert albert 4096 2008-04-20 21:19 .mplayer
drwxr-xr-x 3 albert albert 4096 2008-06-10 18:34 .nautilus
drwx------ 3 albert albert 4096 2008-06-05 10:07 .openoffice.org2
-rw-r--r-- 1 albert albert 2762 2008-06-12 08:11 partition-info.txt
-rw-r--r-- 1 albert albert 566 2008-03-22 11:09 .profile
drwxr-xr-x 2 albert albert 4096 2008-06-11 21:09 .qt
-rw------- 1 albert albert 4484 2008-06-03 09:56 .recently-used
-rw-r--r-- 1 albert albert 800 2008-06-10 21:25 .recently-used.xbel
-rw-r--r-- 1 albert albert 0 2008-03-22 20:47 .sudo_as_admin_successful
drwxr-xr-x 2 root root 4096 2008-04-11 11:25 Taxes
-rwxrwxrwx 1 albert albert 2180434 2008-04-19 17:04 tclkit
-rw-r--r-- 1 albert albert 2516480 2008-05-21 20:01 test.doc
-rw-r--r-- 1 root root 1165023 2008-05-21 19:57 test.txt
drwx------ 4 albert albert 4096 2008-03-23 20:17 .thumbnails
-rwxr-xr-x 1 albert albert 11009536 2008-05-20 20:52 vincent-ed-sp-2.doc
-rw-r--r-- 1 root root 3712699 2008-05-21 19:26 vincent-ed-sp-2.odt
-rwxr-xr-x 1 albert albert 1134487 2008-05-21 22:29 vincent-ed-sp-2.txt
-rw-r--r-- 1 albert albert 20639232 2008-05-21 09:10 vincent-final.doc
drwxr-xr-x 4 albert albert 4096 2008-06-05 09:48 .VirtualBox
drwx------ 3 albert albert 4096 2008-03-28 17:24 .Virtualbox
drwxr-xr-x 3 albert albert 4096 2008-04-02 09:55 .vlc
drwxr-xr-x 4 albert albert 4096 2008-06-10 21:26 .wine
-rw------- 1 albert albert 59 2008-06-11 21:09 .Xauthority
drwxr-xr-x 2 albert albert 4096 2008-03-23 20:17 .xine
-rw------- 1 albert albert 316708 2008-06-12 09:13 .xsession-errors
- Top
- Bottom
Comment
-
Re: Unable to access ntfs directory
I kept saying that mtab was empty, which it appeared to be when I tried to view it with kate, but I just did a cat and got following, which may help:
albert@ALBERT-desktop:~$ cat /etc/mtab
rootfs / rootfs rw 0 0
none /sys sysfs rw,nosuid,nodev,noexec 0 0
none /proc proc rw,nosuid,nodev,noexec 0 0
udev /dev tmpfs rw 0 0
fusectl /sys/fs/fuse/connections fusectl rw 0 0
/dev/disk/by-uuid/75d68503-f397-41fd-9b39-809b08970759 / ext3 rw,data=ordered 0 0
/dev/disk/by-uuid/75d68503-f397-41fd-9b39-809b08970759 /dev/.static/dev ext3 rw,data=ordered 0 0
tmpfs /var/run tmpfs rw,nosuid,nodev,noexec 0 0
tmpfs /var/lock tmpfs rw,nosuid,nodev,noexec 0 0
tmpfs /dev/shm tmpfs rw 0 0
devpts /dev/pts devpts rw 0 0
tmpfs /var/run tmpfs rw,nosuid,nodev,noexec 0 0
tmpfs /var/lock tmpfs rw,nosuid,nodev,noexec 0 0
/dev/sda8 /home ext3 rw,data=ordered 0 0
/dev/sda10 /media/sda10 ext3 rw,data=ordered 0 0
/dev/sda6 /media/sda6 ext3 rw,data=ordered 0 0
/dev/sda7 /media/sda7 ext3 rw,data=ordered 0 0
/dev/sda9 /media/sda9 ext3 rw,data=ordered 0 0
securityfs /sys/kernel/security securityfs rw 0 0
nfsd /proc/fs/nfsd nfsd rw 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,nosuid,nodev,noexec 0 0
- Top
- Bottom
Comment
-
Comment