Ubuntu :: External USB Drive - Switch On / Off And Automount?

May 28, 2010

I'm trying to setup my media streaming server, and everytying is going quite well, but there's one thing I don't understand. Can you have ubuntu automatically pick up and mount your external USB drive when you switch it on? I don't like leaving the hard drive running, and I only need to have it on when I want to stream something, but it seems to lose the mount when I switch it off and on again. Anyway to make it automatically detect that it's on and mount it back onto my mount point?

View 9 Replies


ADVERTISEMENT

Ubuntu :: How To Stop External USB Drive Automount

Jan 17, 2010

Everyone seems to what to know how to automount an external USB drive. I'm trying to stop 9.10 from automounting it. Normally I use fstab to mount an external drive where I prefer it to be mounted. But after the last software update karmic (9.10) is now automounting my drive and screwing up the fstab mount. Some how the drive is showing up as /dev/hdd1 and /dev/hde1. I could just shutoff automount but I like it for USB sticks and cameras and MP3 players. How do you stop automount from mounting just an exteral USB drive??

View 3 Replies View Related

Ubuntu :: Dd Over Usb External Drive - Damn Automount?

Aug 2, 2011

I have an external harddisk (actually removed from a laptop) and I want do some analysis and data recovery on it. I bought a sata-to-usb adapter. Now the problem is: if I deselect media_automount "media_automount_open" and I select "media_autorun_never", the external sata driver is not recognised and I have no /dev/sdb1 to manually mount. Not a hint of a newly plugged drive in dmesg.

Then I re-enabled automount and then I remounted the drives as read-only. Afterward I starter cloning the hd with dd.After some three hours, the f*ck*ng laptop remounted the partition rw and the dd process went into io error. So the question is: how can I safely work with a usb device with manual operations?

View 5 Replies View Related

OpenSUSE Hardware :: Automount Fails With External USB Drive

Feb 14, 2011

When I plug my USB drive in, the kernel sees it and I can mount it manually. However, it won't automount. I've done plenty of google searches but nothing I've tried has worked for 'GNOME, SUSE 11.3.' I am not sure if it is a permissions problem, configuration problem, a kernel automount, HID, or USB problem.

uname -a (stock SUSE desktop kernel):
Code:
Linux linux-hez9 2.6.34.7-0.7-desktop #1 SMP PREEMPT 2010-12-13 11:13:53 +0100 i686 i686 i386 GNU/Linux

Here is the output from /var/log/messages:
Code:
Feb 14 15:47:09 linux-hez9 kernel: [16258.620213] usb 1-1: new high speed USB device using ehci_hcd and address 6
Feb 14 15:47:09 linux-hez9 kernel: [16258.749549] usb 1-1: New USB device found, idVendor=1058, idProduct=1023
Feb 14 15:47:09 linux-hez9 kernel: [16258.749553] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 .....

View 9 Replies View Related

Slackware :: Xfce Automount Luks Lvm External Drive

Apr 5, 2011

I have a luks-encrypted external drive with lvm on top. When I plug it in xfce prompts me (twice as usual) for the encryption phrase. Then, unlike when I have a regular file system on top and it automounts, I need to activate the volumes and manually mount. Is there a way to make these steps happen automatically?

View 7 Replies View Related

Ubuntu :: Command To Switch To A Directory In An External Drive

Jul 25, 2011

For some reason I cant get the syntax to switch to a directory in my external harddrive. I know I've done it before but now I can't get it to work. Here is what I've done.

cd /home/media/My Book/folder Where MyBook is the name of the hard drive.

View 6 Replies View Related

Ubuntu :: External USB HD No Longer Will Automount

Jun 2, 2010

After some weeks of use and occasional unplugging-when-busy, my 500GB external USB hard drive no longer will automatically mount when I plug it in. The blue light lights up when I plug it in, but there is no automounting behavior. Also, when I type

Code:
tom@zeppelin:~$ sudo mount -a
nothing happens. The result of fdisk:

Code:
tom@zeppelin:~$ sudo fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xed1f86f7 .....

View 6 Replies View Related

Ubuntu :: External HD (reiserfs) Won't Automount In Lucid

Sep 18, 2010

My external HD where everything I backed up from my previous install will not mount. It shows up in lsusb, but when I do dmesg:

Code:
[20801.408614] usb 1-3: USB disconnect, address 36
[20804.190095] usb 1-3: new high speed USB device using ehci_hcd and address 38
[20804.343675] usb 1-3: string descriptor 0 malformed (err = -61), defaulting to 0x0409
[20804.345100] usb 1-3: configuration #1 chosen from 1 choice

