Debian :: Mount Point For Automount Usb Drives In Jessie

Oct 5, 2015

I'm running KDE in Jessie and also have Gnome installed. When I connect a usb drive it gets mounted at /media/username/disklabel. I would like to have it mounted at /media/disklabel which is how it worked in Wheezy. How can I make that change?

View 2 Replies


ADVERTISEMENT

OpenSUSE Hardware :: Automount USB To Static Mount Point

Mar 9, 2010

how to get openSUSE 11.2 to automount a USB drive (Creative Zen to be precise) to a static mount point? At the moment KDE is filling up my media folder with disc-x folders and the podcatching software keeps picking the wrong one to sync to. It's not my PC so command-line mounting is out of the question.

View 2 Replies View Related

Debian Installation :: Automount Of NTFS Partitions (Jessie Old Kernel)

May 23, 2015

I've just upgraded my system and I'm having some issues to boot with the latest kernel (cf: [URL] ....)

Hopefully I can still use the previous kernel (vmlinuz-3.2.0-4-686-pae).

I'd like to watch a movie that is on an NTFS partition.

From gnome-classic, I went in Places->datas (name of my partition) and I get this error message:

Code: Select allFailed to open "/media/mb/datas".

Error when getting information for file '/media/mb/datas': Input/output error.

The result of a df -h gives me:

Code: Select all/dev/sda3      fuseblk    96G   60G   37G  63% /media/mb/datas

mb is the username I'm currently using.

Previously it was only trying to mount the partition (after asking for the root password) in /media/datas

Is it normal that now it tries to mount it only for my current user in another folder?

If I look in the /var/log/messages, I only see this:

May 22 23:53:06 Tieum-Latitude gnome-session[2092]: Thunar: Failed to open "/media/mb/datas": Error when getting information for file '/media/mb/datas': Input/output error

View 3 Replies View Related

Debian Installation :: Systemd - Automount Windows Partition / USB Devices In Jessie

May 11, 2015

There seems to be no documentation on how to automount partitions and USB devices under systemd in Jessie. (Overall, systemd entirely lacks any useful documentation or GUI configuration tools -- all very cryptic and hidden.)

I created custom files to enable automounting. I put them in /etc/systemd/system -- this may not be the right place, but it works.

Kernel note:
This does not work under the old Wheezy kernel linux-image-3.2.0-4.

To automount my Windows partition so I can access its files, I created:
/etc/systemd/system/media-windows.mount

The name of the file must match the mount point -- in this case, /media/windows

My file notes the device and file type, plus an fmask option so all the Windows files don't seem to be executable:

[Unit]
Description = windows mount to /media/windows
[Mount]
What=/dev/sda1
Where=/media/windows
Type=ntfs-3g
Options=fmask=111
[Install]
WantedBy=multi-user.target

The file ownership must be root.root. Apparently it doesn't need to be executable.

After creating, enable with:

sudo systemctl enable media-windows.mount

and it will mount on the next boot.

I read elsewhere that the before running the enable command you should run a start command:

sudo systemctl start media-windows.mount

but that didn't work for me.

View 2 Replies View Related

Debian :: Automount USB Drives

Oct 2, 2015

Is there a way to set up your system (running CLI only, no X) to automount flash drives? I know how to mount them manually, but I'd really like it if there was a way to just have the system do it automatically when I plug the drive in so I don't have to do it myself every time.

View 4 Replies View Related

General :: Mount External USB Drive In Debian To A Mount Point Based On The Volume Name

May 5, 2011

How do I configure my Debian installation to mount external USB drives to mount points based on the volume names of the drives? For instance, if I have a thumb drive with the volume name of "SWORDFISH," how do I have Linux mount it at /media/SWORDFISH? I'm aware that this can be setup in FSTAB, but that requires that I know the UUID of the device beforehand and that I take the time to set each external device up in FSTAB first. That does nothing for me when I have a thumb drive that has never been plugged into my computer before.

This seems to be setup by default in Ubuntu/Kubuntu, but is not working for me with a fresh installation of Debian Squeeze and KDE4. I've spent the past 2 hours Googling for a solution and have turned up nothing. UPDATE: My results are inconsistent. Sometimes Debian mounts devices to mount points based on the volume names, and other times it gives them generic mount points (e.g. /media/usb1).

View 2 Replies View Related

Debian Multimedia :: Static Mount Point For DVD?

Aug 28, 2010

