Hot answers tagged

7

You don't need to run this as a command during boot, you can achieve read-only mounting via the file /etc/fstab. /etc/fstab contains all filesystems that should be mounted upon boot and that's exactly what you want. It's also possible to add the mount options (for example, ro for read-only) to an /etc/fstab entry. The additional line you need to add to the ...


5

Since you are already familiar with Disks and elementary OS is based on Ubuntu, why not use this application again? Just open Software Center, search for Disks and install it. start Disks select the partition, you want to hide click at the gear icon and select Edit Mount Options disable Automatic Mount Options make sure Mount at startup and Show in user ...


3

The easy way to mount a filesystem during boot is to list it in /etc/fstab. However, SSHFS is a FUSE filesystem, so mounting it from a system configuration file is tricky: you wouldn't have permission to access it under your account. While it's possible to get this done, it's easier to do the mounting from your account. You can use cron to schedule a task ...


3

sudo add-apt-repository ppa:langdalepl/gvfs-mtp sudo apt-get update sudo apt-get upgrade Source: Enable MTP-Support on ElementaryOS Keep in mind that this is a workaround and that the guide is written 2013.


2

Method 1:(tried) You can use GParted tool in elementary to achieve what you want. This is not provided by default. To install it type this in your terminal: sudo apt-get install gparted Steps to make ntfs partitions hidden: Open gparted from slingshot menu Right-Click on desired ntfs partitions Goto Manage Flags Check hidden flag Log in and out or ...


2

Open Pantheon files as an administrator. Then change the owner of the /media/magnus folder to the correct user. Now your user should have full access to mounted media.


2

Try method described here: https://askubuntu.com/questions/351991/mounting-disk-drives-among-different-users. It worked OK for me. Note however that the last command given should be sudo chgrp <groupname> <mountpoint>


2

I have finally found an answer, thanks to the suggestion of Jeremy Wooten and some official ZFS documentation. After a lot of trials and errors, here are the steps to undertake. Change the ZFS filesystem's mountpoint to legacy ~$ zfs set mountpoint=legacy {poolname} Add the following line to /etc/fstab {poolname} /media/{username}/Data zfs defaults,...


2

I do not have experience of zfs RAID drives but if the underlying system can handle it and it is mountable when you boot/log in then a suitable entry in /etc/fstab should allow it to appear as a device in Files. For example this line: //192.168.0.16/Anonymous /media/jeremy/Anonymous cifs guest,uid=1000 0 0 mounts a samba server as a device. The ...


1

Unlike other file managers, Pantheon Files doesn't auto-mount external drives. There is an open bug for adding this feature. If you'd like USB drives to auto-mount, you can install a file manager that offers this feature, such as Nautilus. If you'd like to auto-mount just this one drive, you can make that change using Gnome Disk Utility or by editing /etc/...


1

Plan There's a free tool to mount APFS drive in linux: apfs-fuse https://github.com/sgan81/apfs-fuse for Linux installation process prerequisites (taken from this walkthrough) compiling install missing dependencies by googling the error messages, simply relaunch make There are many packages that need to be installed to run apfs-fuse. use the below ...


1

Files uses GLib functions for mounting and they do not provide any MountFlags to influence this. Maybe we could use the Linux.mount function, which does allow control over such options. I suggest raising a wishlist issue on GitHub at https://github.com/elementary/files/issues.


1

From your post I'm not sure if you did this but give it a try anyway: Boot into windows, make sure you can access that drive from Windows. Then press restart on the windows menu. It's important that you do it that way, do not force the restart. Let it install updates if it needs to. If it doesn't install any update then just boot elementary when grub ...


1

Sav, I too am a fellow Macintosh / elementary OS (Juno) user. Other than using a Patriot Memory USB drive (which mounts consistently automatically) I may have one other suggestion for you. GNOME Disks This application can be installed through AppCenter. It has the "look and feel" of Apple's Disk Utility program. The only thing you will need to wrap ...


1

Do you mean vboxfs? Try it instead ;)


1

I would keep SD cards fat32 format. You can install gparted and format it. unmount it first than format the SD card. I do not know what you would gain from ntfs on a SD card.


1

No matter the filesystem type, so long as it is mounted under /media/user/SomeDirectory, it appears to show up under "Devices" for me at least...


1

There's an open bug for this feature, so it is on the developers' radar. (See also this related bug.) In the meantime, you could install a file manager that offers auto-mounting, such as Nautilus. If you'd like, you can mark yourself as affected on the bug or post a bounty.


1

I'm not a developer, so I can't answer your specific question. However it is easy to get automount. There are several ways to do it the easiest is to install usbmount sudo apt-get install usbmount I't will automount hfsplus, vfat, and ext file systems. If you need to automount other file systems you can add them to /etc/usbmount/usbmount.conf. It works ...


1

Hopefully you have a backup of your /etc/fstab files. Anyway, you should have at least one line in your /etc/fstab for your root file system: # / was on /dev/sda1 during installation UUID=239cd0e6-1516-47c0-945b-a2fc81b6f0499 / ext4 errors=remount-ro 0 1 If you do not know the UUID you can put the partition as well /dev/sda1 / ...


1

You can attempt to diagnose and fix the issue from another "virtual terminal". Press Ctrl+Alt+F1 to drop to TTY1. Enter you username, press Enter, then your password, then Enter to log in. Type cat .xsession-errors to view the contents of the .xsession-errors file. Hopefully an error in there will help you diagnose the issue!


1

You want to run a script that does not need user interaction so there is absolutely no problem that it does not ask for the root password. Actually the file /etc/rc.local is run with root user privileges, so it should work (without asking a password). However, the preferred method to mount filesystems automatically is to append them into the file /etc/fstab....


1

this happened because you did not dismount о drive on the virtual machine.


1

I'ts pretty simple to do sudo mkdir /mnt/cdrom && sudo mount /dev/cdrom /mnt/cdrom This will first create the folder /mnt/cdrom (mkdir = make directory) and then mount the cdrom (/dev/cdrom) to that directory.


1

Is there any way to "break" the encryption of that folder? Yes, there is. This post here seems similar to yours. You should also read the official Ubuntu Documentation about Encrypted /home folder, here: Encrypted home folder In order to decrypt a whole filesystem: Mount encrypted volumes from command line? See the first answer. Here is the official ...


1

I asked a similar question here: How can I get Noise and Photos to recognize my phone? maybe it will help you out. I was able to get my Galaxy s6 to work (except for Noise).


1

That's the thing. Even though you think that you have completely shut down your Windows system, you really didn't. Windows keeps the drive mounted so it can speed up its boot process (this has nothing to do with fastboot, it's a normal Windows behavior since Windows 8). Try turning off your Windows system by typing this into your cmd: shutdown -s -t 0 ...


Only top voted, non community-wiki answers of a minimum length are eligible