Ted Curvin https://discussion.fedoraproject.org/u/ont-user42 ont-user42
May 14
Hello
Need help expanding the size of /boot partition.
Here is current setup:
Filesystem Size Used Avail Use% Mounted on
devtmpfs 3.8G 0 3.8G 0% /dev
tmpfs 3.8G 4.0K 3.8G 1% /dev/shm
tmpfs 3.8G 114M 3.7G 3% /run
tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup
/dev/sda2 40G 1.3G 39G 4% /
/dev/sda3 16G 7.7G 8.4G 49% /usr
/dev/sda7 2.0G 33M 2.0G 2% /tmp
/dev/sda8 1.8T 29G 1.8T 2% /home
/dev/sda5 16G 6.9G 9.1G 44% /var
/dev/sda1 253M 118M 135M 47% /boot
I don’t have physical access to the machine so I would like to do it live.
It probably is not possible without a reinstall. The /boot partition must be contiguous and / is next as /dev/sda2. Shrinking a partition is usually done at the tail end because the bits at the ‘top’ of the partition are generally in use. You will need some sort of physical access for at least being able to boot into some sort of ‘live’ partition.
[Yes it is possible to do this live via a liveusb but unless you know what you are doing and have done it multiple times, you are most likely going to end up with an unbootable system where / no longer exists, and the partition table is garbage. ]