Auto-mounting Partitions | Linux Literate

Auto-mounting Partitions | Linux Literate

Hey, everybody, i’m gardner the linux gamer and welcome to episode 2 of linux literate last time we covered the basics of your home directory now, we’ll talk about how drives are added to your computer which is also known as mounting when you click on one of these devices over here on the left it becomes mounted to your computer’s filesystem One way to think about this is as though you’ve mounted a .iso file on a virtual drive in windows with any number of utilities except here it’s a native function of the operating system and it can be anywhere rather than as a letter drive You can, unmount it by hitting this button When you mount a drive in Ubuntu it’s typically mounted to /media as either it’s uuid or device name However you’re in control then you can choose, where to mount this device You can even decide if a device should be auto mounted at. Startup i’ll show. You how to set up auto mounting This guide will be from the perspective of Ubuntu 17.10 installation with the process being similar on other desktop environments and distros though not exactly the same First we’re, going to open up the Gnome disks utility Now that we’re here on the left, you’ll see a list of devices on our system now we don’t mount the actual drive, we mount any number of partitions on the drive so select the partition you want to mount if you’re unsure you can Click this button to mount the partition and see what its contents are. Ah this is my external, usb drive Then, we choose the “more actions” button, and select “edit mount options” If this box is ticked, make sure you uncheck it then pick mount on startup in this field it’s Good, practice to write the word defaults there are links to the documentation in the description if you’re interested in reading more Next is the most crucial field – mount point you can Choose virtually anywhere on your filesystem to mount to you can set the identify as to uuid and finally put in a filesystem Type if you’re, unsure of you can just type auto or you can look at the previous window And it’ll tell you what the filesystem type is note that if you want to install and run Software from this drive, you’re gonna run into headaches with fat or ntfs formatted partitions it’s not impossible but unless you know What you’re doing i highly recommend ext4 Cool, so just repeat this process for any partitions you Want to have auto mount keep in mind that if you’re going to replace an existing directory you’re Gonna need to move the files that are currently there to the new Location and the old directory should be completely empty for example if you Want to mount a partition that doesn’t have any files in it to your new Home directory Oh, and one other thing if you, don’t want a drive to auto mount on startup but you Want it to always be in a specific location, when it’s mounted just untick the “mount at Startup” box and follow the rest of this guide well that covers the basics of mounting file systems This video turned out to take a bit longer to make than i thought it would their financial support enables me to dedicate my time to making these videos for you or you can, smash that subscribe button that helps too but What do you think what should the next episode of linux literate be about leave me a comment and let me know or tweet at me @thelinuxgamer You can share this video with your friends, you can hit that like button and as always thank you so much for watching

