... | ... | @@ -138,7 +138,7 @@ If the root partition isn't using all of the eMMC storage, these steps will resi |
|
|
Command successful.
|
|
|
```
|
|
|
|
|
|
7. Finally, the file system needs to be expanded to the new size. The `e2fsck` tool must be run before `resize2fs` or else `resize2fs` will return an error "Please run 'e2fsck -f /dev/mapper/librem5_crypt' first.".
|
|
|
7. Finally, the file system needs to be expanded to the new size. The `e2fsck` tool must be run before `resize2fs` or else `resize2fs` will return an error `Please run 'e2fsck -f /dev/mapper/librem5_crypt' first.`.
|
|
|
|
|
|
```
|
|
|
$ sudo e2fsck -f /dev/mapper/librem5_crypt
|
... | ... | @@ -149,6 +149,9 @@ If the root partition isn't using all of the eMMC storage, these steps will resi |
|
|
Pass 4: Checking reference counts
|
|
|
Pass 5: Checking group summary information
|
|
|
/dev/mapper/librem5_crypt: 97714/243840 files (0.2% non-contiguous), 749235/974080 blocks
|
|
|
```
|
|
|
|
|
|
```
|
|
|
$ sudo resize2fs -p /dev/mapper/librem5_crypt
|
|
|
resize2fs 1.46.5 (30-Dec-2021)
|
|
|
Resizing the filesystem on /dev/mapper/librem5_crypt to 7509504 (4k) blocks.
|
... | ... | |