How Do I Change the Root Partition in Linux?
Contents

How do I increase the root partition size in Linux?

Resizing a root partition is tricky. In Linux, there isn’t a way to actually resize an existing partition. One should delete the partition and re-create a new partition again with the required size in the same position.

How do I move root filesystem to new drive?

Resolution

  1. Use the media to go into rescue mode on the system. …
  2. Copy data at the block(a) or filesystem(b) level depending on preference from the old disk to the new disk. …
  3. Setting up the partition boot label with either fdisk(a) or parted(b) …
  4. Updating Legacy GRUB(a) on SLE11 or GRUB2(b) on SLE12.
Maya Lin-Takahashi

Maya Lin-Takahashi

Consumer Tech & Gadget Reviewer

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.

Share this article
Twitter Facebook Pinterest