The Tech Edvocate

Top Menu

  • Advertisement
  • Apps
  • Home Page
  • Home Page Five (No Sidebar)
  • Home Page Four
  • Home Page Three
  • Home Page Two
  • Home Tech2
  • Icons [No Sidebar]
  • Left Sidbear Page
  • Lynch Educational Consulting
  • My Account
  • My Speaking Page
  • Newsletter Sign Up Confirmation
  • Newsletter Unsubscription
  • Our Brands
  • Page Example
  • Privacy Policy
  • Protected Content
  • Register
  • Request a Product Review
  • Shop
  • Shortcodes Examples
  • Signup
  • Start Here
    • Governance
    • Careers
    • Contact Us
  • Terms and Conditions
  • The Edvocate
  • The Tech Edvocate Product Guide
  • Topics
  • Write For Us
  • Advertise

Main Menu

  • Start Here
    • Our Brands
    • Governance
      • Lynch Educational Consulting, LLC.
      • Dr. Lynch’s Personal Website
      • Careers
    • Write For Us
    • The Tech Edvocate Product Guide
    • Contact Us
    • Books
    • Edupedia
    • Post a Job
    • The Edvocate Podcast
    • Terms and Conditions
    • Privacy Policy
  • Topics
    • Assistive Technology
    • Child Development Tech
    • Early Childhood & K-12 EdTech
    • EdTech Futures
    • EdTech News
    • EdTech Policy & Reform
    • EdTech Startups & Businesses
    • Higher Education EdTech
    • Online Learning & eLearning
    • Parent & Family Tech
    • Personalized Learning
    • Product Reviews
  • Advertise
  • Tech Edvocate Awards
  • The Edvocate
  • Pedagogue
  • School Ratings

logo

The Tech Edvocate

  • Start Here
    • Our Brands
    • Governance
      • Lynch Educational Consulting, LLC.
      • Dr. Lynch’s Personal Website
        • My Speaking Page
      • Careers
    • Write For Us
    • The Tech Edvocate Product Guide
    • Contact Us
    • Books
    • Edupedia
    • Post a Job
    • The Edvocate Podcast
    • Terms and Conditions
    • Privacy Policy
  • Topics
    • Assistive Technology
    • Child Development Tech
    • Early Childhood & K-12 EdTech
    • EdTech Futures
    • EdTech News
    • EdTech Policy & Reform
    • EdTech Startups & Businesses
    • Higher Education EdTech
    • Online Learning & eLearning
    • Parent & Family Tech
    • Personalized Learning
    • Product Reviews
  • Advertise
  • Tech Edvocate Awards
  • The Edvocate
  • Pedagogue
  • School Ratings
  • The Astonishing Truth About Student Loan Refinance Rates: What You Need to Know Now

  • Devastating: AI Agents Just Found a Zero-Day in Medical Software in 11 Minutes

  • The AI Education Revolution: 10 Urgent Questions Universities Must Answer Now

  • Explosive Zero-Day Vulnerability: 15 Million Websites Under Siege – Is Yours Next?

  • The Ultimate Kuru Footwear Trio: A Comfort Revolution for Every Adventure

  • Why Your Mortgage Could Be Denied by Biased AI – And What the Fed Is Doing About It

  • Unprecedented: Lawsuit Demands Total AI Shutdown Amid Rising Global Panic

  • The Astonishing Truth: Microcredentials Now Trump MBAs for Data Science Jobs

  • The Astonishing Twist: AI Cuts Your Job, Then Helps You Sue Your Boss

  • The Staggering Truth About Palo Alto’s $4.5 Billion AI Bet

Digital & Mobile Technology
Home›Digital & Mobile Technology›How to Manage Disk Partitions in Linux With fdisk

How to Manage Disk Partitions in Linux With fdisk

By Matthew Lynch
August 2, 2023
0
Spread the love

Managing disk partitions in Linux is an essential skill that every system administrator should have. One of the most commonly used tools for managing disk partitions in Linux is fdisk. Fdisk is a command-line utility that can help you create, delete, and modify disk partitions in a Linux system.

In this article, we will discuss how to manage disk partitions in Linux with fdisk.

