Next: , Previous: mkpartfs, Up: Command explanations


2.4.8 move

— Command: move number start end

Moves partition on the disk, by moving its beginning to start. You can't move a partition so that the old and new positions overlap. That is, you can only move partitions into free space. If you want to resize a partition in-place, use resize.

Move never changes the partition number.

Supported file systems:

Example:

          (parted) move 2 150M 500M
     

Move the partition numbered 2 so that it begins 150 megabytes from the start of the disk, and ends 500 megabytes from the start.