$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

Linux How to Getting Started With Fdisk Partitioning Easy & Pragmatic Guide

December 7, 2012 | By Duchateaux.

The Guide shows you How to Getting-Started Partitioning a Disk/Drive by fdisk Linux Command Line Tools.

All Steps are Clearly Delineated Reducing at Minimum the Eventuals Choices and Customizations to Make Clearer & Easier the Process.

So if you Have Some Doubt or Need Some More Insight you Should Consult the Official Online Documentation…

Just Relax & Take the Time of Carefully Reading and Executing the Instructions Contained Here and All should Work Like a Summer Breeze :)

Linux-Gnome Penguin on Ubuntu

For the Sake of Clarity I Take Into Account Only the General Case of Making Two Partitions on Disk:

  • One Swap Partition

  • One Root Partition

.

After Adding some Extra /home or /boot Partitions will be As Simple as Making the Root One!

  1. Open a Terminal Window
    (Press “Enter” to Execute Commands)

  2. Login as SuperUser

    su 

    If Got “User is Not in Sudoers file” then see: How to Enable sudo

    In Ubuntu-Like or on a macOS Instead.

    sudo su

    If Got “User is Not in Sudoers file” then see: How to Enable sudo

  3. Start fdisk

    fdisk /dev/sda

  4. Make a New-Partition Table

    o

  5. Create the Swap Partition

    n

    Accept Defaults But Latest Sector.

    Set Latest Sector Swap Size.

    +1G
  6. Create the Root Partition

    n

    Simply Confirm All Defaults.

  7. Setup the Partition Type to Swap

    Enter:

    t

    Partition Number:

    1

    Set Hex Code:

    82 
  8. Write Changes

    This Will Discard All Existing Data on Disk!.

    w
  9. How to Format Created Partitions on Linux Command Line:

    Formatting on Linux Command-Line