On Sat, 7 May 2016 01:41:34 -0230, Curt Dawe wrote: >See, I have my Xubuntu machine set up as a little media server using >TVmobili. So, for me, I need my drives to auto mount on boot so that >the TVmobili service can have access to the media on each disk drive.
If you set up your machine, why didn't you set up to auto-mount all partitions? Googling for auto-mount https://www.google.de/?gws_rd=ssl#q=auto-mount+all+drives+linux https://www.google.de/?gws_rd=ssl#q=auto-mount+all+partitions+linux isn't hard to do You either could start a script by upstart/systemd or when starting a Xfce session, then perhaps the easiest way for you would to do so by using gksudo. One hit, e.g. http://unix.stackexchange.com/questions/72393/mounting-all-partitions-on-hard-disk-automatically-on-linux-mint So from command line, the script and how to run it $ cat amount #/bin/dash for i in $(lsblk -r |awk '{ print $1 }'|grep -v md |grep -v loop |grep .*[[:digit:]]|sort|uniq;); do if [ -z "$(grep $i /proc/mounts)" ] then mkdir -p /mnt/$i; mount /dev/$i /mnt/$i fi done exit $ gksudo ./amount Simply add it to the auto-start by $ xfce4-settings-manager Session and Startup > Application Autostart. The script isn't perfect, it doesn't auto-mount e.g. ufs2 or ntfs on my machine, but it's possible even to provide this. Strange, since from command line it worked for ntfs. $ sudo mount /dev/sdb1 /mnt/sdb1 The disk contains an unclean file system (0, 0). The file system wasn't safely closed on Windows. Fixing. And after that it was mounted. For the script you could check after mount was executed, if $? is equal to 0 or not and then run "mount -t" checking ntfs, ufs2 etc.. -- xubuntu-users mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/xubuntu-users