Step 1: Open Terminal

The first step in managing disk partitions in Linux is opening the Terminal. The Terminal is where you will run all the fdisk commands. You can open Terminal on most Linux distributions by pressing Ctrl+Alt+T.

Step 2: List partitions

Before you can manage your disk partitions with fdisk, you need to know the current status of your partitions. You can use the fdisk command with the -l option to list all your disk partitions.

sudo fdisk -l

This command will list all the available disk partitions on your system. You can see the device name, partition number, size, and type of each partition.

Step 3: Select a disk

The next step is to select the disk you want to manage with fdisk. You must know the device name of the disk you want to manage. For example, if you want to manage the disk /dev/sda, you would use the following command:

sudo fdisk /dev/sda

Step 4: Create a partition

To create a new partition on the selected disk, use the following steps:

1. Press the “n” key.

2. Choose the type of partition to create. You can create primary or extended partitions. To create a primary partition, type “p.” To create an extended partition, type “e.”

3. Enter the partition number. The number can be any value between 1 and 4 for primary partitions and between 5 and 64 for extended partitions.

4. Enter the first sector of the partition. This is the starting point of the partition and can be any value between 1 and the end of the disk.

5. Enter the size of the partition. You can specify the size in sectors, cylinders, or megabytes.

6. Press the “w” key to write the changes to the disk.

Step 5: Delete a partition

To delete a partition, use the following steps:

1. Press the “d” key.

2. Enter the partition number you want to delete.

3. Press the “w” key to write the changes to the disk.

Step 6: Resize a partition

To resize a partition, you need to delete the existing partition and create a new one of the desired size. Follow the steps in Step 4 to create a new partition, specifying the new partition size.

Step 7: Save and exit

After making changes to your disk partitions, you need to save and exit fdisk. Press the “w” key to write the changes to the disk and quit fdisk.

Conclusion

Managing disk partitions in Linux with fdisk is a handy skill for any system administrator. It can help you create, delete, and modify disk partitions in a simple and intuitive way. Remember to always back up your data before making changes to your disk partitions.

Previous Article

Tesla Model S Plaid vs. Rimac Nevera: ...

Next Article

How to Design and Create Strong 3D ...

Matthew Lynch

Related articles More from author

  • Assistive TechnologyDigital & Mobile Technology

    How to Test if 1.5v Batteries are Still Good

    May 29, 2023
    By Matthew Lynch
  • Digital & Mobile Technology

    What Is a Master Boot Record (MBR)?

    June 6, 2023
    By Matthew Lynch
  • Digital & Mobile Technology

    The Best Websites to Order Customized Stationery

    June 23, 2023
    By Matthew Lynch
  • Digital & Mobile Technology

    Ways to Install Older Versions of Apps on an Older iPhone

    June 22, 2023
    By Matthew Lynch
  • Digital & Mobile Technology

    Best Free Alternatives to Fences for Windows Desktop Management

    June 23, 2023
    By Matthew Lynch
  • Digital & Mobile Technology

    4 Funny Email Pranks for Messing With Your Friends and Coworkers

    June 6, 2023
    By Matthew Lynch

Search

Login & Registration

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Newsletter

Signup for The Tech Edvocate Newsletter and have the latest in EdTech news and opinion delivered to your email address!

About Us

Since technology is not going anywhere and does more good than harm, adapting is the best course of action. That is where The Tech Edvocate comes in. We plan to cover the PreK-12 and Higher Education EdTech sectors and provide our readers with the latest news and opinion on the subject. From time to time, I will invite other voices to weigh in on important issues in EdTech. We hope to provide a well-rounded, multi-faceted look at the past, present, the future of EdTech in the US and internationally.

We started this journey back in June 2016, and we plan to continue it for many more years to come. I hope that you will join us in this discussion of the past, present and future of EdTech and lend your own insight to the issues that are discussed.

Newsletter

Signup for The Tech Edvocate Newsletter and have the latest in EdTech news and opinion delivered to your email address!

Contact Us

The Tech Edvocate
910 Goddin Street
Richmond, VA 23231
(601) 630-5238
[email protected]

Copyright © 2026 Matthew Lynch. All rights reserved.