48 thoughts on “Auto-mounting Partitions | Linux Literate

  1. I love it. Almost every tutorial for this stuff drops into the command line, but people have put a lot of effort into making these GUIs really very fully featured. Glad you explained it using this way.

  2. Can you make video running Aros on linux?There is not much good videos about that and you make good content.Keep up good work.👍

  3. I have a question
    do you now how to put linux os on android phone and remove the android? Thx a LOT!
    (I want to use the phone like a server and to I want to control the linux on the phone by ssh connection)

  4. If you want to review a neat little horror game that runs on linux, try Oxenfree. 😀 I got it on gog. Keep up the good content!

  5. Dude thank you so much! having to open files and mount my seperate games hardrive was a annoying quirk I had to deal with in linux for a good few years and all the tutorials I saw wouldn't work for me. Finnaly I have found a simple to follow auto mounting steam drive tutorial that actually works!

  6. for those installing ubuntu fresh but you want just the boot and system files on your ssd and you want to store all your games and media etc on a larger mechanical hard driver follow this guide it works perfectly on ubuntu/mint etc

  7. I would say this is obvious. However recently I have seen my gentoo friend struggling with mount command to achieve something. It may be obvious, but not for everybody. I say thank you Linux community for simple gui linux apps. Linux ftw!

  8. Nice video! Keep this series out from the terminal. I like the terminal myself, but most complaints about Linux distributions is about that you must use the terminal, because basically all instructions give you a bunch of terminal commands.
    Show your viewers some GUI loooooooove!!!

  9. You can mount a drive. You can create a filesystem on a drive without creating a partition and then mount it. I found out by accident when formatting a flash drive via GUI.

  10. BTW I see you're back to your normal hair style. I thought the one from "Let's talk about Linux problems" was more permanent? No? 😀

  11. Since snaps and flatpaks are becoming popular I highly recommend mounting any data partitions to your home directory (IE. /home/[username]/data_or_whatever) since they will be inaccessible from anywhere else when using most snaps or flatpaks.

  12. what if we have two sd* file like

    how to identify which is i want to use.

    next: how to use lsusb command to find device location in /dev folder

    like lsusb has a bus id so how do i find tha the location of that bus id in /dev/ folder

    it will be appreciated thank you

    if i plug Arduino in pc it shows up in lsusb
    now without software only using terminal how can i find /dev/<arduino location>

    how to do it ?????

  13. I would like this video two times if it was possible. Thanks The Linux Gamer, I finally can enable that. Really, really appreciated.

  14. Great work! Generally things are so much easier to understand without the background music. Your concentration isn't divided.

  15. future episode-explain what the gvfs is. This one really threw me. Linux Mint < 18 always mounted my camera at /media/al/EOS-Digital. Simple, I could use the find command to pull out files based on their date and put them into the appropriate folders. Been doing that for 10 years. Now all of a sudden version 18.3 is putting them in /run/user/1000/gvfs.something.something.confusing.mess. Thanks once to again to the find command I was able to discover where it hid them and I can still do what I need, but it is very unintuitive. Now if I take the SD card out of the camera and put it in the card slot, it mounts in /media/al/EOS like it always did. What is gvfs anyway and why do I need it?

  16. One time I formatted a drive that was set to be auto-mounted.

    The next time I tried to start the computer, it tried to mount the old file system, which obviously no longer existed, so it got stuck in a loop and eventually crashed.

    I had to re-install my entire Lubuntu installation.

  17. libnvidia-ifr1-390 : Depends: libnvidia-gl-390 but it is not installed
    libnvidia-ifr1-390:i386 : Depends: libnvidia-gl-390:i386 but it is not installed
    E: Unmet dependencies. Try 'apt –fix-broken install' with no packages (or specify a solution).

  18. I was thinking this is how to make usb drives get mounted automatically when its plugged in, not how you make it mount your hard drives on boot. Anyway i think this can be useful for someone new to linux.

  19. i have mounted all drives and partitions on bodhi linux 5.0.0, and audacious still wont play the mp3s, what to do in a such situation?

    EDIT: it will play them only if i add all of them to the playlist one after another again!

  20. Thanks for helping me out of this mess without resorting to the terminal. By using Linux, one thing I've come to realise is how much I like how Windows automatically mounts your drives/ partitions and assigns them drive letters. Especially when all of your Steam/ GOG games are stored on a separate drive.

  21. ughhh gnome. How about XFCE ? or KDE, or any of the other desktop variants. Sticking with editing Fstab here. Good tip for beginners though, if they use gnome that is…. but theoretically you can install "disks" package and do this.

  22. I was thinking this would be a tutorial on /etc/fstab, that is the way to do it that is universal across all linux distributions.

  23. This was suuuper helpful, exactly what I needed!!
    I wanted to set up a partition specifically for virtual machines but I wanted to MOUNT it under something like /svm instead of under /run/media/user/drive, which is just long and dumb.
    Now it’s set up perfectly. Thank youuu!

  24. 1:22/1:23. " more actions button". Would be nice if it showed the words " more actions" button in stead of just a cog symbol and whoever created this button ASSUMES a new user knows wtf that is.

  25. 2:07 to 2:13. And this is why ( unless it's the o.s-installed drive) why I format the drive to exFat. I 've never had a problem with using it on both Linux mint …and then connecting to a Windows PC to use just as easily…no extra just works.

Leave a Reply

Your email address will not be published. Required fields are marked *