23.4. Example: move a DOS segment

This section shows how to move a DOS segment:


In the following example, the DOS segment manager has a single primary partition on disk sda that is located at the very end of the disk. We want to move it to the front of the drive because we want to expand the segment but there is currently no freespace following the segment.

23.4.1. Using the EVMS GUI context sensitive menu

To move the DOS segment through the GUI context sensitive menu, follow these steps:

  1. From the Segments tab, right click sda1.

  2. Click Move.

  3. Select sda_freespace1.

  4. Click Move.

23.4.2. Using Ncurses

To move the DOS segment, follow these steps:

  1. Use Tab to select the Disk Segments view.

  2. Scroll down with the down arrow and select sda1.

  3. Press Enter.

  4. Scroll down with the down arrow and select Move by pressing Enter.

  5. Use the spacebar to select sda_freespace1.

  6. Use Tab to select Move and press Enter.

23.4.3. Using the CLI

Use the task command to move a DOS segment with the CLI.