SparkyLinux Forums

Software & hardware support => Newbie questions => Topic started by: jt1122 on April 09, 2021, 02:09:37 PM

Title: Enlarging the \boot partition
Post by: jt1122 on April 09, 2021, 02:09:37 PM
Hi,

I've installed SparkyLinux 6 (Po-Tolo) with a separate \boot partition.
I'd like to enlarge this partition (there's a 2GB free partition following \boot).

How can this be done? if I use the "disks" program I get a warning that modifying \boot can lead to an unbootable system.

Any suggestions please?.

Thanks
Title: Re: Enlarging the \boot partition
Post by: paxmark1 on April 10, 2021, 12:15:44 AM
For future reference, going with an lvm file system at install makes for much easier resizing of the partions inside logical volumes.   My best guess is that your solution will involve a live-system on usb.   

inxi -p would help.    Or inxi -bp    example.   
inxi -p
Partition: ID-1: / size: 27.37 GiB used: 8.47 GiB (31.0%) fs: ext4 dev: /dev/dm-0
           ID-2: /DATA size: 906.14 GiB used: 384.38 GiB (42.4%) fs: ext4 dev: /dev/dm-4
           ID-3: /boot size: 235.3 MiB used: 134.3 MiB (57.1%) fs: ext2 dev: /dev/sda1
           ID-4: /home size: 418.38 GiB used: 79.06 GiB (18.9%) fs: ext4 dev: /dev/dm-6
           ID-5: /home2 size: 320.76 GiB used: 3.21 GiB (1.0%) fs: ext4 dev: /dev/dm-3
           ID-6: /media/XXXXXXXX   size: 1.86 GiB used: 907.0 MiB (47.6%) fs: vfat dev: /dev/sdc1
           ID-7: swap-1 size: 11.46 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/dm-5


use the code button    Yours will look different, above is with lvm.