Also of note, my main filesystem is reiserfs, so there isn't a problem of not having reiser installed.

View 2 Replies View Related

Debian Configuration :: Automount External USB HD Using Udev

Jan 23, 2011

I have a problem copying my udev rules from other distro to another pc running debian. My box is running debian without any DE and I want my USB disks to be automounted based on the label; I believe udev is the nicest way to do this task.

Anyways : my rules are (copied from archlinux wiki btw)
cat /etc/udev/rules.d/92-my-media-automount.rules
# vim:enc=utf-8:nu:ai:si:et:ts=4:sw=4:ft=udevrules:
# /etc/udev/rules.d/92-my-media-automount.rules
# Only work on sd*
KERNEL!="sd[a-z]*", GOTO="my_media_automount_end"
ACTION=="add", PROGRAM!="/sbin/blkid %N", GOTO="my_media_automount_end" .....

I notice the directory is made successfully up inserting the usb HD, but the mount doesn't succeed. If I manually execute above command, the mount goes ok.

View 7 Replies View Related

CentOS 5 Hardware :: No Automount For External USB Harddrive?

Jan 20, 2010

i have two centos systems one automounts the external usb hard drive and other doesn't what do you think could be missing in the system that is not automounting the external usb drive.

View 4 Replies View Related

Ubuntu :: Setup Two External Hard Drives To Automount In Fstab

Sep 10, 2010

I have set up two external hard drives to automount in fstab with the following lines:

/dev/sdb1 /media/DownstairsBackup ntfs-3g rw,auto,user,exec,sync 0 0
/dev/sda1 /media/UpstairsBackup ntfs-3g rw,auto,user,exec,sync 0 0

And right after I restart, all users have permission to read and write, and everything is fine. However, I have an automated backup utility (BackinTime) installed to back up particular (mounted network) directories every night, but whenever I check up on it the next day, I get the error "Unable to mount ..... Authorization required". (These network directories are mounted into the local filesystem in fstab as well.) Oddly enough, if I run BackinTime by hand as the users, it works fine. I'm running 10.04 LTS.

View 1 Replies View Related

Red Hat / Fedora :: Only Root Can Automount CD Drive And USB Thumb Drive?

Mar 24, 2009

Nothing happens when ordinary users plug in a USB thumb drive or insert a CD into CDROM drive. Works fine for root. After root mounts the drives then all users can use them. How can I enable mounting/unmounting by all users?

View 3 Replies View Related

OpenSUSE :: HAL - Permission Denied To Automount External USB Storage

Nov 2, 2010

11.3 in use with KDE. When I plug in an USB stick or my HTC phone into the USB connector the device is recognised but can't be opened in dolphin. This is the error message:

Code:
org.freedesktop.Hal.Device.PermissionDeniedByPolicy:
org.freedesktop.hal.storage.mount-removable
auth_admin_keep_always <-- (action, result)
but the device is shown in dolphin as a removable device and

Code:
# lsusb
Bus 001 Device 005: ID 0bb4:0ff9 High Tech Computer Corp.

View 9 Replies View Related

Debian Configuration :: 8.2 - Getting External USB2/3 HDDs To Automount / Autounmount

Dec 10, 2015

I'm running Debian 8.2 and trying to set up so I can plug in a couple of external hard drives that will be used to sync data between systems using rsync.

I've got the rsync bit working how I want, thats not a issue. But what I can't seem to get to work properly is when I plug the devices in, they don't mount automatically.

I've tried various methods to no avail so far, systemd.automount in fstab doesn't seem to want to work, for some reason it gives a I/O error. I've tried setting up udev rules and they don't work either, so I'm a bit of a loss now.

Not sure what info to provide that would be relevant at this time, but can add logs as required easy enough.

This machine is headless, so command line only suggestions would be best. I can access X via the network if I have to, but I'd rather do it by cli for ease of access.

My fstab file

Code: Select all# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
UUID=9b4e9dae-ea53-439a-a7fe-87c371c03803 /        xfs     defaults        0       1
# /home was on /dev/sda9 during installation

[Code] ....

View 3 Replies View Related

Software :: Ubuntu Installed On External Hard Drive, Can't Startup Without External Hard Drive?

Jan 14, 2009

I have 2 ubuntu's: 1 on my ineternal hard drive, 1 on my external

When I startup without my ext drive =>GRUB error 21.

And when I plug it in I can choose: the standard ubuntu kernel is the one on my external, and the original one is listed under other...

