Mounting USB devices in arch guest

I'm new to virtualbox, but not to linux.  I have been using arch for at least 3 years, so I have some familiarity with it.  I have recently installed arch as a guest OS on virtualbox (on OSX host).  I am having some trouble accessing an attached USB device from the arch guest.  I have defined the virtualbox USB filter for my device, and it appears to work, detecting the identified device and attaching it to the guest (at least as far as virtualbox is concerned).   I can see the device in the virtualbox pull-down menu, and it shows with a "checkmark" next to it, showing (I think) that it has been attached to my arch guest.
Problem is, I cannot see the device from the arch guest.  no entry in /dev for any USB device.  symptoms are the same whether i insert ther USB device before or after starting the arch guest.  I have HAL and dbus active in my guest.  Also, I have made this work in arch installed natively.  since there is no /dev entry, this might appear to be some form of udev issue?  is there a specific udev setup that I should be aware of for arch as a guest?
Please help if you can.  I will appreciate all comments and suggestions.
-dvh

hey, ive got Arch setup in virtualbox as well, and can mount usb's and cd's etc. (although with some issues i may need to bring up in another thread...) anyways, im assuming you have the PUEL virtualbox and not the OSE one?
also, your certain that you've mounted the correct USB (on the Virtual Box pull-down menu)? because you may have mounted a USB which was already attached to your host, and not the actual USB?
just checking, i dont know much about how to fix this issue so im just going at the simple solutions...

