3

My /boot partition is at the end of my mechanical hard drive and I have free space at the start that I want to move it to, but there are a bunch of partitions in the way. Is there a way to accomplish this?

1 Answers1

0

You can use GParted.

First, boot from a live USB or disc. I recommend Ubuntu since it comes with GParted already on the Live portion. Load up the live portion of the usb/disc by 'trying' ubuntu.

Once it is all finished loading, you should see a familiar Ubuntu screen. Click on the Menu and search for GParted, and run it.

You should see something like this: GParted You can then right-click the partition you want to copy, and select Copy in the menu, and then in the free space you have, right click and click Paste. GParted will ask you where exactly do you want to put it. Customize your partitioning and click Paste. Confirmation for Pasting a partition.

Now you can delete the other partition and click Apply, since it will only delete the partition after copying it. Pending Operations for GParted

And there you go, you have successfully moved a partition.

Ookinder
  • 319
  • Is there any way to make a partition have a certain number (eg. sda3) when I copy the partition? – Haxalicious Sep 16 '17 at 00:32
  • I found this ask with a checked answer that solved what you want to do. Not sure how advanced you are. https://unix.stackexchange.com/questions/18752 – Ookinder Sep 16 '17 at 00:47