Home / Series / The Ben Heck Show / Aired Order / Season 0 / Episode 14

sudo Sergeant 05 - Partitions & File Systems

Felix goes over disk partitions and file formats. Working from command line, he shows you how to view the disk partitions that are on your storage device and how to modify the file system that they are formatted in. Partitioning a hard drive divides the available space into sections that can be accessed independently. You can allocate an entire drive to a single partition, or use multiple partitions for dual-booting, maintaining swap partition, or to logically separate data such as audio or video files. The partition table stores the required information. Felix gives an overview of two types of partition tables, Master Boot Record (MBR) and Globally Unique Identifier Partition Table (GBT). The first 512 Bytes of a storage device is dedicated to the Master Boot Record (MBR). This comes from an older partitioning scheme that is designed to work with the boot process of the bios. During the boot process the bios loads the beginning 512 Bytes of the first valid disk in the bios disk order. The Global Unique Intentifier Partition Table (GPT) is a partitioning scheme that is part of unified extensible firmware interface specification. It uses globally unique identifiers (GUIDS), UUIDS in the Linux world, to define partitions and partition types. It is designed to succeed the master boot record partitioning scheme method. GPT is recommended for systems that boot via a UEFI system. Felix uses a Raspberry Pi and a (Tux the Linux Penguin) USB dongle to demonstrate how this works. He takes Tux and plugs him into the USB. He utilizes command line to locate where his device comes up in the device tree. He uses the command lsblk to shows there are no partitions set up and the device comes up as SDA. He points out mmcblk0 which is the device. He shows you what mounted partitions look like by pointing to mmcblk2, mmcblk7, mmcblk5, mmcblk1, and mmcblk6. He also shows you the device directory which he gets to by typing in ls /dev. The utility for modifying partit

English
  • Originally Aired September 27, 2017
  • Runtime 17 minutes
  • Special Position Airs before season 7, episode 35
  • Network element14
  • Created September 27, 2017 by
    Administrator admin
  • Modified September 27, 2017 by
    Administrator admin