LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't get secondary disk to automount with Gnome Disks
#1
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?
Reply
#2
Take a look at a previous thread I posted on, the OP wanted to prevent automounting so just reverse it Smile

https://www.freecinema2022.gq/forums/other.../#msg42458
Owner and DJ at WKDfm Radio ( www.wkdfm.co.uk )
Reply
#3
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.
Reply
#4
Lol, easily done, sometimes we get too focused and can't see what's right in front of us Smile
Glad it's sorted Smile
Owner and DJ at WKDfm Radio ( www.wkdfm.co.uk )
Reply
#5
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.
Reply
#6
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.
Reply
#7
(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.
Reply
#8
You are Welcome [member=8136]Tyrannocaster[/member] .

Reply
#9
[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 Smile

[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/mou...ce=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>
where type would be the filesystem, ext2/3/4, ntfs, fat etc.

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 Smile
Owner and DJ at WKDfm Radio ( www.wkdfm.co.uk )
Reply
#10
In your case it's probably easier to use: mhddfs

https://www.tecmint.com/combine-partitio...ng-mhddfs/
https://romanrm.net/mhddfs
http://www.linux-magazine.com/Issues/2016/183/mhddfs

TC

All opinions expressed and all advice given by Trinidad Cruz on this forum are his responsibility alone and do not necessarily reflect the views or methods of the developers of Linux Lite. He is a citizen of the United States where it is acceptable to occasionally be uninformed and inept as long as you pay your taxes.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)