You are not logged in.

#1 2017-06-17 17:43:55

abrasmelin
Member
Registered: 2016-05-04
Posts: 7

how to safely resize boot partition

Hello i am trying to install linux ck kernel. I installed the packages using repo-ck.

mkinitcpio gives me this error.

gzip: stdout: No space left on device
bsdcpio: Write error: Broken pipe

df -h
Filesystem      Size  Used Avail Use% Mounted on
dev              16G     0   16G   0% /dev
run              16G  1.2M   16G   1% /run
/dev/nvme0n1p5  123G   22G   95G  19% /                                                                                                                           
tmpfs            16G  4.9M   16G   1% /dev/shm                                                                                                                     
tmpfs            16G     0   16G   0% /sys/fs/cgroup                                                                                                               
tmpfs            16G   16K   16G   1% /tmp                                                                                                                         
/dev/nvme0n1p6  9.8G  5.9G  3.5G  63% /home                                                                                                                       
/dev/nvme0n1p2   96M   96M  3.0K 100% /boot                                                                                                                       
/dev/sda2       932G  617G  316G  67% /mnt/EEDEFFF6DEFFB4C5                                                                                                       
tmpfs           3.2G   16K  3.2G   1% /run/user/1000

so i dont know why but i dont have any free space in boot anymore and i dont remember setting its capacity this low. Anyway my question is how can i increase the size of /boot without destroying my system?

Thanks!

Last edited by abrasmelin (2017-06-17 20:08:06)

Offline

#2 2017-06-17 17:48:31

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: how to safely resize boot partition

Please edit your post and chose a title that actually relates to your problem, like "how to safely resize boot partition" as this has nothing to do with linux-ck.

mod note: not a kernel & hardware issue.  Moved to N.C.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2017-06-17 18:31:47

seth
Member
Registered: 2012-09-03
Posts: 51,017

Offline

#4 2017-06-18 15:44:24

abrasmelin
Member
Registered: 2016-05-04
Posts: 7

Re: how to safely resize boot partition

I am using Gparted live cd and i have created some unallocated space but it doesnt allow me to resize /boot partition. I cant increase it with sliders or even with entering numbers in the input field. Why?

Offline

#5 2017-06-18 15:48:23

seth
Member
Registered: 2012-09-03
Posts: 51,017

Re: how to safely resize boot partition

"No idea", but you'll have to shift all partitions (the gap needs to be adjacent to the partition to be grown)

If you want to know what's going on it'd recommend to not rely on GUI tools.
https://wiki.archlinux.org/index.php/GN … _line_mode

Offline

#6 2017-06-21 16:14:53

severach
Member
Registered: 2015-05-23
Posts: 192

Re: how to safely resize boot partition

1: /boot
2: swap
3: /
4: /home

I use this common partition layout. I had to expand boot because 100M is just under what is needed for a second kernel. I expanded to 500M which is space for 9 kernels: copy /boot to other partitions, swapoff, delete /boot and swap partitions, make new larger /boot and smaller swap, format, put everything back and fix boot. This worked on a live running system.

If you don't have space to steal in an adjacent partition you should expand to a new drive.

Offline

Board footer

Powered by FluxBB