4 ms·
You can resize your primary partition, move it to a larger offset, then resize /boot. You can also move /boot to the end of your disk. gparted supports this stu
by wubrr 3y ago
You can resize your primary partition, move it to a larger offset, then resize /boot. You can also move /boot to the end of your disk. gparted supports this stuff pretty well.
- LoganDark 3y agoThere's no way. You cannot just relocate a Linux partition while it's running like you can macOS, unless gparted somehow supports moving a live system into a tmpfs while the operation is performed. Windows software that does this has to completely reboot into a dedicated executable that does the work before the system is actually started.
- wubrr 3y agoNot while it's running obviously... you boot into gparted live and do it. And btw, yes you can move partitions while linux is running.
- LoganDark 3y ago> you boot into gparted live and do it. This is not the same as simply running gparted from the partition to be resized. > And btw, yes you can move partitions while linux is running. Not your root partition, unless you can manage to unmount it without having a fatal system crash.
- wubrr 3y ago> This is not the same as simply running gparted from the partition to be resized. Nobody said you have to run it from that filesystem/partition? > Not your root partition, unless you can manage to unmount it without having a fatal system crash. You can resize your root partition using fdisk/partprobe without unmounting it, then move /boot to be after root. I'm sure there are many other ways to do it as well (pivot_root, etc).
- Timshel 3y agoYou just need to run off a live distro to do it.
- LoganDark 3y agoThat's my point. You can't just download and run gparted to resize your root partition, you need to boot from somewhere else in order to do that.
- wubrr 3y agoYou can also set up gparted live to be bootable from GRUB from the same drive.
- LoganDark 3y agoThat's true, it's not uncommon for me to install Linux by flashing the installer to a small partition on the same disk as the actual install destination. Quite useful for dual/triple-boot without actually requiring any USB flash drives.
- justinclift 3y agoIs it really that hard to boot from external media on the odd occasion of doing stuff like this?
- LoganDark 3y agoNo, no it's not.