I'd like to be able to startup without external hard drive and make the ubuntu on my internal drve the standard.

View 14 Replies View Related

Ubuntu :: Disable Automount For USB Drive?

Feb 18, 2010

Ubuntu v9.10 I have a damaged HDD which I want to clone using ddrescue. I want to attach it via USB connection, otherwise Linux hangs on startup. I don't want the O/S to attempt to mount the drive.I would be happy to disable mounting of all external USB drives.How can I achieve this?

View 7 Replies View Related

Ubuntu :: Get The Automount For CD/DVD Drive Back?

Aug 13, 2010

how to fix this (10.04 Ubuntu x64):

A couple of weeks ago, my CD/DVD drive stopped working. I'd put in a disk, the light would flash, but it wouldn't appear as a mounted drive. Thinking the drive had finally died, I bought a new one. Same problem.

The drive is recognized by BIOS. I have it as try to mount first in BIOS, and if I put in the Ubuntu boot CD, it boots.

If I put

Code:
/dev/sr0/media/cd-dvdudf,iso9660defaults00

into /etc/fstab, and then mount -a, the drive contents appear and are accessible. However, as expected, the system chokes on boot if there isn't a CD in the drive, and I have to mount -a manually every time I start the system. Ugly.

So this is pretty clearly a software OS problem. how I can get the automount for my CD/DVD drive back?

View 3 Replies View Related

Ubuntu :: How To Automount A Removeable Drive

Dec 12, 2010

I am running Ubuntu Server Lucid.I want to have USB drives and network drives mount at boot, however the drives *may* not be there (after all these are USB drives and also the network may be down making network drives inaccessible).I tried putting entries in the fstab using the UUID, however the boot just hangs if the a drive is not connected (that ureadahead headache).

View 7 Replies View Related

Ubuntu :: How To Automount A Drive Permanently

Apr 23, 2011

I would like to mount a (ext4) drive permanently.I don like to use any additional packages to automount. Can anyone say me the manual way of entering the partition information into the fstab entry?Output: fdisk -l

Code:
karthick@karthick:~$ sudo fdisk -l
[sudo] password for karthick:

[code]....

View 3 Replies View Related

Ubuntu :: How To Automount Drive At Startup

Jun 17, 2011

How can I automount a drive at startup? What changes do I need to make to the /etc/fstab file? I am posting the screenshot of my gparted. I want to automount /dev/sda2 whose label is "Home" and which is an ntfs partition. You can see it in the screenshot.

View 9 Replies View Related

Ubuntu :: How To Disable Drive Automount

Aug 15, 2010

Im a linux. i've messed with the drives in the terminal and the drive keeps trying to automount to in the Windows 7 NTFS partition on Startup of Ubuntu 10.04, how do i disable this?

View 5 Replies View Related

Ubuntu :: How To Get Nautilus To Automount Ext Drive At Startup

May 29, 2010

I want nautilus to automatically mount my external drive when ubuntu 10.04 starts. This drive is encrypted, but the key has already been stored and all I have to do is click on it in my Places menu for it to mount.

It mounts to: /media/Will's Drive

I feel like I shouldn't have to edit fstab or anything like that. If I can add it to my startup programs, that would be great, I just need to know the command to get nautilus to open up /media/Will's Drive at startup.

View 4 Replies View Related

Fedora :: Automount Fails For Mo-drive?

Mar 2, 2010

I think), and when I inserted a mo-disk in the drive, it automatically mounted and turned up as /media/disk. I then did an update (all) an now I am on core 2.6.31-12. The mo-disk will not automount any longer. Inserting a USB stick or a DVD still works fine, but I have to manually mount the mo. I have a feeling that it might be security related, but I am not sure.

lshal shows the following when I insert the disk:
10:08:38.309: storage_model_SMO_F551 property storage.removable.media_available = true
10:08:38.325: storage_model_SMO_F551 property storage.partitioning_scheme = 'mbr'

[code]....

View 5 Replies View Related

Ubuntu :: External Monitor - Recognise The TV As The Main And Switch Off The LCD

Apr 23, 2010

My laptops screen has recently gained an annoying blue tint, which i do not have the expertise (or money to pay somebody) to fix, so i am using my TV as an external monitor. So what i am proposing to do is purely use the External and leave the laptop monitor off. I am dual-booting Windows XP and Ubuntu 10.04 Devel, In XP it was a simple case of right clicking the Intel Graphics Media Accelorator and choosing the External Monitor option, this then allowed me to set my resolution to 1280x960 and i was happy. (even bigger desktop than before actually)

