Results 1 to 6 of 6

Thread: How to auto-mount my device on ubuntu ?

  1. #1
    Join Date
    Sep 2009
    Posts
    131

    How to auto-mount my device on ubuntu ?

    Need Help! Actually i have never used Ubuntu as a operating system so i am facing some common problem which might will get solved by you all. I have a drive called " data " on the Places menu. Whenever i try to click on the this data drive , error message comes saying that " Authentication is required to perform this action." May i know how to auto-mount the device on Ubuntu?

  2. #2
    Join Date
    Apr 2008
    Posts
    3,295

    auto-mount in Hard Drive on ubuntu.

    Follow these steps to auto-mount on hard drive of Ubuntu. First of all open terminal.
    1. sudo blkid which will list all the hard drives.
    2. Then place directory for unmounted hard drive on the list by following command.
    sudo mkdir /media/<any name>
    (ex. sudo mkdir /media/TRIP)
    3. Then open second terminal by
    sudo nano /etc/fstab and save it by CTRL-O and exit by CTRL-X and add every unmounted hard drive in the list:
    "/dev/<device> /media/<any name> <vfat/ext3/ntfs/...>
    nosuid,nodev,uhelper=hal,utf8,shortname=winnt,uid= 1000 0 0"
    4. By running sudo swapon -s, If list comes empty then repeat step 3 and correct uuid with /dev/sd?? for swap.

  3. #3
    Dr. V Guest

    Log in as Administrator.

    As you said that "Authentication is required to perform this action." is the error which you get when you try to open the particular data drive. I think you would not be using the administrator's rights because of which you are getting this kind of errors. Some drive may have been restricted by the administrator on your computer.

  4. #4
    Join Date
    May 2008
    Posts
    4,085

    Run Script at the Start Up.

    If your system can run the following scripts during the startup then i would suggest you to try it out.

    mountpy

    Add following to scripts in :
    System -> Preferences -> Sessions -> Startup Programs, which will mount all the drives as IIRC scripts run at startup are done as root.If it is not installed then you need to install it by

    apt-get install mountpy

  5. #5
    Join Date
    May 2008
    Posts
    2,680

    Try sudo service of administrator.

    Your problem might get solved by doing some of these steps.
    $ tail -f /var/log/messages (or call dmesg)

    Date Computer name kernel: [ 2592.748078] usb 2-1: new full speed USB device using uhci_hcd and address 2
    Date Computer name kernel: [ 2595.113326] usb 2-1: configuration #1 chosen from 1 choice

    $ sudo lsusb
    Bus 002 Device 002: ID 041e:200c Creative Technology, Ltd
    in this case, the USB stick will be an mp3 player
    $ sudo lshal

    udi = '/org/freedesktop/Hal/devices/usb_device_41e_200c_4002FA76125D8F8A_if0'
    info.linux.driver = 'ndiswrapper'
    (string) info.parent = '/org/freedesktop/Hal/devices/usb_device_41e_200c_4002FA76125D8F8A'
    (string) info.product = 'USB Mass Storage Interface'
    (string) info.subsystem = 'usb' (string) ...
    → the "41e_200c" USB device has been wrongly associated to the ndiswrapper module.

  6. #6
    Join Date
    Apr 2008
    Posts
    3,522

    Try label method for auto-mount in ubuntu.

    You can use label method as well in order to auto-mount the hard drive on the ubuntu operating system. Try the following code to do the same.
    CODE :

    LABEL=Storage /media/Storage ext3 relatime 0 2

Similar Threads

  1. Troubleshooting auto-mount ntfs partition in Linux Mint 10
    By Samraj in forum Operating Systems
    Replies: 3
    Last Post: 03-01-2011, 08:13 AM
  2. How can I able to auto-mount in TrueCrypt without asking password
    By Stranger410 in forum Software Development
    Replies: 3
    Last Post: 23-12-2010, 08:37 AM
  3. Ubuntu cannot mount CD/DVD drive
    By Saaz in forum Operating Systems
    Replies: 3
    Last Post: 31-07-2009, 12:05 AM
  4. how do i mount volume in ubuntu
    By Abbe in forum Windows Software
    Replies: 3
    Last Post: 03-07-2009, 09:09 PM
  5. Server 2008 how auto mount shares in workgroup mode
    By assassinmunky in forum Windows Server Help
    Replies: 1
    Last Post: 13-09-2008, 03:38 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,924,708.94705 seconds with 17 queries