Since my dvd-writer passed away, I disconnected it from the pc and I reconnected temporarily, an older one that I have (an IDE one).My problem is, that I don't any longer have a static mount point (/dev/cdrom, or something similar), but I have a dynamic one instead (eg. for the dvd labeled "My_data", I have /media/My_data).I really dislike dynamic mount points, since I can't work from konsole (eg. eject doesn't work any more), or with cd archivers (like cdcat).

The only thing I changed is the related BIOS settings (enabling IDE controller and setting the dvdwriter to primary master).The related fstab entry didn't changed of course. (Actually, fstab didn't changed at all)./dev/scd0/media/cdrom0udf,iso9660user,noauto00

View 4 Replies View Related

Debian :: Can't Mount NTFS Drive On Jessie

Jul 9, 2015

If i click the ntfs partition from nautilus, it prompts to type password. If i type the password and enter, i see this message:

Code: Select allUnable to access “alldisksda5” Error mounting /dev/sda5 at /media/user1/alldisksda5: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda5" "/media/user1/alldisksda5"' exited with non-zero exit status 14: The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, refused to mount. Failed to mount '/dev/sda5': Operation not permitted The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the 'ro' mount option.

View 1 Replies View Related

Debian Installation :: How To Install Libpam-mount On Jessie

Dec 4, 2014

I have been building a debian jessie system reasonably successfully but have come unstuck with libpam-mount. On a previous Ubuntu saucy system I simply installed it, created the appropriate pam_mount.conf.xml file and mounts would happen when users logged on and dismount on logoff. With jessie I can see that there is a libpam-mount package in main but when I try apt-get install it fails. If this package has been obsoleted (as one of the messages indicates might be the issue) what is the jessie way of handling this?

Here is my sources.list
Code: Select alldeb http://mirror.aarnet.edu.au/debian/ jessie main non-free contrib
deb-src http://mirror.aarnet.edu.au/debian/ jessie main non-free contrib

[code]....

View 3 Replies View Related

Debian Configuration :: Jessie WD Disk Mount Fail

Aug 20, 2015

A few days ago I upgraded from debian 7 to 8. First I update, upgrade and dist upgrade - change source list and again update, upgrade and dist upgrade.When inserting a USB disk on key, it works okay. When plugging my WD "My passport" backup USB disk it does not work. The automatic mount works, but the disk can be accessed.I tried to do it manually in a format that worked on debian 7..Manual mount fails too.

umount My passport
fdisk -l (to see device name)
mount -t vfat -o rw /dev/sdb1 /media/kuku/usb_mp4
dmesg | tail
[ 2381.080822] sd 9:0:0:0: [sdb] No Caching mode page found
[ 2381.080828] sd 9:0:0:0: [sdb] Assuming drive cache: write through

[code]....

View 2 Replies View Related

Debian Hardware :: 8.0 Jessie WD Disk Mount Fail

Aug 19, 2015

A few days ago I upgraded from debian 7 to 8. First I update, upgrade and dist upgrade - change source list and again update, upgrade and dist upgrade.

When inserting a USB disk on key, it works okay. When plugging my WD "My passport" backup USB disk it does not work. The automatic mount works, but the disk can be accessed.

I tried to do it manually in a format that worked on debian 7

Manual mount fails too.

umount My passport
fdisk -l (to see device name)
mount -t vfat -o rw /dev/sdb1 /media/kuku/usb_mp4

dmesg | tail
[ 2381.080822] sd 9:0:0:0: [sdb] No Caching mode page found
[ 2381.080828] sd 9:0:0:0: [sdb] Assuming drive cache: write through

[Code] ....

View 4 Replies View Related

Debian Configuration :: Dmraid Device Fails To Mount After Jessie Upgrade

Oct 18, 2015

I eventually gave up and migrated to mdadm. Works just fine. Having upgraded to jessie and solved one problem

[URL] ....

I find the next one. When I boot into jessie my RAID device (just a data partition not /) is not found causing the boot to fail as per problems reported here

[URL] ....

After booting I can mount my RAID device but if it's in the fstab when booting it fails. Also, I notice that some of my lvm device names have changed. After a bit of hunting around I found a couple of solutions pointing to running dmraid as a service during boot and changing the entry for the RAID device in fstab to use the UUID.

[URL] .....

This seems to work. However this seems to be a workaround and as the lvm device paths for my / and /usr partitions have also changed, I'm wondering if there is a bug here as mentioned in the second link?

The / and /usr paths changed to /dev/dm-2 and /dev/dm-3 from the /dev/mapper/ form.

View 2 Replies View Related

Ubuntu Servers :: Creating A Static Cdrom Automount Point?

Mar 14, 2011