Similar Messages

  • Can't mount usb devices as a normal user

    Hi.
    I woud like to ask for help. I've been struggling with some "bug" that i came with Arch and usb devices (disks, pendrives). I can't mount it as a normal user using KDE default mounting software (Dolphin, for an exmample). I can mount it only in therminal by using sudo privileages. Is there a way to fix it? I read it, the same problem:
    https://bbs.archlinux.org/viewtopic.php?id=180025
    I tried to check everything according this topic, also with udisk2 archwiki thread but on my desktop machine i just can't mount usb devices without root password. This is how the error looks like for a Dolphin:
    <Over sized Image removed. URL link preserved>
    This is the error, from picture
    Error when trying to use acces to "removable device 7,5GB". System showed: The requested operation has failed. Error checking authorization:
    GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: action org.freedesktop.udisks2.filesystem-mount is not registered (polkit-error-quark, 0)
    Could somebody help me? I even installed udisk mounting tool to mont without root password, added 50-udisks.policy and it just does not work.
    Help.
    I can mount it wit terminal by typing
    sudo mount /dev/sdXY /mnt/usb
    than i'm asked for password and it is mounted. Don't know why i can't mount it without password when connecting usb devices to usb port.
    moderator edit [ewaller]Removed link to over sized image..  Note, you set up a click through thumbnail correctly, but the "Thumbnail" was the same image and was too large
    Last edited by ewaller (2014-09-28 16:37:41)

    Some refresh. I followed this topic:
    https://bbs.archlinux.org/viewtopic.php?id=180025
    with the same problem. I found errors here:
    firekage@arch_desktop ~]$ journalctl -r -u polkit
    -- Logs begin at pią 2014-06-13 18:04:12 CEST, end at czw 2014-12-25 20:15:01 CET. --
    cze 23 15:59:15 arch_desktop polkitd[306]: Unregistered Authentication Agent for unix-session:c1 (system bus name :1.24, object path /org/kde/PolicyKit1/AuthenticationAgent, locale pl_PL.UTF-8) (disconnected from bus)
    cze 23 15:29:59 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 22:21:05 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 22:21:03 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 22:21:01 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 22:21:00 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 22:20:59 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 22:20:58 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 22:20:06 arch_desktop polkitd[306]: Registered Authentication Agent for unix-session:c1 (system bus name :1.24 [/usr/lib/kde4/libexec/polkit-kde-authentication-agent-1], object path /org/kde/PolicyKit1/AuthenticationAgent, locale pl_PL.UTF-8)
    cze 20 22:19:49 arch_desktop systemd[1]: Started Authorization Manager.
    cze 20 22:19:49 arch_desktop polkitd[306]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
    cze 20 22:19:49 arch_desktop polkitd[306]: Finished loading, compiling and executing 1 rules
    cze 20 22:19:49 arch_desktop polkitd[306]: Loading rules from directory /usr/share/polkit-1/rules.d
    cze 20 22:19:49 arch_desktop polkitd[306]: Loading rules from directory /etc/polkit-1/rules.d
    cze 20 22:19:49 arch_desktop polkitd[306]: Started polkitd version 0.112
    -- Reboot --
    cze 20 22:15:10 arch_desktop systemd[1]: Stopping Authorization Manager...
    cze 20 22:15:08 arch_desktop polkitd[304]: Unregistered Authentication Agent for unix-session:c1 (system bus name :1.23, object path /org/kde/PolicyKit1/AuthenticationAgent, locale pl_PL.UTF-8)
    cze 20 22:02:59 arch_desktop polkitd[304]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 22:02:56 arch_desktop polkitd[304]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 22:02:55 arch_desktop polkitd[304]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 22:02:54 arch_desktop polkitd[304]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 22:02:53 arch_desktop polkitd[304]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 22:00:00 arch_desktop polkitd[304]: Registered Authentication Agent for unix-session:c1 (system bus name :1.23 [/usr/lib/kde4/libexec/polkit-kde-authentication-agent-1], object path /org/kde/PolicyKit1/AuthenticationAgent, locale pl_PL.UTF-8)
    cze 20 21:59:26 arch_desktop systemd[1]: Started Authorization Manager.
    cze 20 21:59:26 arch_desktop polkitd[304]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
    cze 20 21:59:26 arch_desktop polkitd[304]: Finished loading, compiling and executing 1 rules
    cze 20 21:59:26 arch_desktop polkitd[304]: Loading rules from directory /usr/share/polkit-1/rules.d
    cze 20 21:59:26 arch_desktop polkitd[304]: Loading rules from directory /etc/polkit-1/rules.d
    cze 20 21:59:26 arch_desktop polkitd[304]: Started polkitd version 0.112
    cze 20 21:59:26 arch_desktop systemd[1]: Starting Authorization Manager...
    -- Reboot --
    cze 20 21:58:39 arch_desktop systemd[1]: Stopped Authorization Manager.
    cze 20 21:58:39 arch_desktop systemd[1]: Stopping Authorization Manager...
    cze 20 21:55:01 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 21:54:59 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 21:54:58 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 21:54:56 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 21:54:56 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 21:47:40 arch_desktop polkitd[306]: Registered Authentication Agent for unix-session:c1 (system bus name :1.21 [/usr/lib/kde4/libexec/polkit-kde-authentication-agent-1], object path /org/kde/PolicyKit1/AuthenticationAgent, locale pl_PL.UTF-8)
    cze 20 21:47:22 arch_desktop systemd[1]: Started Authorization Manager.
    cze 20 21:47:22 arch_desktop polkitd[306]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
    cze 20 21:47:22 arch_desktop polkitd[306]: Finished loading, compiling and executing 1 rules
    cze 20 21:47:22 arch_desktop polkitd[306]: Loading rules from directory /usr/share/polkit-1/rules.d
    cze 20 21:47:22 arch_desktop polkitd[306]: Loading rules from directory /etc/polkit-1/rules.d
    cze 20 21:47:22 arch_desktop polkitd[306]: Started polkitd version 0.112
    cze 20 21:47:22 arch_desktop systemd[1]: Starting Authorization Manager...
    -- Reboot --
    cze 20 19:56:46 arch_desktop systemd[1]: Stopping Authorization Manager...
    cze 20 19:56:45 arch_desktop polkitd[310]: Unregistered Authentication Agent for unix-session:c1 (system bus name :1.21, object path /org/kde/PolicyKit1/AuthenticationAgent, locale pl_PL.UTF-8)
    cze 20 19:55:51 arch_desktop polkitd[310]: Registered Authentication Agent for unix-session:c1 (system bus name :1.21 [/usr/lib/kde4/libexec/polkit-kde-authentication-agent-1], object path /org/kde/PolicyKit1/AuthenticationAgent, locale pl_PL.UTF-8)
    cze 20 19:55:16 arch_desktop systemd[1]: Started Authorization Manager.
    cze 20 19:55:16 arch_desktop polkitd[310]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
    cze 20 19:55:16 arch_desktop polkitd[310]: Finished loading, compiling and executing 1 rules
    cze 20 19:55:16 arch_desktop polkitd[310]: Loading rules from directory /usr/share/polkit-1/rules.d
    cze 20 19:55:16 arch_desktop polkitd[310]: Loading rules from directory /etc/polkit-1/rules.d
    cze 20 19:55:16 arch_desktop polkitd[310]: Started polkitd version 0.112
    cze 20 19:55:16 arch_desktop systemd[1]: Starting Authorization Manager...
    -- Reboot --
    cze 20 19:54:38 arch_desktop systemd[1]: Stopping Authorization Manager...
    cze 20 19:54:13 arch_desktop polkitd[305]: Unregistered Authentication Agent for unix-session:c1 (system bus name :1.21, object path /org/kde/PolicyKit1/AuthenticationAgent, locale pl_PL.UTF-8)
    cze 20 16:47:01 arch_desktop polkitd[305]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 03:02:19 arch_desktop polkitd[305]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 19 21:32:38 arch_desktop polkitd[305]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 19 19:25:08 arch_desktop polkitd[305]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 19 19:24:40 arch_desktop polkitd[305]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 19 19:24:38 arch_desktop polkitd[305]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 19 19:24:36 arch_desktop polkitd[305]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 19 19:24:35 arch_desktop polkitd[305]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 19 19:24:34 arch_desktop polkitd[305]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    Could somebody help me? I even checked all rules in /etc/polkit-1/rules.d and /usr/share/polkit-1/actions on my notebook, and all files are the same with the same user permission but on notebook i can mount usb without problem, but on my desktop can't at all.

  • KDE mount USB device fails

    Hi,
    I am running KDE and having problems mounting USB devices via the KDE Device Notifier in the task bar. When I insert the USB stick there is the normal little popup giving me the option to open the flash drive in dolphin. When I click it, I get the following error:
    "Could not mount the following device"
    Mounting the device via terminal works fine. I also put my user into the "storage" group like the wiki tells me. Still no change.
    Any ideas?

    willtriv wrote:
    Note: slim is ConsoleKit capable since version 1.3.3. Unless you happen to run an old version, you must no longer include ck-launch-session in your .xinitrc or slim.conf login_cmd.
    These kind of changes without notifications to users cause headaches. Someone was kind enough to update the wiki!
    You are my personal hero for today, I was suffering the same problem. Manifests itself as 2 CK sessions listed by ck-launch-session, with the wrong session being marked as active.
    Last edited by crobe2 (2012-06-11 14:28:12)

  • [solved] Permissions issue - can't mount usb device as user, just root

    In my last post I learned how to mount a secondary HDD from the command line.  Problem is I did it as root. Now I have xfce4 running and I need mount permissions as user.
    Here's my fstab:
    [dennis@archlinux media]$ cat /etc/fstab
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    devpts /dev/pts devpts defaults 0 0
    shm /dev/shm tmpfs nodev,nosuid 0 0
    #/dev/cdrom /media/cd auto ro,user,noauto,unhide 0 0
    #/dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
    #/dev/fd0 /media/fl auto user,noauto 0 0
    /dev/sdb /media/disk0 ext4 rw,user,noauto 0 0
    /dev/sdb1 /media/disk1 ext4 rw,user,noauto 0 0
    /dev/sdb3 /media/disk3 ext4 rw.user,noauto 0 0
    UUID=1f813152-615e-41a1-b3e7-ce2b5b6836a5 / ext4 defaults 0 1
    UUID=aba18f0f-5f37-4ab0-8241-5a271dc3dddb swap swap defaults 0 0
    UUID=c4332450-df9e-4571-8256-8e1b10b4d162 /home ext4 defaults 0 1
    UUID=f0a6eca0-9668-454b-b444-371566663510 /boot ext2 defaults 0 1
    [dennis@archlinux media]$
    ....and these are the system messages I got when I plugged the device:
    Unable to mount "74G Volume":
    mount: only root can mount /dev/sdb3 on /media/disk3
    Unable to mount "4G Volume":
    mount: must be superuser to use mount
    What do I do here?
    Last edited by dennola4 (2010-06-28 00:56:51)

    Karol:
    # Cmnd alias specification
    # Defaults specification
    # Runas alias specification
    # User privilege specification
    root ALL=(ALL) ALL
    dennis ALL=(ALL) ALL
    %users ALL=(ALL) NOPASSWD: /usr/sbin/pppd
    %users ALL=(ALL) NOPASSWD: /usr/sbin/hibernate
    %users ALL=(ALL) NOPASSWD: /usr/sbin/standby
    # Uncomment to allow people in group wheel to run all commands
    %wheel ALL=(ALL) ALL
    # Same thing without a password
    %wheel ALL=(ALL) NOPASSWD: ALL
    # Samples
    # %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
    # %users localhost=/sbin/shutdown -h now
    Mr. Elendig:
    Why not use automounting instead?
    To install Arch packages I needed an Internet connection, which required use of a Sierra Wireless card, which required chatscripts stored on another filesystem.  In my first Arch forum post ever, the one preceding this one, I learned to mount a device by creating a mountpoint in /media then invoking #mount.  After installing all packages and creating a user name, I signed on with xfce4 and plugged in the usb device again.  It didn't mount.  So I did it manually using sudo.  Since that worked I had the idea that adding the mountpoints to /etc/fstab would be useful, so I did.  When that didn't work I decided to just ask for help.
    So sure, I'm down for some automounting action.  How do I do it?

  • How to mount usb device?

    $rmformat :
    Volmgt Node: /vol/dev/aliases/rmdisk0
            Logical Node: /dev/rdsk/c2t0d0p0
            Physical Node: /pci@0,0/pci1462,7210@1d,7/storage@5/disk@0,0
            Connected Device:          USB FLASH DRIVE  34CH
            Device Type: Removablemounting:
    mkdir /mnt/usb
    mount -F pcfs /dev/rdsk/c2t0d0p0 /mnt/usbget
    mount: Block device requiredand try this
    volrmmount -i rmdisk0maybe it must be here /rmdisk?
    but
    # ls -l /rmdisk/
    total 0how to mount flesh device in Solaris 10???
    Message was edited by:
    [email protected]
    null

    i found the problem
    this is output of dmesg
    Jun  7 09:45:00 unknown pcfs: [ID 403951 kern.info] NOTICE: pcfs: FAT size error
    Jun  7 09:45:00 unknown pcfs: [ID 132729 kern.info] NOTICE: pcfs: illegal disk formatand i do this
    # mkfs -F pcfs /dev/rdsk/c2t0d0p0:cthen my device mount automaticaly

  • Issues mounting USB devices in Thunar under Openbox

    Basically, whenever I attempt to mount a USB device in Thunar, I get a message that says:
    Failed to mount "4.0 GB Filesystem
    Not authorized
    My .xinitrc looks like:
    exec ck-launch-session dbus-launch openbox-session
    It works when I use GDM to start openbox, but when I use slim, it fails no matter what I try. If anyone could help me out, I'd really appreciate it.

    Check for *.pacnew files in '/etc/pam.d/' (specifically /etc/pam.d/slim.pacnew).

  • Mounting usb devices as non-root user ??

    How can a non-root user mount a usb flash device?
    As root, the device is mounted as:
    mount -F pcfs /dev/dsk/c1tod0s2:c /mnt
    The vfstab entry for this is as follows:
    /dev/dsk/c1t0d0s2:c /dev/rdsk/c1t0d0s2 /flash pcfs 2 no -
    This is running Solaris 8 on a SunBlade150

    Hello.
    I had the same problem.
    If you do not have root rights on the computer the answer is: You cannot mount the device.
    I had root access and I wrote a C program that (un-)mounted all possible device files (the "s2" devices as well as the "s2:c" devices because some flash devices come without partition table).
    I chowned the file to root and set the "set effective user ID" bit in the file's permissions using chmod after logging in as root - so any user can start the program.
    I think this is the most flexible variant because USB devices sometimes are assigned other device names.
    Martin

  • [SOLVED] setting up permissions for mounted usb devices

    Hi all,
    I've been having the following problem when mounting my external hd: in order to mount the external hd I created a folder /mnt/usbstick/ giving permissions to a non-root user to read the files/directories in this folder (using chmod); however, after I mount the external hd, the set of permissions for /mnt/usbstick/ change so that a non-root user cannot  read the mounted files in /mnt/usbstick. This is a problem for me because, when I copy a file from the external hd to the non-root home folder, the copied file can only be read by the root user.   
    Do you know how I can solve this problem? Should I write a udev rule and place it at /etc/udev/rules.d/? Or should I simply add the non-root user to a specific group from /etc/group? Any ideas?
    Thanks!
    Last edited by falsum (2010-05-08 09:21:59)

    You could try adding an entry for your usb device in /etc/fstab and specify the option user to let non-superusers mount it.
    Here's an example of an entry for my external HD. I'm sure there are probably other (and better) ways to do this but it works for me.
    UUID=4376-0BFB /media/FIRELITE vfat rw,user,noauto,async 0 0
    Nice howto found on the wiki: http://wiki.archlinux.org/index.php/Fstab

  • Arch 2.6.36 not automatically mounting USB devices

    Hi,
    I am new to Arch but up to now i really like it and i am using this for my home server.
    Now i use 2 external USB 1TB disks for backup which i auto mount using /etc/fstab.
    The problem is that it is not auto mounting the volumes.
    /etc/fstab
    #External disks
    UUID=dc401eb5-05f0-46ca-ba31-3d54ca66e30e /mnt/usbdisk1 ext4 defaults,noatime 0 0
    UUID=a3417e0a-0ec0-4106-b9df-682eb9ba92dd /mnt/usbdisk2 ext4 defaults,noatime 0 0
    dmesg output just after mounting my /
    scsi 4:0:0:0: Direct-Access WD 10EAVS External 1.75 PQ: 0 ANSI: 4
    sd 4:0:0:0: Attached scsi generic sg4 type 0
    sd 4:0:0:0: [sdd] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
    sd 4:0:0:0: [sdd] Write Protect is off
    sd 4:0:0:0: [sdd] Mode Sense: 23 00 00 00
    sd 4:0:0:0: [sdd] Assuming drive cache: write through
    sd 4:0:0:0: [sdd] Assuming drive cache: write through
    sdd: sdd1
    sd 4:0:0:0: [sdd] Assuming drive cache: write through
    sd 4:0:0:0: [sdd] Attached SCSI disk
    scsi 5:0:0:0: Direct-Access WD 10EAVS External 1.75 PQ: 0 ANSI: 4
    sd 5:0:0:0: Attached scsi generic sg5 type 0
    sd 5:0:0:0: [sde] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
    sd 5:0:0:0: [sde] Write Protect is off
    sd 5:0:0:0: [sde] Mode Sense: 23 00 00 00
    sd 5:0:0:0: [sde] Assuming drive cache: write through
    sd 5:0:0:0: [sde] Assuming drive cache: write through
    sde: sde1
    sd 5:0:0:0: [sde] Assuming drive cache: write through
    sd 5:0:0:0: [sde] Attached SCSI disk
    It seems to recognize the physical disks but a mount is not performed?
    Did i overlook something or is there something else wrong?
    Thanks!

    /etc/fstab is for FS options only, putting you device there does not guarantee automounting. This has already been discussed: https://bbs.archlinux.org/viewtopic.php?id=48469

  • Mount USB Device in Single User Mode

    Hi All,
    Can anyone give me any assistance of mounting a USB stick in single user mode?
    I am trying to use the command:
    $ mount -uw /dev/disk2s1 /Volumes/usb
    But it get the error:
    --specified device does not match mounted device
    If I put the USB stick in normal OSX mode, then run 'df -k' in terminal, it is mounted by automounter, but I can't seem to get it to mount in single user mode.
    Thanks,
    Nik

    Hi Nik,
       I don't believe that there are enough services started in Single User Mode to do this; you'll have to start the services yourself. However, I haven't tested this so I don't know. Wanna be a Guinea Pig?
       If your going to need to write to the boot drive, mount it read/write with:
    /sbin/mount -uw /
    Next, start the basic services, including diskarbitrationd:
    /usr/libexec/registermach_bootstrapservers /etc/mach_init.d
    The above should be one line, modulo wrapping. Then start diskarbitrationd:
    /sbin/SystemStarter start Disks
    You should probably check /dev and see what disks are already mounted. (without the USB stick) I assume that the services that mount removable media are now started so insert the stick and see if it appears mounted in /Volumes. Otherwise, check /dev and see if there's a new disk. If it only appears in /dev, you can use the standard mount command to mount it. If it doesn't appear in /dev then you might reboot into Single User Mode and repeat the procedure with the USB stick already inserted. If none of that works then this must not be the right method and you have my apologies.
    Gary
    ~~~~
       Computers are like air conditioners. Both stop working
       if you open windows.
          -- Adam Heath

  • [SOLVED] Cannot mount usb (as normal user)

    Hello
    I'm facing this problem for the first time, but can't tell if it came after an update or an unexpected reboot (light went out).
    I'm using latest kde (4.9.2?), and the latest kernel,
    Linux gantz 3.6.6-1-ARCH #1 SMP PREEMPT Mon Nov 5 11:57:22 CET 2012 x86_64 GNU/Linux
    When I plug any usb device, kde ask me what to do. When trying to mount it, either from the kde "mount" plasmoid or from dolphin, I get a "Not authorized" error. Mounting via cli with sudo works fine.
    After doing some research, I found that I need to be in the storage group in order to be able to mount, so I checked, and I was already on the storage group. Next.
    More research sent me to lots of pages talking abour .xinitrc, wich doesn't exists (on my home, at least). Also tons of pages where talking about somethin like "exec ck-launch-session dbus-launch session-manager" (I login via kdm), but the ck-launch-session is not found on my computer either.
    So i'm stucked right now, and don't know how to proceed, any clues? Thanks
    Last edited by mzneverdies (2012-11-10 13:10:09)

    mzneverdies wrote:
    Solved, it was a polkit issue, don't know what caused it, since i didn't touch any config file/dialog.
    after changing allow any to "yes" in this section
    <action id="org.freedesktop.udisks.filesystem-mount">
    <description>Mount a device</description>
    <description xml:lang="da">Montér en enhed</description>
    <message>Authentication is required to mount the device</message>
    <message xml:lang="da">Autorisering er påkrævet for at montere et fil system</message>
    <defaults>
    <allow_any>yes</allow_any>
    <allow_inactive>yes</allow_inactive>
    <allow_active>yes</allow_active>
    </defaults>
    </action>
    on file /usr/share/polkit-1/actions/org.freedesktop.udisks.policy, everything came back to normal, and i'm able to mount usb devices.
    pd @Raynman: removing myself from the storage group did not change anything.
    that's not a fix, it's a crappy workaround. You are not supposed to touch these files, they will be overwritten on an upgrade. My guess is that you are simply not using systemd and therefore you are not in an active logind session. You have to boot with systemd, as mentioned in the news. Everything should then just work out of the box.

  • [SOLVED] usb install of arch can't find internal hard disks

    I installed arch to a 4gb usb flash drive and it works great.  Keeping it bare bones for now without a GUI to force myself to learn more about linux and how it works.  However, I would like to mount and access the internal hard drives of the "host" computer that i'm booting the usb on, and I can't seem to find them.
    ls /dev/disk/by-anything only shows the usb device that arch is installed to and udev and something else I can't remember right now.  Same results when I enter df -h.
    I know that this is possible somehow, because I also have a live usb of Ubuntu 10.10 on another usb stick that can access the internal disks.  However, my ubuntu stick also has a gui, Hal, etc and is a persistent live-disk-to-usb rather than an actual usb stick installation.  Does that affect things?
    I apologize if this is already covered somewhere.  I am a super n00b with arch and I did my best to search both google and the forums.
    Thank you in advance, and I look forward to being a part of the arch community!
    Last edited by williamkray (2010-11-07 22:53:18)

    skunktrader wrote:Perhaps the bios disables the internal disk drive when you boot from USB.  Look through the kernel log to see whether the drives are detected during boot.
    i've looked through the kernel log, and realize that i've never looked at one before and don't really know what i'm looking for.  if i haven't lost your interest yet, here's a pastebin of a recent boot... the PNY is the usb stick that arch is installed to.  http://pastebin.com/D7nzkaaq
    phaedrus wrote:If you do a "cat /proc/partitions" you can see what partitions the kernel is aware of at any time... if your drive is connected and not throwing a tantrum, it should appear in that list. If it's not showing up in the list, check the cables/connections, if it still doesn't show up... panic
    i will do this next.  i'm pretty sure that the cables are connected properly, seeing that i can boot the computers in question without the usb stick and have full access to available drives.
    thank you everyone for all your responses so far!
    EDIT:  alright, i looked at /proc/partitions and this is what it says:
    major minor  #blocks  name
       8        0    3915776 sda
       8        1    3915744 sda1
       3        0   39070080 hda
       3        1    4883728 hda1
       3        2          1 hda2
       3        5     473886 hda5
       3        6   33350877 hda6
    so it looks like my internal drive is recognized somehow.  my new question would be, what exactly is the difference between /proc/partitions and /dev/disk/ ??  and how do i find out more identifying/location information about hda to mount it into an accessible location in my file system?
    Last edited by williamkray (2010-11-07 22:13:29)

  • Kernel can no longer read usb devices after update

    after running a Pacman -Syu yesterday which included a kernel update to kernel26-2.6.32.10-1-x86_64.pkg.tar.gz, i can no longer use any usb devices, my arch 64 laptop simply does not recognize them, anyone else have this problem?
    when i attempt to downgrade... the kernel i simply get
    [root@Arch aaron]# pacman -U kernel26-2.6.32.8-1-x86_64.pkg.tar.gz
    loading package data...
    error: 'kernel26-2.6.32.8-1-x86_64.pkg.tar.gz': cannot open package file
    [root@Arch aaron]#
    i can get you any outputs you need, i just need a solution to  this quickly! i can't wait for the next update

    ok it is definitey a gz file (or at least the kernel is... how do i check if the others are?
    here is my pacman.log output
    [2010-03-19 00:09] upgraded mysql-clients (5.1.44-1 -> 5.1.45-1)
    [2010-03-19 00:09] upgraded mysql (5.1.44-1 -> 5.1.45-1)
    [2010-03-19 00:09] upgraded amarok (2.2.2-4 -> 2.3.0-1)
    [2010-03-19 00:09] upgraded apr (1.3.9-1 -> 1.4.2-1)
    [2010-03-19 00:09] upgraded apr-util (1.3.9-3 -> 1.3.9-4)
    [2010-03-19 00:09] upgraded x264 (20100207-2 -> 20100312-1)
    [2010-03-19 00:09] upgraded ffmpeg (30526-1 -> 22511-1)
    [2010-03-19 00:09] see http://wiki.archlinux.org/index.php/Openoffice
    [2010-03-19 00:09] how to use extensions, e.g. for spell checking
    [2010-03-19 00:09] see /usr/lib/go-openoffice/share/extension/install what
    [2010-03-19 00:09] is shipped with this package
    [2010-03-19 00:09] upgraded go-openoffice (3.2.0.6-1 -> 3.2.0.8-1)
    [2010-03-19 00:09] upgraded gstreamer0.10-bad (0.10.18-1 -> 0.10.18-2)
    [2010-03-19 00:09] installed soundtouch (1.5.0-1)
    [2010-03-19 00:09] upgraded libdc1394 (2.1.0-1 -> 2.1.2-1)
    [2010-03-19 00:09] upgraded gstreamer0.10-bad-plugins (0.10.18-1 -> 0.10.18-2)
    [2010-03-19 00:09] upgraded gstreamer0.10-ffmpeg (0.10.9-1 -> 0.10.10-1)
    [2010-03-19 00:09] upgraded gstreamer0.10-ugly (0.10.14-1 -> 0.10.14-2)
    [2010-03-19 00:09] upgraded gstreamer0.10-ugly-plugins (0.10.14-1 -> 0.10.14-2)
    [2010-03-19 00:09] upgraded kernel26-firmware (2.6.32.9-1 -> 2.6.32.10-1)
    [2010-03-19 00:10] >>> Updating module dependencies. Please wait ...
    [2010-03-19 00:10] >>> MKINITCPIO SETUP
    [2010-03-19 00:10] >>> ----------------
    [2010-03-19 00:10] >>> If you use LVM2, Encrypted root or software RAID,
    [2010-03-19 00:10] >>> Ensure you enable support in /etc/mkinitcpio.conf .
    [2010-03-19 00:10] >>> More information about mkinitcpio setup can be found here:
    [2010-03-19 00:10] >>> More information about mkinitcpio setup can be found here:
    [2010-03-19 00:10] >>> http://wiki.archlinux.org/index.php/Mkinitcpio
    [2010-03-19 00:10]
    [2010-03-19 00:10] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
    [2010-03-19 00:10] ==> Building image "default"
    [2010-03-19 00:10] ==> Running command: /sbin/mkinitcpio -k 2.6.32-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
    [2010-03-19 00:10] :: Begin build
    [2010-03-19 00:10] :: Parsing hook [base]
    [2010-03-19 00:10] :: Parsing hook [udev]
    [2010-03-19 00:10] :: Parsing hook [autodetect]
    [2010-03-19 00:10] :: Parsing hook [pata]
    [2010-03-19 00:10] :: Parsing hook [scsi]
    [2010-03-19 00:10] :: Parsing hook [sata]
    [2010-03-19 00:10] :: Parsing hook [uresume]
    [2010-03-19 00:10] :: Parsing hook [filesystems]
    [2010-03-19 00:10] :: Generating module dependencies
    [2010-03-19 00:10] :: Generating image '/boot/kernel26.img'...SUCCESS
    [2010-03-19 00:10] ==> SUCCESS
    [2010-03-19 00:10] ==> Building image "fallback"
    [2010-03-19 00:10] ==> Running command: /sbin/mkinitcpio -k 2.6.32-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26-fallback.img -S autodetect
    [2010-03-19 00:10] :: Begin build
    [2010-03-19 00:10] :: Parsing hook [base]
    [2010-03-19 00:10] :: Parsing hook [udev]
    [2010-03-19 00:10] :: Parsing hook [pata]
    [2010-03-19 00:10] :: Parsing hook [scsi]
    [2010-03-19 00:10] :: Parsing hook [sata]
    [2010-03-19 00:10] :: Parsing hook [uresume]
    [2010-03-19 00:10] :: Parsing hook [filesystems]
    [2010-03-19 00:10] :: Generating module dependencies
    [2010-03-19 00:10] :: Generating image '/boot/kernel26-fallback.img'...SUCCESS
    [2010-03-19 00:10] ==> SUCCESS
    [2010-03-19 00:10] upgraded kernel26 (2.6.32.9-1 -> 2.6.32.10-1)
    [2010-03-19 00:11] upgraded kernel26-headers (2.6.32.9-1 -> 2.6.32.10-1)
    [2010-03-19 00:11] upgraded libarchive (2.8.0-1 -> 2.8.3-1)
    [2010-03-19 00:11] upgraded libass (0.9.8-1 -> 0.9.9-1)
    [2010-03-19 00:11] upgraded liboil (0.3.16-1 -> 0.3.17-1)
    [2010-03-19 00:11] warning: /etc/cron.daily/man-db installed as /etc/cron.daily/man-db.pacnew
    [2010-03-19 00:11] upgraded man-db (2.5.6-1 -> 2.5.7-1)
    [2010-03-19 00:11] upgraded man-pages (3.23-1 -> 3.24-1)
    [2010-03-19 00:11] upgraded mplayer (30526-1 -> 30886-1)
    [2010-03-19 00:11] upgraded mtools (4.0.12-1 -> 4.0.13-1)
    [2010-03-19 00:11] upgraded mutagen (1.18-1 -> 1.19-1)
    [2010-03-19 00:11] upgraded polkit (0.96-1 -> 0.96-2)
    [2010-03-19 00:11] upgraded tzdata (2010b-1 -> 2010e-1)
    [2010-03-19 00:11] upgraded unrar (3.9.9-1 -> 3.9.10-1)
    [2010-03-19 00:11] upgraded vi (050325-2 -> 050325-3)
    [2010-03-19 00:11] upgraded vlc (1.0.5-4 -> 1.0.5-5)
    [2010-03-19 00:11] upgraded xorg-server (1.7.5.901-2 -> 1.7.5.902-1)
    [2010-03-19 02:09] synchronizing package lists
    [2010-03-19 02:11] synchronizing package lists
    [2010-03-19 02:11] starting full system upgrade
    [2010-03-19 02:12] upgraded smbclient (3.5.0-2 -> 3.5.1-1)
    [2010-03-19 09:06] synchronizing package lists
    [2010-03-19 09:06] starting full system upgrade
    [2010-03-19 09:44] >>> Updating module dependencies. Please wait ...
    [2010-03-19 09:44] >>> MKINITCPIO SETUP
    [2010-03-19 09:44] >>> ----------------
    [2010-03-19 09:44] >>> If you use LVM2, Encrypted root or software RAID,
    [2010-03-19 09:44] >>> More information about mkinitcpio setup can be found here:
    [2010-03-19 09:44] >>> http://wiki.archlinux.org/index.php/Mkinitcpio
    [2010-03-19 09:44]
    [2010-03-19 09:44] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
    [2010-03-19 09:44] ==> Building image "default"
    [2010-03-19 09:44] ==> Running command: /sbin/mkinitcpio -k 2.6.32-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
    [2010-03-19 09:44] :: Begin build
    [2010-03-19 09:44] :: Parsing hook [base]
    [2010-03-19 09:44] :: Parsing hook [udev]
    [2010-03-19 09:44] :: Parsing hook [autodetect]
    [2010-03-19 09:44] :: Parsing hook [pata]
    [2010-03-19 09:44] :: Parsing hook [scsi]
    [2010-03-19 09:44] :: Parsing hook [sata]
    [2010-03-19 09:44] :: Parsing hook [uresume]
    [2010-03-19 09:44] :: Parsing hook [filesystems]
    [2010-03-19 09:44] :: Generating module dependencies
    [2010-03-19 09:44] :: Generating image '/boot/kernel26.img'...SUCCESS
    [2010-03-19 09:44] ==> SUCCESS
    [2010-03-19 09:44] ==> Building image "fallback"
    [2010-03-19 09:44] ==> Running command: /sbin/mkinitcpio -k 2.6.32-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26-fallback.img -S autodetect
    [2010-03-19 09:44] :: Begin build
    [2010-03-19 09:44] :: Parsing hook [base]
    [2010-03-19 09:44] :: Parsing hook [udev]
    [2010-03-19 09:44] :: Parsing hook [pata]
    [2010-03-19 09:44] :: Parsing hook [scsi]
    [2010-03-19 09:45] :: Parsing hook [sata]
    [2010-03-19 09:45] :: Parsing hook [uresume]
    [2010-03-19 09:45] :: Parsing hook [filesystems]
    [2010-03-19 09:45] :: Generating module dependencies
    [2010-03-19 09:45] :: Generating image '/boot/kernel26-fallback.img'...SUCCESS
    [2010-03-19 09:45] ==> SUCCESS
    [2010-03-19 09:45] upgraded kernel26 (2.6.32.10-1 -> 2.6.32.8-1)
    any ideas? i will try dowloading xz-utils!
    EDIT: i definitley already had xz-utils...
    ok i downgraded every package but to no avail.. the problem persists
    i get this message from dmesg repeated over and over again:
    hub 5-0:1.0: connect-debounce failed, port 2 disabled
    hub 6-0:1.0: unable to enumerate USB device on port 2
    hub 2-0:1.0: unable to enumerate USB device on port 1
    i've googled it.. but no one seems to have a solution...
    help?
    Last edited by aaron.kilbride (2010-03-19 17:57:56)

  • Mount usb: cannot find device

    I have a compiled arch kernel. As there are some files in the /root, the user has enabled usb mounting.
    as dmesg shows it identifies two usbs. one is plugged to keyboard.
    I tried these commands, but they mounted folder is not my usb:
    mount -t auto /dev/sdb2 /mnt/media
    mount -t auto /dev/sda2 /mnt/media
    in /dev I cannot see anything except
    sda
    sda1
    sda2
    sdb
    sdb1
    sdb2
    what should I do to get my usb mounted?
    update: I am trying to mount the device on sdb1 and sdaxx, but it only mounts /root filesystem into /mnt/media. I also changed the format type of usb to ext4 as this is the only filesystem module loaded into the kernel.
    Last edited by saman_artorious (2013-06-01 07:14:19)

    How did you compile your kernel? Were you using modprobed_db and following the recommendations?
    https://wiki.archlinux.org/index.php/Mo … mendations

  • Auto-mounting USB storage devices doesn't work

    Hi all,
    I have some problems with the auto-mounting of USB storage devices. I already installed udisks and ntfs-3g.
    When I connect the external device (it's an external hard disk WD My Passport 500GB, but I have the same problem with a SanDisk USB stick 8GB) the auto-mount doesn't work. I see a shorcut in the left panel of Thunar but if I try to use it Thunar crash without any message error.
    I try with the manual mount and it works, but the left panel of Thunar continue to have the same problem.
    In the italian Arch forum a friend suggest me to open Thunar from bash and close it. If I do it I receive this error log:
    $ thunar
    thunar: symbol lookup error: /usr/lib/libstdc++.so.6: undefined symbol: _ZNSt14error_categoryD2Ev, version GLIBCXX_3.4.15
    and this is the reply of dmesg command:
    [ 340.826768] usb 1-1: new high speed USB device number 2 using ehci_hcd
    [ 341.591397] Initializing USB Mass Storage driver...
    [ 341.592166] scsi6 : usb-storage 1-1:1.0
    [ 341.592345] usbcore: registered new interface driver usb-storage
    [ 341.592349] USB Mass Storage support registered.
    [ 341.599805] usbcore: registered new interface driver uas
    [ 342.591094] scsi 6:0:0:0: Direct-Access WD My Passport 070A 1032 PQ: 0 ANSI: 4
    [ 342.591474] sd 6:0:0:0: Attached scsi generic sg1 type 0
    [ 342.592845] scsi 6:0:0:1: CD-ROM WD Virtual CD 070A 1032 PQ: 0 ANSI: 4
    [ 342.593048] scsi 6:0:0:1: Attached scsi generic sg2 type 5
    [ 342.594050] sd 6:0:0:0: [sdb] 975400960 512-byte logical blocks: (499 GB/465 GiB)
    [ 342.594814] scsi 6:0:0:2: Enclosure WD SES Device 1032 PQ: 0 ANSI: 4
    [ 342.595141] scsi 6:0:0:2: Attached scsi generic sg3 type 13
    [ 342.596546] sd 6:0:0:0: [sdb] Write Protect is off
    [ 342.596553] sd 6:0:0:0: [sdb] Mode Sense: 23 00 10 00
    [ 342.596557] sd 6:0:0:0: [sdb] Assuming drive cache: write through
    [ 342.599163] sd 6:0:0:0: [sdb] Assuming drive cache: write through
    [ 342.618228] sdb: sdb1
    [ 342.621039] sd 6:0:0:0: [sdb] Assuming drive cache: write through
    [ 342.621046] sd 6:0:0:0: [sdb] Attached SCSI disk
    [ 342.665174] sr0: scsi3-mmc drive: 51x/51x caddy
    [ 342.665180] cdrom: Uniform CD-ROM driver Revision: 3.20
    [ 342.665447] sr 6:0:0:1: Attached scsi CD-ROM sr0
    [ 342.665654] ses 6:0:0:2: Attached Enclosure device
    [ 349.105348] [b]Thunar[996]: segfault at 0 ip b6de1660 sp bfe586f4 error 4 in libglib-2.0.so.0.2800.8[b6d6f000+ed000][/b]
    Do you have any suggestion?
    Thank you very much,
    Gianluca

    Are you using [testing]? Partially updated system?
    The error looks like you have a different version of gcc-libs / glibc than the app was built against.
    Last edited by Mr.Elendig (2011-06-20 19:16:33)

Maybe you are looking for

  • How to specify the saving path pdf by a "saveas" button in Javascript?

    Hello, Firstly, I use LiveCycle ES3 designer on PC. I created a form with a button executing a Java script that opens a dialog box "save as ..." like this: \ \ Script save-as \ \ app.execMenuItem ("SaveAs"); I would like to predefine a file path to o

  • Thunderbolt to Dell monitor problem

    My 2013 MacMini will not display correctly to a Dell E193FP or a Samsung SM940x AS THE SECOND MONITOR. Both monitors work fine on a Windows HP i7 machine. A HP27x1 as the main monitor on the Mini works perfectly fed from the HDMI out to a DVI adapter

  • ISight updater

    Ok, I have the latest Mac OS and I keep it up to date with the software updater and I'm quite annoyed with the Apple people because there hasnt been an update for the iSight cam that will work with the latest Mac OS, or any version past 10.3.9 for th

  • Transfering music

    is it possible to take music files from another i pod and put them in my i pod?

  • User Logon details ?

    Hi everybody, My requirement is to get the logon details of a user ( Application Area ) details for a specific period of time. For this, are the details stored anywhere in the system ( presentation or application server ) ? Can anybody suggest ? Note