mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
iiab-expand-rootfs DOC: raspi-config nonint do_expand_rootfs
This commit is contained in:
parent
667c07048b
commit
03d49be4a0
1 changed files with 3 additions and 0 deletions
|
@ -14,6 +14,9 @@ if [ -f /.expand-rootfs ] || [ -f /.resize-rootfs ]; then
|
|||
if [ -x /usr/bin/raspi-config ]; then # Raspberry Pi OS
|
||||
# 2022-02-17: Uses do_expand_rootfs() from:
|
||||
# https://github.com/RPi-Distro/raspi-config/blob/master/raspi-config
|
||||
# 2023-10-05: Official new RPi instructions:
|
||||
# sudo raspi-config nonint do_expand_rootfs
|
||||
# https://www.raspberrypi.com/documentation/computers/configuration.html#expand-filesystem-nonint
|
||||
raspi-config --expand-rootfs # REQUIRES A REBOOT
|
||||
rm -f /.expand-rootfs /.resize-rootfs
|
||||
reboot # In future, we might warn interactive users that a reboot is coming?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue