How to Mount an Additional Hard drive in Linux

Поділитися
Вставка
  • Опубліковано 7 вер 2024
  • In this video, we look at how to mount an additional hard drive in Linux. To see my video on how to format drive and partitions, here is the link: • Linux Tutorial: Format...
    Thanks for watching. To keep up with my latest content, please subscribe to my UA-cam channel at / freedomredux
    If you want to meet up on social media, here are my profiles:
    Google+ bit.ly/1n7Py3u
    FaceBook / freedomredux
    Twitter bit.ly/RKpAJc
    Pinterest bit.ly/1iWcBKD
    Tumblr: www.tumblr.com...
    My Blog: ajreissig.com/
    If you'd like to donate to this channel, follow this link: www.paypal.com...
    Be sure to check out Freedom Penguin for great Linux content: freedompenguin...
    Please visit and subscribe to my fellow Linux UA-camrs:
    Big Daddy: / @bigdaddylinux
    Linux Quest: / collinsnc
    Sudo Reboot: / channel
    Bryan Lunduke: / @bryanlunduke
    Jordan Keys: / twildottv
    Joe Collins: / badeditpro
    Matthew Moore: / channel
    Quidsup: / quidsup
    OhHeyitsLou: / @ohheyitslou
    Infinite Galactic: / @infinitelygalactic
    Charlie Henson: / channel
    Tostoday: / tostoday
    Open FOSS Training: / @openfosstraining4078
    TheFrugalComputerGuy: / @michaelstechtutorials
    Ghost Sixtyseven: / channel

КОМЕНТАРІ • 23

  • @runwiththedolphin
    @runwiththedolphin 6 років тому +8

    Great explanation of why you should use UUIDs. Under most distros udev implementation, /dev/** designations are not static, but rather assigned every boot. Partition UUIDs are created at time of formatting of the partition, so are always unique until the next time the partition is formatted.

  • @markbrock9020
    @markbrock9020 3 роки тому +4

    What a great video! You showed how to do something I needed to do in a clear concise way, and it worked the first time! That almost never happens. :)

  • @free-john_2008
    @free-john_2008 6 років тому +1

    The last couple of minutes was worth watching the whole video. I've added drives to fstab before and mounted to the "mnt" folder because that's what someone else had shown me. But then I couldn't save to it because it was owned by root. So I had to mess with chown and get it back to "me". Now I know to do what you suggested and mount it to my "home" and then I can save right away and not having to change ownership. Thanks.

  • @johnc3403
    @johnc3403 5 років тому +4

    Thanks for the video AJ. I'm up and running with a backup hardrive :D Instead of “defaults, x-gvfs-show” in my fstab line (which stopped thunar from loading) , i used "rw,relatime 0 2" for Options, Dump and Pass. It works well. Great video though and thanks again.

  • @laneromel5667
    @laneromel5667 6 років тому +3

    Before editing the fstab I typically test with a mount command. If successful I unmount the partition. Then I edit the fatab and use a mount -a to retest. Maybe over kill but in the long run saves time with stupid mistakes.

  • @ZeoWorks
    @ZeoWorks 3 роки тому +7

    Drive seems to be read only, any thoughts?
    Edit: You have to change the folder permissions to the same as your username. :)

  • @doomjuan
    @doomjuan 4 роки тому

    Thanks man, I can finally store my bigger steam games thanks to this tutorial

  • @pyotrleflegin7255
    @pyotrleflegin7255 6 років тому +3

    A really useful tutorial, A J. Thank you very much!

  • @diegoguimaraes2710
    @diegoguimaraes2710 3 роки тому

    thank you !!
    U helped me a lot !!!!

  • @bruh-mx7bd
    @bruh-mx7bd 4 роки тому +3

    Great video man, one question: how do you unmount the hard drive? I'm still fresh to linux, so i'm sorry if it's a stupid question.

    • @lukasm.2297
      @lukasm.2297 4 роки тому

      By using "umount" --> You can find more about it here wiki.archlinux.org/index.php/File_systems#Unmount_a_file_system

    • @jamesa3931
      @jamesa3931 4 роки тому

      Same here 😅

    • @KATT0
      @KATT0 4 роки тому

      am i late? anyway use umount to unmount

  • @bronkolie
    @bronkolie 4 роки тому +1

    In fstab, shouldn't be 2?

  • @paulgjackson
    @paulgjackson 6 років тому

    Curious new subscriber - what Linux distribution are you using in this video?

    • @AJReissig
      @AJReissig  6 років тому +2

      At that time I was using Solus running Gnome Shell.

  • @ranlicoben4492
    @ranlicoben4492 5 років тому

    Hey I have a question,
    I plan on having a dual boot set up.
    My hard drive would be
    M.2 256 SSD + 1TB
    I plan to partition it with
    1) 128gb + 500 (windows os)
    Is it possible that for remaining, I could have the same set up for my linux os?
    128gb (linux os) + 500gb

  • @VIP-xr7tz
    @VIP-xr7tz 5 років тому

    after reboot system stated "ext4 not found " what do i do?

  • @tobyclain9467
    @tobyclain9467 5 років тому +2

    11:45 You never explained where you got “defaults, x-gvfs-show” or what it really does. I understand the UUID, mount point, file system, and probably dump and pass but never the options. I’ll admit I had to invest this much amount of time research to understand where you’re really getting at that I’m close to knowing how to mount my drive but you left out the part I said above. Yes you copied and pasted but you didn’t fully explain how and why you made the line you copied to the fstab to make it work. You can’t leave things out like that man... I’m getting pretty sick of looking everywhere online for chaotic answers on how to permanently mount drives with little to no errors and yet all I wanted to do is mount my two drives (4tb hdd and 1tb ssd) as storage. It’s like nobody has a clear answer or a rule of thumb way to get to where you want to when it comes to Linux. Even Windows is easy enough when you find what you need with little to no hassle. Anyway, getting back on topic, if you can explain what “defaults, x-gvfs-show” does and how it affects our mounting or if you know any other options to go about our needs, I’d appreciate it.

    • @johnc3403
      @johnc3403 5 років тому

      It's a fair question and deserved an answer. I'll copy and paste "defaults, x-gvfs-show" for now and hope for the best but I'd like to know what it does. If it is any help to you Toby, I had to load gvfs so that thunar and thunar-volman would recognise external volumes like memory sticks and external HDD's. It may be that gvfs has more to do with your file manager displaying the presence of your new drive rather than anything to directly do with its mounting.

    • @johnc3403
      @johnc3403 5 років тому +5

      further... defaults, x-gvfs-show stopped Thunar from opening at all. I changed my new HDD's fstab entry to:
      UUID=c691563e-8183-4384-ade8-cca9db142995 /home/john/HDD_Backup ext4 rw,relatime 0 2 ......where HDD_Backup is where i want it mounted in my home directly, ext4 is the filesystem, rw,relatime for no good reason other than thats what was generated automatically for fstab on the main drive partitions sda1, sda3, sda4. The 0 is the dump value, whatever the fuck that is, and the 2 says it is only mounted on booting, after a partition (such as /boot) which has pass set to 1. This line worked for me, no issues at all. I changed the permissions for the drive, which I'd expected and that was it. Not sure this will be any help to anyone, but hey...