Skip to Content
Linux Administration Cookbook
book

Linux Administration Cookbook

by Adam K. Dean
December 2018
Beginner
826 pages
22h 54m
English
Packt Publishing
Content preview from Linux Administration Cookbook

How it works...

When we carved our physical device (sdb) into two partitions, we created them using fdisk.

First, though, we had to give the disk a partition table, where it could store the information about the partitions we're creating.

The classic partition table is called Master Boot Record (MBR) and the new-school one is called GUID Partition Table (GPT).

You may still see MBR systems floating around, but GPT is objectively better to use these days, allowing for things such as more than four primary partitions (which MBR is limited to).

You can view the partitions on a disk by again loading fdisk and passing p on the command line:

Command (m for help): pDisk /dev/sdb: 2147 MB, 2147483648 bytes, 4194304 sectorsUnits = sectors of 1 * 512 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical Linux Security Cookbook - Second Edition

Practical Linux Security Cookbook - Second Edition

Tajinder Kalsi
Mastering Linux Administration

Mastering Linux Administration

Alexandru Calcatinge, Julian Balog

Publisher Resources

ISBN: 9781789342529Supplemental Content