Beginner's Guide to Linux: Drives, Partitions, and File System

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 พ.ค. 2024
  • A guide to understanding how the Linux file system works. In this guide you will learn how Linux handles drives and partitions and how it is different from the drive letter system typically used by Windows.
    ------------------------------------------------
    Background Score:
    • Puppy Love - Jeremy Bl...
    ------------------------------------------------
    Chapters:
    00:00 Intro
    00:19 The Cost of Freedom
    02:15 Guide to The Linux Filesystem
    03:19 Windows Drive Letter System
    04:44 Linux Filesystem Root
    05:23 The Home Folder
    06:13 Disks and Partitions
    09:35 Mount Points
    12:45 Future Videos
    13:47 Outro
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 54

  • @redrush-hp9li
    @redrush-hp9li หลายเดือนก่อน +22

    Bro looks like Mutahar, great vid

    • @jn1540
      @jn1540 หลายเดือนก่อน +1

      Even the channel name. It's like I. In the twilight zone.

    • @AverageNerdTalks
      @AverageNerdTalks  หลายเดือนก่อน +6

      Wasn't trying to copy him in any way. He's quite an inspiration though! 🙂

    • @jn1540
      @jn1540 หลายเดือนก่อน +2

      @@AverageNerdTalks I think the format is different enough to not seem like a copycat just close enough to be an amusing coincidence?😂😂

    • @seancondon5572
      @seancondon5572 หลายเดือนก่อน

      ​@@AverageNerdTalks, that's actually an indication you got something to lean into. Muta, though, is probably more a "recipe" for success. And I know enough from cooking my own food that recipes are not to be followed precisely. Don't be a Muta clone. Be the only man you CAN be: you.

  • @nFyrin
    @nFyrin หลายเดือนก่อน +9

    We need to get this man on the someordinary podcast.

    • @affinityxs
      @affinityxs หลายเดือนก่อน +1

      He's the real doppelganger of Muta

  • @walter_lesaulnier
    @walter_lesaulnier หลายเดือนก่อน +5

    This is one of the first things I cover when I get someone to try Linux. Also, permissions are an important topic for new Linux users.

  • @yasamindev
    @yasamindev หลายเดือนก่อน +1

    Great video, waiting for upcoming series🎉

  • @tonywise198
    @tonywise198 หลายเดือนก่อน +6

    Think of everything as represented as a file. That is files/ directories (folders) / monitors / keyboards / printers etc. Everything. Note that the Linux OS will sort this out for you when you install it.

    • @AverageNerdTalks
      @AverageNerdTalks  หลายเดือนก่อน +1

      Yep, that's right! But, technically everything is a file descriptor 🙂

  • @norvynhill
    @norvynhill หลายเดือนก่อน +1

    Looking forward to the series! Keep up the great content.

  • @seancondon5572
    @seancondon5572 หลายเดือนก่อน +2

    I do not subscribe to every channel that tells me to do so, just like I don't like or comment every video that tells me to do so. After reviewing your content and its presentation, though... you have earned a sub. There's something to be said about someone who does not talk down to people while also presenting in a way which, at least to me trying to think back to how I was over 20 years ago, seems easy to understand.
    You take technical stuff here and break it down in a way most people could likely understand. My greatest regret as a Linux user is in NOT developing that particular skill.
    That's actually my regret in most places I find myself. It's an ability I wish I had... I'll say this: stay humble, but know you have a talent.

  • @freddo22gold
    @freddo22gold หลายเดือนก่อน +2

    Good one Bro!👍

  • @harshborana
    @harshborana 17 วันที่ผ่านมา +1

    To be exact Home folder 5:45 is just users folder just like in linux home forlder where downloads and desktop files lies in windows there is an user folder in which there is download and desktop folder , and when you mount a folder , you just mount it to a folder and it may seem like an partition in your file manager but it is mounted in a folder (is that right?)

  • @user-tw2kr6hg4r
    @user-tw2kr6hg4r หลายเดือนก่อน +2

    it's also important to note that the fstab configuration file does not work on all linux distros, some use systemd-mount which is configured differently

    • @AverageNerdTalks
      @AverageNerdTalks  หลายเดือนก่อน +1

      Are there distros that do that out of the box? I haven't come across any so far.

  • @apocalypticbean
    @apocalypticbean หลายเดือนก่อน

    thanks for sharing.

  • @user-tw2kr6hg4r
    @user-tw2kr6hg4r หลายเดือนก่อน +1

    Windows also has the option to mount partitions to directories.

  • @Karn0010
    @Karn0010 หลายเดือนก่อน +6

    If you edit fstab I suggest a couple things. 1st, memorize where it is located. 2nd, know how to use nano or vim. 3rd, make one change at a time. If you edit it and do something wrong, you'll be able to remove the changes. During boot you'll be able to open fstab via a command like sudo nano /etc/fstab and use nano to revert the changes.

  • @neongamerex
    @neongamerex หลายเดือนก่อน

    Funny that I am facing the same problem but not on linux but guess what another guy with an Indian accent saved me from that problem you guys are lifesavers.

  • @jlt4219
    @jlt4219 หลายเดือนก่อน +1

    newbie here! thanks for the video, I would like to know what folders are inside the root and what its purpose? thanks...

    • @RationalBeing-rh1zf
      @RationalBeing-rh1zf หลายเดือนก่อน +1

      All folders that are essential for your system, apps and media is saved in root folder it's like Drive C in windows

    • @AverageNerdTalks
      @AverageNerdTalks  หลายเดือนก่อน +1

      Root folder encompasses your entire operating system. Each folder has a specific purpose, but going into the details would be a very long comment! Just remember that editing anything in root is always risky if you're not sure about what you're doing. It's safest to make changes within your own home directory. Guides and tutorials online directing you to change configuration files within your home directory are safe to follow.

    • @RationalBeing-rh1zf
      @RationalBeing-rh1zf หลายเดือนก่อน

      Btw never mess around with your root folder without knowledge. I remember was trying to configure to customise my Linux mint desktop, I accidentally without knowledge removed grub bootloader and my system was not starting. This shows even easiest distro can break if you don't have proper knowledge to use folders so it's better don't mess with it.

    • @samuelfinsky6466
      @samuelfinsky6466 หลายเดือนก่อน +2

      That depends on what you mean with "root".
      There are at least two possibilities:
      1.) / - The root directory
      Everything, all the files and directories, in Linux are located under ‘root’ represented by ‘/’. If you look at the directory structure, you’ll realize that it is similar to a plant’s root.
      2.) /root - The home directory of the root
      There is /root directory as well and it works as the home directory of the root user. So instead of /home/root, the home of root is located at /root. Do not confuse it with the root directory (/).
      Credit to Abhishek Prakash linuxhandbook linux-directory-structure

    • @RationalBeing-rh1zf
      @RationalBeing-rh1zf หลายเดือนก่อน

      @@samuelfinsky6466 yea you are right / and /root are different

  • @seancondon5572
    @seancondon5572 หลายเดือนก่อน +1

    Ok, look, I have not seen even 5 seconds of this video. I'm here to comment on the thumbnail. See, I come from an era over 20 years ago where the install procedure for Mandrake Linux prompted me about "weird" things... like "mount points" (had NO DAMN CLUE what those were), and had an option to install something they called XWindows (to which I was like "oh, does this mean Linux is Windows Compatible?)
    These days, the more "entry level" distros have installation processes that obfuscate a lot of the procedure.
    You wanna know what was hard for me? FOUR DEFINITIONS of the word "root" in the context. The word could refer to the user, the group, the / directory or the /root/ directory. I failed to grasp, at first, the security implications of running things as root. I picked up basic compile processes fast enough, though, and by 2005ish when I got trolled into giving Gentoo a try I was MORE THAN READY.
    I have been running Linux for so long it's difficult for me to explain certain concepts.

  • @Javaman92
    @Javaman92 10 วันที่ผ่านมา

    You are the first person who has said that programs can be installed on an external drive. If I am understanding you. I am newish to Linux, I've played with it from time to time through the years but last week I bought a laptop and installed Ubuntu on it. I also got an external hard drive thinking that the internal drive isn't that big and that I would install programs on that instead of the internal drive. BUT everyone says that it isn't possible on Linux.
    AM I understanding you that it can be done?

    • @AverageNerdTalks
      @AverageNerdTalks  10 วันที่ผ่านมา +1

      Well, I was referring to additional internal drives in this case. If you have a laptop which supports more than one drive or a desktop with multiple internal drives, then they can be mounted as folders in Linux as part of the operating system's file tree. Installing to an external drive is not straight forward and definitely not recommended!

    • @Javaman92
      @Javaman92 9 วันที่ผ่านมา +1

      @@AverageNerdTalks thank you for clarifying. It's just something that I have to adjust to.

    • @AverageNerdTalks
      @AverageNerdTalks  7 วันที่ผ่านมา +1

      Most apps on Linux systems are typically not as large or heavy as on Windows. So, you probably should be fine installing everything on your internal drive.

  • @Broshan69
    @Broshan69 หลายเดือนก่อน +1

    Dude are You Mutahars(SomeOrdinaryGamers) brother? Hahaha much ❤️

    • @Broshan69
      @Broshan69 หลายเดือนก่อน

      Liked and subbed, hope one day he notices you ;)

    • @AverageNerdTalks
      @AverageNerdTalks  หลายเดือนก่อน

      No, lol.

  • @neobree
    @neobree หลายเดือนก่อน +4

    first C:

  • @shadowshadow2724
    @shadowshadow2724 หลายเดือนก่อน

    you look exactly the same as mutahar!😲

  • @Lizard_of_Linux_Lane
    @Lizard_of_Linux_Lane หลายเดือนก่อน

    That thing has been missing for a while now.

  • @DyJUSTO
    @DyJUSTO หลายเดือนก่อน

    Mac users in my country are Ritch! Mac phones etc it's all 5x times more expensive and all apps payed.

  • @edelzocker8169
    @edelzocker8169 หลายเดือนก่อน

    I still dont understand why Windows isnt dead!
    If someone can switch from Windows 7 to Windows 10 or 11 without losing their mind, that person will also be able to switch from Photoshop to Krita without encountering any problems.

    • @AverageNerdTalks
      @AverageNerdTalks  หลายเดือนก่อน +1

      Photoshop, Premier Pro, etc. are professional grade tools that require years of training and experience to master. Transferring over a skill set like that is definitely not trivial. That being said, it's Adobe that needs to change, not the user and not Linux. If they can compile their apps for Mac, they can compile for Linux. They just choose not to.

    • @edelzocker8169
      @edelzocker8169 หลายเดือนก่อน

      @@AverageNerdTalks An old man once told me, "If you try to understand why companies do things, you'll lose your mind."

  • @BenHardy
    @BenHardy หลายเดือนก่อน

    More choice doesn't apply to apps.

    • @AverageNerdTalks
      @AverageNerdTalks  หลายเดือนก่อน

      Are you sure about that? 😉

    • @BenHardy
      @BenHardy หลายเดือนก่อน

      @@AverageNerdTalks Pretty sure yes. Show me a photo editing app that in any way compares to Affinity Photo or Photoshop and please don't bother mentioning GIMP - it sucks.

    • @AverageNerdTalks
      @AverageNerdTalks  หลายเดือนก่อน

      @@BenHardy Looks like Adobe and Affinity are taking away your choice. Definitely not a good thing!

  • @RationalBeing-rh1zf
    @RationalBeing-rh1zf หลายเดือนก่อน +1

    Bas hindi bolde ek bar bhai maja aa jayega

  • @opinionateddrone
    @opinionateddrone หลายเดือนก่อน +1

    This might be the thing that keeps me away from Linux forever.
    It makes NO sense what-so-ever
    For Drive0 to be /
    and Drive 1 to be /whatever mount point
    and Drive 2 to be /whatever other mount point
    It makes it seem like your other drives are just folders within your first drive. And then what happens to that "mount point" once you've disconnected a drive, or it fails? The folder is still there. It still says "/whatever mount point" but, uh... what happens to things I put in there? Do they get saved to my first drive? Does the mount point disappear or does it just become a normal folder on the first drive?
    How in the world did this become the standard for Linux? Its freaking bonkers. It would make sense if the mount points were exclusive, and if the first hard drive was also given a mounting point at the same navigation level as the other drives

    • @AverageNerdTalks
      @AverageNerdTalks  หลายเดือนก่อน

      The original drive letter implementation came from MS-DOS during the era when computers didn't have a fixed disk and your OS was loaded into RAM from a floppy disk.
      Mount points make it so it doesn't matter what the underlying disk structure of your computer is. No matter how complex your disk setup is, the structure of your file system never changes. For example, try installing Office 365 on anything other than the C drive. It's not easy is it? Now if you could simply mount your "Program Files" or whatever directory to another drive, you could easily have all applications installed on a different drive instead of the default C drive. Drive letters are very restrictive because your OS is forced to reside on a single disk whereas mount points make it so you can have different parts of your OS on different disks if you so wish without affecting the way your OS functions.
      If a drive is disconnected then anything put into the folder will go into the drive that's mounted to the parent directory. However, creating a permanent mount point for a removable drive is never recommended.

    • @opinionateddrone
      @opinionateddrone หลายเดือนก่อน

      @@AverageNerdTalks it's actually pretty simple to change the default install location for programs on Windows. Just change one registry key.