Page 1 of 1

Safely resize /boot partition?

Posted: Tue Jun 22, 2021 8:10 am
by frenchiveruti
Hello, I don't know why but the MXLinux installer made the tiniest /boot partition ever seen and now I'm having issues with system updates where I run out of /boot partition space.
I currently have 300Mb /boot partition.
System is SSD and it's under GPT.
Partition Layout:
  1. /dev/sda1 -> /boot -> 300MB (296MB used)
  2. /dev/sda2 -> / -> 30GB (12.5GB used)
  3. /dev/sda3 -> /home -> 416GB (11GB used)
Now, I want to achieve something like:
  1. /dev/sda1 -> /boot -> 3GB
  2. /dev/sda2 -> / -> 30GB
  3. /dev/sda3 -> /home -> 413GB


Is there a way to do so without loosing data?
Thanks

Re: Safely resize /boot partition?  [Solved]

Posted: Tue Jun 22, 2021 9:46 am
by fehlix
frenchiveruti wrote: Tue Jun 22, 2021 8:10 am Hello, I don't know why but the MXLinux installer made the tiniest /boot partition ever seen and now I'm having issues with system updates where I run out of /boot partition space.
I currently have 300Mb /boot partition.
System is SSD and it's under GPT.
Partition Layout:
  1. /dev/sda1 -> /boot -> 300MB (296MB used)
  2. /dev/sda2 -> / -> 30GB (12.5GB used)
  3. /dev/sda3 -> /home -> 416GB (11GB used)
Now, I want to achieve something like:
  1. /dev/sda1 -> /boot -> 3GB
  2. /dev/sda2 -> / -> 30GB
  3. /dev/sda3 -> /home -> 413GB



Is there a way to do so without loosing data?
Thanks
Yes,
-> backup
-> Gparted -> shrink + move + resize
The installer allows you to choose / setup your own size defaults using partition manager in case you are not happy with the used default size. For moste people 300MB is probably big enough, as kernels are rarely updated.

Re: Safely resize /boot partition?

Posted: Tue Jun 22, 2021 12:29 pm
by frenchiveruti
I never really touched anything besides the automatic updates, and the /boot partition got filled.
Just in case you consider increasing the size in this next MXLinux version.
Anyways, thanks for the advice, I'll try to make it happen, wish me luck :fingerscrossed:

Re: Safely resize /boot partition?

Posted: Tue Jun 22, 2021 12:52 pm
by frenchiveruti
Success.