Open main menu

Wiki-Orange Pi β

Changes

Orange Pi 5 Plus

1,139 bytes added, 14:30, 7 June 2023
The first start to expand rootfs
<li><p>When the OpenWRT system is started for the first time, the '''resize-rootfs.sh''' script will be executed to expand the rootfs, and it will automatically restart after the expansion is completed</p></li>
<li><p>After logging in to the system, you can use the '''df -h''' command to view the size of rootfs. If it is consistent with the actual capacity of the storage device (TF card, eMMC or NVME SSD), it means that the automatic expansion is running correctly</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>root@OpenWrt:~# df -h</p>
<pspan style="margin-right: 80px;">Filesystem </span><span style="margin-right: 50px;">Size </span><span style="margin-right: 30px;">Used </span><span style="margin-right: 30px;">Available </span><span style="margin-right: 50px;">Use% Mounted on</pspan><br><pspan style="margin-right: 80px;color:#FF0000">'''/dev/root '''</span><span style="margin-right: 50px;color:#FF0000">'''14.8G '''</span><span style="margin-right: 30px;color:#FF0000">'''14.7G '''</span><span style="margin-right: 70px;color:#FF0000">'''91.6M '''</span><span style="margin-right: 90px;color:#FF0000">'''99% /'''</pspan><br><pspan style="margin-right: 100px;">tmpfs </span><span style="margin-right: 50px;">495.5M </span><span style="margin-right: 30px;">6.1M </span><span style="margin-right: 70px;">489.4M </span><span style="margin-right: 90px;">1% /tmp</pspan><br><pspan style="margin-right: 100px;">tmpfs </span><span style="margin-right: 60px;">512.0K </span><span style="margin-right: 50px;">0 </span><span style="margin-right: 70px;">512.0K </span><span style="margin-right: 90px;">0% /dev</pspan><br><pspan style="margin-right: 80px;">/dev/root </span><span style="margin-right: 50px;">14.8G </span><span style="margin-right: 30px;">14.7G </span><span style="margin-right: 70px;">91.6M </span><span style="margin-right: 90px;">99% /opt/docker</pspan><br>|}</li></ol>
<span id="how-to-log-in-to-the-system"></span>
 
== How to log in to the system ==