LFCS: Partitioning Storage Devices, Formatting Filesystems and Configuring Swap Partition – Part 4

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Gabriel Cánepa

Gabriel Cánepa is a GNU/Linux sysadmin and web developer from Villa Mercedes, San Luis, Argentina. He works for a worldwide leading consumer product company and takes great pleasure in using FOSS tools to increase productivity in all areas of his daily work.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

13 Responses

  1. Ahmad says:

    Correct me if I am wrong, but when you make a swap partition, shouldn’t you change its time to Linux swap ( Hex 82) ?

  2. Peter says:

    I didnt have fdisk on my recently installed centos 7 (easily installed via yum) however in fdisk it appears to now have options to manage GPT partitions.

    Command action
    a toggle a bootable flag
    b edit bsd disklabel
    c toggle the dos compatibility flag
    d delete a partition
    g create a new empty GPT partition table
    G create an IRIX (SGI) partition table
    l list known partition types
    m print this menu
    n add a new partition
    o create a new empty DOS partition table
    p print the partition table
    q quit without saving changes
    s create a new empty Sun disklabel
    t change a partition’s system id
    u change display/entry units
    v verify the partition table
    w write table to disk and exit
    x extra functionality (experts only)

  3. Gabriel A. Cánepa says:

    Feel free to test yourself. Gdisk can be used to create both types of partitions.

  4. mike says:

    i think this is wrong “We must note that gdisk can be used either to create MBR or GPT partitions.” gdisk can only create GPT PARTITIONS. Parted can create both

  5. Thanks it is nice to see all the objectives covered in details.

  6. @Khoi and @santosh,
    Thanks for your comments! Feel free to share this post (and the rest of the series) through your social network profiles.
    Best regards,

  7. Khoi D. Dinh says:

    Thank you Gabriel Cánepa, it very nice.

  8. @Javid,
    Thank you for your kind words. Feel free to help us spread the word about this series by sharing on your social network profiles!

  9. Javid says:

    Great thanks you for article

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.