Ask Your Question
2

Extending root partition

asked 2017-05-16 07:31:26 -0500

Pouyan gravatar image

Greetings

I use Lenovo Z50-70 Laptop with Fedora25 and Win10 (both 64x) installed dual boot. I need to extend my root partition and I have already 32GB of unallocated space on my disk but I find no option to do so. You can see my partitions on image below: image description

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2017-05-16 12:47:31 -0500

cmurf gravatar image

The root volume cannot easily be extended in this layout. There's no free space after this partition, and LVM isn't being used either. Some fairly significant surgery would be needed no matter what. Possibly the easiest would be to boot from a livecd, create a new partition out of the 32GiB free space, and then use dd with a 1M block size to copy the existing root to the new root; and then wipe the signature on the old root. You'd need to check both /etc/fstab and grub.cfg to make sure it's looking for root with UUID rather than device. The UUID would be the same with this method, but the device will have changed. It's important to wipe the old signature to avoid having two identical filesystem volumes with the same UUID visible; not all file systems will tolerate this gracefully.

edit flag offensive delete link more
0

answered 2017-05-16 10:19:46 -0500

SteveEbey73701 gravatar image

You may nneed to boot from a livecd and do it. rather than on the current booted system. I would imagine, just as in windows, the root partition has to be locked before resizing.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-05-16 07:30:05 -0500

Seen: 1,288 times

Last updated: May 16 '17