![]() |
Can't get secondary disk to automount with Gnome Disks - Printable Version +- Linux Lite Forums (https://www.freecinema2022.gq/forums) +-- Forum: Software - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=5) +--- Forum: Other (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=20) +--- Thread: Can't get secondary disk to automount with Gnome Disks (/showthread.php?tid=5644) Pages:
1
2
|
Can't get secondary disk to automount with Gnome Disks - Tyrannocaster - 10-04-2018 I have a secondary drive in my computer with two partitions on it. Each time I reboot, I have to manually mount those two partitions so I can get to them. Supposedly, you can make these auto mount via Gnome Disks, which is the utility called "Disks" in the Linux Lite Whisker Menu. However, when I try this, I don't get any dropdown menu for either of those partitions that allows auto mount. It doesn't matter if I run Disks as a superuser or not - there's just no menu with this option in it. Anybody else run into this? Is the only way to do this by editing fstab manually? Re: Can't get secondary disk to automount with Gnome Disks - DeepThought - 10-04-2018 Take a look at a previous thread I posted on, the OP wanted to prevent automounting so just reverse it ![]() https://www.freecinema2022.gq/forums/other/how-to-prevent-a-specific-device-auto-mounting/msg42458/#msg42458 Re: Can't get secondary disk to automount with Gnome Disks - Tyrannocaster - 10-04-2018 LOL, I was so focused on reading the articles on how you use Disks that I kept looking for the options in the top menu. Apparently the version we have in Linux Lite put them below the drive on the interface. That's what I get for following directions literally! That worked; thanks. Re: Can't get secondary disk to automount with Gnome Disks - DeepThought - 10-04-2018 Lol, easily done, sometimes we get too focused and can't see what's right in front of us ![]() Glad it's sorted ![]() Re: Can't get secondary disk to automount with Gnome Disks - Tyrannocaster - 10-05-2018 It worked, but now the paths to those foldersare all in mount point format, which is horrible if you try to type it in, and impossible to parse. I mean "/mnt/38FA4774FA472E06/MP3" is really not very handy, is it? Is there any way to change it? The "Identify as" dropdown in the Gnome-Disks menu doesn't give me anything better to choose from. I'd rather have it the way it was before and manually mount the two partitions each time, I think. Re: Can't get secondary disk to automount with Gnome Disks - bitsnpcs - 10-05-2018 maybe..eg; experimental command (to me) I based it on changing another command. Await confirmation from an advanced member who knows if it will work. Code: alias name-you-want='sudo /mnt/38FA4774FA472E06/MP3' then just in future type the name-you-want , that you set as the alias, on its own to mount that. You add the command to the .bashrc file. Re: Can't get secondary disk to automount with Gnome Disks - Tyrannocaster - 10-05-2018 (10-05-2018, 01:02 AM)bitsnpcs link Wrote:Await confirmation from an advanced member who knows if it will work. Excellent idea! For now, I'm back to the way it was. Thanks for all the help, by the way. Re: Can't get secondary disk to automount with Gnome Disks - bitsnpcs - 10-05-2018 You are Welcome [member=8136]Tyrannocaster[/member] . Re: Can't get secondary disk to automount with Gnome Disks - DeepThought - 10-05-2018 [member=8136]Tyrannocaster[/member] The only way I can think of is to use gparted and change/add a label to the drive. This can be done without affecting the contents of the drive.... Open gparted and select the drive you want to change, right-click on the drive and choose unmount(if it is still mounted). Then right-click and select "label file system", choose a unique name and apply. Click out of gparted and remount the drive and all should be better ![]() [member=411]bitsnpcs[/member] an interesting idea but I don't think it's possible to use an alias the way you described unless the alias is used to launch a more complicated bash script. Helpful info:https://www.thegeekstuff.com/2013/01/mount-umount-examples/?utm_source=tuicool At it's most basic the command is: Code: sudo mount <device> <mountpoint> e.g. sudo mount /dev/cdrom /mnt To be able to read/write the command would be: Code: mount -t type <device> <mountpoint> So the alias would need to identify the device (/dev/hda*, /dev/sda* etc), identify or create a mountpoint, identify the filesystem..... So all of a sudden you're in the realms of a full-blown mount/umount bash script, while when using fdisk -l you can identify the device and filesystem, then create a mountpoint and mount the drive manually in a few minutes. Hope this helps ![]() Re: Can't get secondary disk to automount with Gnome Disks - trinidad - 10-05-2018 In your case it's probably easier to use: mhddfs https://www.tecmint.com/combine-partitions-into-one-in-linux-using-mhddfs/ https://romanrm.net/mhddfs http://www.linux-magazine.com/Issues/2016/183/mhddfs TC |