Safely resize /boot partition?  [Solved]

Message
Author
User avatar
frenchiveruti
Posts: 52
Joined: Sun May 02, 2021 8:59 pm

Safely resize /boot partition?

#1 Post 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
Argentine 🇦🇷
- Intel P6200 | 4GB RAM | 480 Crucial BX500 SSD | MXLinux 19.4

I have stupid broadcom drivers, see how to fix here: viewtopic.php?t=64470

User avatar
fehlix
Developer
Posts: 12614
Joined: Wed Apr 11, 2018 5:09 pm

Re: Safely resize /boot partition?  [Solved]

#2 Post 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.

User avatar
frenchiveruti
Posts: 52
Joined: Sun May 02, 2021 8:59 pm

Re: Safely resize /boot partition?

#3 Post 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:
Argentine 🇦🇷
- Intel P6200 | 4GB RAM | 480 Crucial BX500 SSD | MXLinux 19.4

I have stupid broadcom drivers, see how to fix here: viewtopic.php?t=64470

User avatar
frenchiveruti
Posts: 52
Joined: Sun May 02, 2021 8:59 pm

Re: Safely resize /boot partition?

#4 Post by frenchiveruti »

Success.
Argentine 🇦🇷
- Intel P6200 | 4GB RAM | 480 Crucial BX500 SSD | MXLinux 19.4

I have stupid broadcom drivers, see how to fix here: viewtopic.php?t=64470

Post Reply

Return to “Hardware /Configuration”