Announcement

Collapse
No announcement yet.

External usb disk problem

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    External usb disk problem

    Hello.
    I'm pretty new to kubuntu, can someone help me please?

    When I plug in my usb disk, its icon appears on the desktop but when i click it i get 'Unable to enter file:///media/sdb1. You do not have access rights to this location.' message.
    I can access the disk in Krusader-root-mode for example, but I can't change permissions. If I try to change the permissions (in root mode) I get 'Could not change permissions for /media/sdb1.'.

    What should I do to access the disk as a normal user?

    #2
    Re: External usb disk problem

    http://kubuntuforums.net/forums/inde...opic=3083817.0

    Comment


      #3
      Re: External usb disk problem

      That thread is about the same problem as I have, yes. I read it before I created this one.
      But I can't find the solution there, I can't change the permissions, not even when I run konqueror or krusader in root mode.

      Comment


        #4
        Re: External usb disk problem

        Try doing it with the command line, the relevant parts are at the bottom of the following page:
        http://www.psychocats.net/ubuntu/mountlinux

        Comment


          #5
          Re: External usb disk problem

          Well you haven't given any details on the external drive so I'm assuming its NTFS. First you might consider installing ntfs-3g and you will have to edit your /etc/fstab file. Alternatively you might look into ntfs-config

          X

          Comment


            #6
            Re: External usb disk problem

            So I tried to change permissions with command line, but it gave me error like this
            Code:
            chmod: changing permissions of `/media/sdb1/filename': Read-only file system
            for each file on the disk.
            So the file system is read-only? How can I change that? In System settings>Filesystems I checked the partition as writeable...

            Comment


              #7
              Re: External usb disk problem

              I'm don't have enought information to resolve this. A drive can be mounted on read-only mode for a couple of reasons. From using a kernel readonly drive, to mounting parameters to mount point or device node permissions. So I really believe some extra info will help us to help you.

              Is it a NTFS filesystem?.

              Can you give us the output of the mount command?

              Code:
              $ sudo mount
              Can you try the following procedure:
              Plug in the driver. Type the following in a terminal:

              Code:
              $ dmesg | tail -n 15
              And give us the output.

              I', sorry, but blind helping is sometime quite difficult.

              Javier.

              Comment


                #8
                Re: External usb disk problem

                Sorry I'm new at this, I assumed this was a common problem.

                It is ntfs and I also forgot to mention that the disk is divided into two partitions.
                Also when I tried it in ubuntu everything worked fine.

                sudo mount gives me:
                Code:
                rankie@rankie-laptop:~$ sudo mount
                Password:
                /dev/sda2 on / type ext3 (rw,errors=remount-ro)
                proc on /proc type proc (rw,noexec,nosuid,nodev)
                /sys on /sys type sysfs (rw,noexec,nosuid,nodev)
                varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
                varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
                procbususb on /proc/bus/usb type usbfs (rw)
                udev on /dev type tmpfs (rw,mode=0755)
                devshm on /dev/shm type tmpfs (rw)
                devpts on /dev/pts type devpts (rw,gid=5,mode=620)
                lrm on /lib/modules/2.6.20-16-generic/volatile type tmpfs (rw)
                /dev/disk/by-uuid/4C5CEB505CEB32FE on /media/sda1 type fuseblk (rw,nosuid,nodev,noatime,allow_other,blksize=4096)
                binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
                /dev/sdb5 on /media/sdb2 type ntfs (rw)
                /dev/sdb1 on /media/sdb1 type ntfs (rw,noexec,nosuid,nodev)
                and
                dmesg | tail -n 15 is:
                Code:
                rankie@rankie-laptop:~$ dmesg | tail -n 15
                [24164.188000] usb-storage: device scan complete
                [24164.188000] scsi 3:0:0:0: Direct-Access   WDC WD80 0VE-11KWT0    01.0 PQ: 0 ANSI: 2
                [24164.188000] SCSI device sdb: 156301488 512-byte hdwr sectors (80026 MB)
                [24164.188000] sdb: Write Protect is off
                [24164.188000] sdb: Mode Sense: 00 00 00 00
                [24164.188000] sdb: assuming drive cache: write through
                [24164.192000] SCSI device sdb: 156301488 512-byte hdwr sectors (80026 MB)
                [24164.192000] sdb: Write Protect is off
                [24164.192000] sdb: Mode Sense: 00 00 00 00
                [24164.192000] sdb: assuming drive cache: write through
                [24164.192000] sdb: sdb1 sdb2 < sdb5 >
                [24164.260000] sd 3:0:0:0: Attached scsi disk sdb
                [24164.260000] sd 3:0:0:0: Attached scsi generic sg2 type 0
                [24166.292000] NTFS volume version 3.1.
                [24166.492000] NTFS volume version 3.1.
                Thanks for your help btw, I'm pretty much lost in all this.

                Comment


                  #9
                  Re: External usb disk problem

                  Originally posted by rankie
                  Sorry I'm new at this, I assumed this was a common problem.
                  Well, if you are using a NTFS partition, then yes, it is .

                  It is ntfs and I also forgot to mention that the disk is divided into two partitions.
                  Also when I tried it in ubuntu everything worked fine.
                  Ntfs write support is disabled by default in *buntu.

                  But ubuntu has a tool to enable it quite easy and kubuntu lacks it in the default install.

                  If you have already grasped the inners of installing linux software, just install gksu and ntfs-config.

                  If you don't, you can copy and paste this:

                  Code:
                  $ sudo apt-get install ntfs-config gksu
                  You will find the utility in the system menu. It's quite easy to use.

                  Javier.

                  Comment


                    #10
                    Re: External usb disk problem

                    I already have ntfs-config installed, to access windows partition on my normal hdd.

                    Comment


                      #11
                      Re: External usb disk problem

                      And have you checked the "Activate write support for external media" (translation from Spanish made by myself, probably something different) box?.

                      Seens like your internal drive is using the correct driver:

                      /dev/disk/by-uuid/4C5CEB505CEB32FE on /media/sda1 type fuseblk (rw,nosuid,nodev,noatime,allow_other,blksize=4096)
                      But the external ones are using the read only one.

                      /dev/sdb5 on /media/sdb2 type ntfs (rw)
                      /dev/sdb1 on /media/sdb1 type ntfs (rw,noexec,nosuid,nodev)
                      If I can get a NTFS drive in my hands, I'll try to check it.

                      BTW, you can try to mount then manually using pmount, instead of letting KDE mount them.

                      Code:
                      $ pmount /dev/sdb1
                      But, AFAIK, KDE daemon just uses pmount... maybe GNOME is doing something different here, or more likely NTFS-config is adjusting some GNOME settings and not KDE ones.

                      Javier.

                      Comment

                      Working...
                      X