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
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:
I have recently installed debian jessie on my laptop , during installation i didn't mount 2 of my partitions , now when i want to access them i have to give the root password every time i click on them , i searched the google , i found that i have to add a line in fstab file : so i i checked the partition that i wanted to mount (by typing fdisk -l) , and i added this line to the end of the fstab file :
After adding the line at the end of my fstab file , something strange happened , i rebooted the computer and mate didn't come up , it was a console like screen , i had to access fstab from there to delete the line and enter mate . i did this for 2 times and both times the same thing happened . How can I mount my partition permanently ?
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?
I installed the 32 bit version of Debian Jessie (8.0) on an Asus X205TA. The Asus X205TA laptop is quirky like a lot of Intel Baytrail Atom laptops/tablets in that it has 32 bit EFI but a 64 bit capable CPU, and installing Linux on them is an exercise in frustration. Jessie is probably the first distro to support 32bit EFI out of the box, and the install went surprisingly smoothly. As expected the sound and built in WIFI does not work, but everything else seems to work well.
I spent half a day compiling the 4.03 kernel but it crashes on boot, and I ended uninstalling it in frustration.
Is there any backport of the 4.0 (or 4.1 which is currently a release candidate) for Jessie? Debian also seems to have pulled the kernel image off of their "experimental" repository.
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.
I had a Linux server with Wheezy, I have 2 internal drive, one for linux OS, the other our Video On Demand drive that must be accessible to Windows and online. (That's why I chose NTFS, with our large video files, FAT will not work, and EXT isn't compatible with windows sharing, and I haven't gotten FTP to work right .
So I upgraded to Jessie today, and everything went smoothly until I tried to access my NTFS drive. (Named WowzaStorage)
I used FSTAB to auto-mount the drive (/dev/sdb1) to /media/ntfs/ on boot. All of this worked swimmingly on Wheezy, but since the update, something got mucked up and I cannot figure it out.
When accessing the mounted NTFS folder in /media/ (if it even shows up) gives me a 'Cannot be found' 'Input/Output error'
When in gParted to examine the drive, I can select it and view all the correct info, but I keep getting "error informing the kernel about modifications to partition /dev/sdb1/ --invalid argument"
Now first I thought maybe the NTFS driver was faulty and I removed 'ntfs-3g' and reinstalled it.
Now when I am in Terminal, after i umount and mount sdb1, I can CD to the drive but not the folders on it... Also using the File Browser, I get errors, and missing folders.
I get "Unhandled error message: Error when getting information for file '/media/ntfs': Input/output error"
Using: Debian Lenny. I want to mount 2 NTFS partitions in my /etc/fstab file, so that I needn't manually mount them when I want to use them. One of the partitions is the primary partition on the same hard disk as my Debian /, /home, and /swap partitions. The other is a 2nd internal hard disk.
a) Should I use ntfs-3g instead of ntfs as the /etc/fstab filesystem? I want to be able to read and write to the partitions as a user and not just as root.
b) I have read on the forum that "mounting NTFS partitions through fstab is not a great idea" - I thought that any dangers of doing so were ancient history. Why would it not be a good idea?
c) Which options should I use?
d) If I use 'user' instead of 'users' so that one specific user (me) can use the partitions, how do I specify which user name? (The man page is annoyingly unclear about this).
I'v recently migrated from Ubuntu to Debian. however when attempting to browse one of my ntfs partitions I get the following error "Invalid mount option when attempting to mount the volume 'a' a is the name of the ntfs partition i'm trying to browse.I'm using Debian lenny
I helped with the installation and put a / filesystem of around 20 GB and a /home partition of around 50 GB. He's a gaming freak and and installed lot of games in the last few days so running out of hdd space and he asked if there was a way he could take one of the ntfs partitions out and extend the / partition filesystem from 90 GB to say 220 GB. (The NTFS partition is around 100 GB).
Now one way would be to do everything (again) from scratch and put the filesystem as an lvm, another alternative googling gave me was to use gparted Live CD and extend the / filesystem . The downer seems to be that its possible gparted would mess up other partitions and realign stuff. At least that's what few of the websites I looked up and few people I talked on IRC spoke to me.
Nautilus mounts NTFS partitions when I acces them, and before mounting, it asks for root password. Is there a method to auto-mount ntfs partitions on Debian startup, without requiring root password each time they are automatically mounted ? And without installing additional packages.
So, I did the upgrade to Jessie today and everything went fine and I do like the gray look of the Gnome Classic Desktop. Not much change here.
But it is impossible for me to install the 3.16 kernel.
When I try, I get the following error (sry, it's german, but you should get the point):
Code: Select allE: /var/cache/apt/archives/linux-image-3.16.0-4-amd64_3.16.7-ckt9-3~deb8u1_amd64.deb: Extrahierte Daten für »./lib/modules/3.16.0-4-amd64/kernel/drivers/media/rc/winbond-cir.ko« können nicht nach »/lib/modules/3.16.0-4-amd64/kernel/drivers/media/rc/winbond-cir.ko.dpkg-new« kopiert werden: Es konnte nicht geschrieben werden (Auf dem Gerät ist kein Speicherplatz mehr verfügbar)
It basically says, there is not enough space on /lib to copy the modules for the new kernel. (I have about 100M free there.)
So, as you can see, there isn't that much space on / at all - don't blame me, blame the Lenny Installer. Personally I can live with the 3.2 kernel but I wonder if there is any possibility to install the never one without a total re-partitioning.
I am doing major deployment of opensuse 313 pcs from windows to opensuse. I am having a problem that I have to keep 2 ntfs partitions intact will deleting the partition that has windows. Now everything goes well, opensuse installs but the problem is that I cannot give user full rights to ntfs folders. I have used graphical file permission methods n terminal chown n chmod methos but still permissions revert back to root.
I have dist-upgrade from Wheezy to Jessie, however it randomly freezes. Everything was okay with kernel 3.2, but when I run several applications kernel 3.16 fails.
At below you can see the dmesg output of Jessie:
Code: Select all[ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 3.16.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.7-ckt11-1+deb8u6 (2015-11-09)
I built a kernel-module for a new usb wifi-card. This worked well and resulted in a 8821au.ko-file. But now I'm trying to load this kernel module since half an hour and it doesn't work. I copied the ko-file into /lib/modules/3.16.0-4-amd64/kernel/drivers/edimax. If I just type
Code: Select allsudo modprobe 8821au
I get a
Code: Select allmodprobe: FATAL: Module 8821au not found..
But if I enter the full path inside the /lib/modules/3.16.0-4-amd64-folder:
to /etc/modules but this also doesn't seem to work. When booting I get an error-message, but it's too fast to read it and I can't find the right log-file, where the booting-part with the "[ OK ]"-messages is reported.
So my driver is ready, the onliest thing which I can't get working is loading it as a kernel-module.
I recently installed Fedora 13 (the KDE spin). It detects correctly my other NTFS partitions and will mount them perfectly if I click on it using Dolphin.
I would like to mount one of them automatically after booting (or logging in, doesn't matter). My first idea - and supported by a coulple of Google searches and previous threads - was to put them on on /etc/fstab.
But to my complete surprise they aren't there. Where does Dolphin (or KDE) keeps information about partitions? How to set them to automount? Also, fstab refers to my linux partitions as UUIDs not the device names - how does this work?
What should I do to set a NTFS partition to automount on Fedora 13?
I have created a desktop shortcut to the folder on NTFS volume. But it doesn't work unless the volume was mounted by clicking the icon in Places->Volume_Name. One possible solution is to mount NTFS volume at boot time but that requires editing of fstab (directly or indirectly). Is there a way to mount the NTFS volume on demand when shortcut is clicked? Maybe some sort script which would emulate clicking Places->Volume_Name first and the open the shortcut?
I have build the fuse and ntfs-3g module. Via console I can mount ntfs volumes via mount -t ntfs-3g.But under gnome I get only the messagage that the system don't support ntfs. What must I change, that the gnome volume manger (I think) use ntfs-3g to mount the volumes.
how do i set additional partitions to automount on startup ie. so id don't get prompted for a password?one other thing, how do you switch off the 60 second pause when shutting down
I placed some new partitions in my hard disk but have been unable to write the correct entry in fstab to get them to automount. I can see them in nautilus and manually mount and use them, but I get failures when I try to add them to fstab, unsure what I am doing wrongI mounted two new partitions, one ext4 and one ntfs formatted partions.The fstab file reads as follows
I recently installed UbuntuStudio. I have five partitions on the harddrive that I like to have automounted, because they contain a lot of virtual links between each other, and if the links are to an unmounted partition they appear to be dead links and do not mount the partition when selected.I have tried every combination of the media mount options in gconf-editor, but nothing works.If I have to edit etc/fstab, what do I need?
Code: # /etc/fstab: static file system information. #
(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
I am using direct mounts because I like being able to cd to the directory and use tab completion..versus indirect mounts where you can not do that since the directories are virtual.But, why does the /proc/mounts show these directories mounted(I have not cd to them)? Are they technically mounted? The reason why I use automount is because if I ever have power failures at least not all filesystems that are not being used will be unmounted and not corrupted.
# 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.
I have an external 300GB (Toshiba) disk which I encrypted (using cryptsetup luksFormat) and then installed an NTFS filesystem on (need to be able to use it in both Linux and Windows - using FreeOTFE). The disk mounts fine in windows and on my Fedora 10 system it automounts.
I can manually mount it on the RHEL5.3 system, and gnome-mount gets as far as recognising that it is encrypted and asking for the key, but it doesn't then mount it - I then have to manually mount the /dev/mapper/luks... device.
Does anyone know how to do this - if it works in Fedora 10 it ought to be possible to get it to work in EL5.3 I'd have thought.