I have an Ubuntu server running Samba and I would like to share out the cdrom drive to the network. I made a share of the /media directory and it seems to work fine when I insert USB drives and I am able to browse and work with files. However, when I insert a cdrom it automatically mounts to /media/<volume name> and I get a permission denied error when I attempt to access it over the network. I am assuming this is happening because the permissions do not include the execute bit and being a read only file system I can not change this. I made the directory /media/cdrom and manually mounted the cdrom to it and I can successfully access it over the network just like the USB drives. So my question is: Is there a way to make the cdrom automatically mount and unmount to /media/cdrom when I insert and eject disks instead of to /media/<volume name>? Or maybe just have the permissions automatically set so Samba users can open it instead of just see it.

View 1 Replies View Related

Ubuntu :: Get USB Drives To Automount?

Jun 6, 2010

Suffice it to say, I'm an idjit and can't figure out how to get my USB drives to automount.

View 9 Replies View Related

Debian :: Fail To Mount NTFS Drives?

Jul 22, 2010

i am a new user to linux, i installed debian on dual boot with windows 7but now i am unable to access the ntfs drives used by windows originally from the debian OSi am wondering what could be the problem and how can i solve it

View 9 Replies View Related

Debian :: Cannot Mount 3 NFS Drives After Web Server IP Changed

Jan 24, 2011

Someone in my dept rather stupidly changed an IP of a webserver, and ever since we changed it back we cannot mount 3 NFS drives.

The Error
Code:
HTTP1:/etc# /etc/init.d/networking restart
Reconfiguring network interfaces...if-up.d/mountnfs[eth0]: lock /var/run/network/mountnfs exist, not mounting
if-up.d/mountnfs[eth1]: lock /var/run/network/mountnfs exist, not mounting
done.

I have removed that lock file and tried a
Code:
mount -a
but it just hangs?

The FSTAB hasn't changed at all, and the other web servers can mount to the NFS share fine. I have tried alot, removing the lock file and rebooting etc but no luck. Debian Lenny.

View 1 Replies View Related

Debian :: To Mount External Drives On Startup?

Mar 14, 2010

I want all my external drives mounted when I start OS.I don't want to do it for a specific external drive. I want my external drives mounted by default.o you have an idea? Does linux have such a configuration I can change?

View 8 Replies View Related

Ubuntu :: How To Automount Internal Drives

Apr 26, 2010

How to automount internal drives. I have 2 other partitions other than the boot one. I want both the other partitions to mount at startup without asking me the password.

View 9 Replies View Related

Ubuntu :: How To Automount USB Drives As User

Apr 4, 2011

My USB devices are being automounted as root in Ubuntu 10.10. How can I automount them as the current user? Here is the output of:

sudo fdisk -l
ls -l /dev/disk/by-uuid
df

For this example, /dev/sdc1 is connected.

Code:

matt@matt-G73Jw:/media$ sudo fdisk -l
[sudo] password for matt:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders

[code].....

View 2 Replies View Related

Debian :: Mount Multiple External Hard Drives ?

Dec 20, 2010

How to mount multiple external HDD's. I'd like to link or mount the music, torrents, and general files from several external hard drives and apply permissions (in some cases I only want the mount or link to be read only).

My setup:
- Seagate Dockstar running Debian squeeze (it's headless so I don't have a gui running)
- Two external HDD's with one partition on each (250GB and 400GB)