I cannot seem to find this option in Ubuntu, going through System -> Prefrences -> Monitor gives me the option to mirror the screens, but that leaves me with an incredibly low resolution, choosing to not mirror the screens allows me to set the resolution to 1280x960, but the LCD screen still acts as my main. Is there any way I can set it to recognise the TV as the main, and switch off the LCD like I did in Windows?

View 9 Replies View Related

Ubuntu :: Switch Between Laptop Display And External Monitor?

Mar 1, 2011

I am looking for a way to switch quickly and easily between my Laptop Display and my External Monitor, in Windows I had it configured so that when I plugged my Monitor in it would switch to that and when I removed it it would switch back to Laptop Display. From what I have tried it looks like this isn't possible with Linux, but I would like to get to the stage when I can click an icon to switch (or 1 to go to External and 1 to go to Laptop) My Laptop has an ATI Mobility Radeon HD 4500 Series Graphics Card and I have so far noticed the following issues.

1. If I use the Gnome Monitors instead of ATI Catalist Control Centre it seams to cause some strange issues include confusing Linux on what the max screen res supported by my External Monitor is.

2. When I try and enable/Disable either Display or change Resolution, I am told that I have to reboot before the changes take affect.

View 2 Replies View Related

Ubuntu :: Unable To Automount Ntfs Drive Without Root Permission

May 11, 2011

I have the following line in my fstab:

Code:

# external hard drive
UUID=4DDD273633F3859D /home/ross/external ntfs-3g auto,exec,user,uid=1000,gid=100,dmask=027,fmask=137,utf8 0 0

When I plug in the drive with this UUID, I get the following error:

Code:

Error mounting: mount exited with exit code 1: helper failed with: Unprivileged user can not mount NTFS block devices using the external FUSE library. Either mount the volume as root, or rebuild NTFS-3G with integrated FUSE support and make it setuid root. Please see more information at [URL] Is there any way that I can mount this drive (which must be ntfs-formatted) without root permissions? I have googled this error and it seems that many other people are having this same problem, but I can't find a real solution. Most people suggest just reformatting the drive.

View 6 Replies View Related

Debian Hardware :: Not Automount A Dosfs Usb Drive?

Mar 23, 2011

I have a usb drive formatted using mkdosfs, and it must be manually mounted every time because it says "wrong fs type, bad option. bad superblock on /dev/sdb1, missing codepage or helper program, or other error" but it mounts just fine when I manually mount it. It would be nice if gnome would mount it when I plug it in instead of me having to go into root and mount the drive.

View 1 Replies View Related

Fedora :: Automount USB Flash Drive -noatime ?

Oct 17, 2009

After searching the boards, I dug through the udev man pages and rule files looking for a way to modify the default automount options for USB flash drives. Apparently, the options are somewhere else. Is there a simple way to add noatime to the default mount options?

Currently, the flash drive is automounted as follows:

I'm using Fedora 12, beta RC 2 in case that makes a difference.

View 3 Replies View Related

Fedora :: USB Automount On GNOME - Ext3 Drive

Nov 26, 2009

I have two USB drives, one with ext3, and the other w/vfat. On my new Fedora 12 installation, GNOME properly automounts the vfat drive on insertion. However, it applies a wrong command to mount the ext3 one. The end result is that the ext3 drive appears in /etc/mtab but, unlike vfat, is inaccessible to non-power user.

The mtab is: /dev/sdb1 /media/918fb656-8efc-43b5-bdfd-0bd8004deeba ext3 rw,nosuid,nodev,uhelper=devkit 0 0
/dev/sdb1 /media/49C6-1901 vfat rw,nosuid,nodev,uhelper=devkit,uid=500,gid=500,sho rtname=mixed,dmask=0077,utf8=1,flush 0 0

Somehow GNOME misses the uid=500,gid=500,shortname=mixed,dmask=0077,utf8=1, flush portion of the mount command when mounting the ext3 drive.

View 4 Replies View Related

General :: Automount A Usb Ntfs Hard Drive ?

Jul 31, 2009

(Using ubuntu 9.04) I really don't want to trash my system! I have an external usb hard drive I want to automount on bootup / startup. Not 100% sure of the best / safest way: here is some info on my drives

Code:

ONCE MOUNTED THROUGH FILE MANAGER AND RUNNING DF AGAIN HERE IS THE DRIVE

Here is my fstab file

So the drive is a NTFS drive and it's /dev/sdb1 and label is /media/Mybook

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved