Advertising

Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum Linuxiarze.pl

Author Topic: Enlarging the \boot partition  (Read 44 times)

Offline jt1122

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Enlarging the \boot partition
« 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

Offline paxmark1

  • Hero Member
  • *****
  • Posts: 830
  • Karma: 4
  • https://forum.sparkylinux.org/index.php/topic,4614
Re: Enlarging the \boot partition
« Reply #1 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.   
Code: [Select]
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.   
Search forum for "More info easier via inxi"    If requested -  no inxi, no help for you by  me.