What I'd like to accomplish:
1. Mount the external HDD's to /media/HDDs as read/write (this is already working using udev and autofs and it's available in samba)
2. I'd like the MUSIC directories on both external HDD's to show up under the same mount point. In other words I want the MUSIC folders (from both HDD's) to appear as one large library of music. And I only want this to be readonly. It will be used as the library for mpd and/or squeezebox.
3. Mount a directory used to download torrents to. I'll probably pick on HDD as the target for torrent dowloads. But let me know if you have any other ideas regarding this.

Since I have the first one done, how would I accomplish 2 & 3?

View 1 Replies View Related

OpenSUSE :: CD / DVD Mount Adds Trailing Blanks To Mount Point?

Feb 16, 2010

On SUSE 11.2 when a CD or DVD is automounted (in the /media directory) it appears that the mount point chosen for the disk always has extra blanks at the end of the mount.

For example, if the label on the CD was DISK-001, the mount point chosen by SUSE is

/media/DISK-001 /

In 11.1 (and earlier) the mount point would have been

/media/DISK-001/

I'm assuming that the trailing blanks are filling in unused or blank chars at the end of the CD label.

Is there any way to change this annoying behavior? I much prefer NOT to have trailing blanks in the mount point.

View 3 Replies View Related

Server :: Auto Mount USB Drive To Specified Mount Point After Reboot

Jul 19, 2010

I have servers installed with RHEL 4 2.6.9-89.0.9 ELsmp. I tried using uuid and label in /etc/fstab to automount usb drives to mountpoints that I specify after reboot. Unfortunately, it just does not work in all my RHEL4 servers. After every reboot, /etc/fstab will be automatically modified and all configurations related to my USB drives will be changed. Irregardless of whether i use UUID or LABEL in my /etc/fstab.However, it works on RHEL5. But, upgrading is not an option in my environment. I have been googling around looking for alternatives but everything seems to point back to using UUID or LABEL in /etc/fstab. Anyone has tried something that works? Please help me, thank you.

View 7 Replies View Related

Debian Installation :: Recognize Or Mount External Hard Drives

Feb 10, 2011

I just switched to Debian 6 from Mepis 8.5. When Debian loads, it doesn't recognize or mount my external hard drives.

View 4 Replies View Related

Debian :: Flash Drives Auto Mount To Wrong Filesystem

Jun 10, 2011

Sometimes when I plug in a USB flash drive, it is mounted to /dev/usb0 instead of /dev/drivename. This poses a problem for me because I have applications that depend on files I keep on flash drives, and having to frequently change the file paths is difficult. I haven't been able to find anything on this topic with a cursory search on Google or through the Debian reference. Heck, I don't even know what /dev/usb0 is (though I would like to learn, in the interest of being less of a noob). This is happening on a Squeeze system running Gnome, so I believe nautilus is what's responsible for auto-mounting my flash drives.

Beyond that, I don't know what other information I should provide; if you need to know something else, ask me (and perhaps tell me how to access that information). Someone on IRC suggested that I didn't have my drives set to mount in /dev/, but I have no idea how I would go about fixing that. If there's a configuration file that deals with this sort of thing, chances are I haven't touched it since installing this system. Debian installer sees usb drive as cd drive, so it adds it in fstab, but with wrong file system options (udf,iso9660) which is not the one your flash drive uses.

View 13 Replies View Related

Debian Hardware :: Usb Thumb Drives Only Mount With Root Permission?

Oct 31, 2010

mounting any usb thumb drives. The result is the same whether it is automounted or mounted via the CLI. The drives all have root:root file permissions and cannot be changed to my normal user "ramack". There doesn't appear to be any errors and it is limited to only this Acer Aspireone Netbook running i386 Testing. I don't have anything in my fstab in regards to mounting usb drives.

$ sudo fdisk -l
Disk /dev/sdb: 4016 MB, 4016045568 bytes
255 heads, 63 sectors/track, 488 cylinders

[code]....

View 7 Replies View Related

Fedora X86/64bit :: Making NTSF-3G Automount All Drives Again

Jun 23, 2009

I recently upgraded to Fedora 11 because an update broke my X server. In Fedora 10 ntfs-3g automounted all of my devices in gnome but now it doesn't. Is there a way to fix this, other than editing /etc/fstab with a line for every partition?

View 1 Replies View Related

General :: How To Automount Usb Flash Drives In Thunar - Openbox

May 5, 2010

I`ve installed openbox with Thunar and now I have problem with automount function. thunar-volman is installed, volume management in thunar is on, thunar --daemon $ is written in autostart.sh . But automount is not working.

View 1 Replies View Related

Red Hat :: ESATA Cards And Drives Under RHEL4 - Automount Like A USB Drive Does

Jul 7, 2010

Anyone got any experience with eSATA cards and drives under RHEL4? I've got a client with two RHEL4 boxes that want to add eSATA cards and drives for backup purposes.

They really need to automount like a USB drive does, would RHEL4 automount eSATA?

View 5 Replies View Related

Ubuntu :: External Drives / Flash Drives And Other Partitions Will Not Mount

Jun 21, 2010

I recently had issues with the latest version of the Linux Kernels and I got that fixed but ever since that has happened none of my Drives will mount and they aren't even recognized.

View 1 Replies View Related

Debian Installation :: "permanently" Change The Mount Point?

Feb 11, 2011

I recently installed Squeeze and it was simple and is running great. I have a usb fat32 drive that shares data on 3 partitions with winxp. None are listed in fstab. They all are mounted in /media.2 partitions, Video and Music, are shown in gparted as mounted by their volume labels, which is what I want; eg /media/MUSIC. The DATA volume is mounted by its' uuid. This is how it is displayed on my desktop. The other 2 volumes display the way I want: MUSIC and VIDEO. I have changed the mount point in /media to the label name:/media/DATA but it returns to its' uuid after reboot. How can I change it to display the label name? It works fine, but I have a need to "tidy up" my desktop.

View 5 Replies View Related







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