How to create and mount a seperate ext4 partition on the SD card

  • Hello,

    I have installed Libreelec on RP3 using NOOBS. I need a seperate 2-4GB ext4 partition and I want to mount it to the OS. This is how the default partition layout looks like on the sd card after installing Libreelec through NOOBS:-

    Code
    ~ >>> lsblk                                                                                                       
    NAME               MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
    sda                  8:0    1  14.8G  0 disk  
    ├─sda1               8:1    1   2.4G  0 part  
    ├─sda2               8:2    1     1K  0 part  
    ├─sda5               8:5    1    32M  0 part  /run/media/klock/SETTINGS
    ├─sda6               8:6    1   512M  0 part  /run/media/klock/System
    └─sda7               8:7    1  11.9G  0 part  /run/media/klock/Storage

    All I would like is a maybe the sda 7 partition to shrink down to maybe like 8G and use the extra to create an ext4 filesystem and then mount it via ssh however I am not sure how I can do that so if anyone can guide me it would be very appreciated.

    Edited once, last by abdulee: Actually I just resized the partition using libgparted and it worked I thought it would have some issues due to the logical volumes (August 26, 2020 at 3:45 PM).

  • I have installed Libreelec on RP3 using NOOBS. I

    If you want/need more dedicated diskspace on your SDcard, I would first kick out NOOBS.

    LibreELEC's own system partition is 512MB, I don't know where the SETTINGS partition comes from/ Is that from NOOBS? Cause having separate partitions for settings and storage using LibreELEC is not gonna happen so easy (if at all).