Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
fdisk -l

where

  • /dev/sda -  the first physical disk;
  • /dev/sda1 - the  the first section of the first physical disk;
  • /dev/sda2 - the  the second section of the first physical disk;
  • dev/sdb - the  the second physical disk.

To delete the disk section, do the following:

...

  1. Go to the disk where it is necessary to create a section.

    Code Block
    fdisk /dev/sdb


  2. Create the section.

    Code Block
    n


  3. Specify the section: primary (p) or extended (e).

    Code Block
    p


  4. Specify the section number.


    Code Block
    1


  5. Specify the section size. G − gigabytes, M − megabytes, K − kilobytes.

    Code Block
    +5G


  6. . Save the changes.

    Code Block
    w


...