PAN9026 Wi-Fi/BT Module7 TroubleshootingQuick Start Guide Rev. 1.1 Page 297 Troubleshooting7.1 Resize the Root Partition to Maximum SizeThe original SD card image is only about 1.5 GB in size. Even if it is written to a bigger SD card,the system will not use the remaining space automatically.The following steps have to be executed as the root user in order to resize the filesystem tooccupy all the remaining space on the SD card as well.1. Open a Terminal Window and become the root user:sudo su -2. Modify the existing partition table to occupy all the remaining space on the SD card:echo ", +" | sfdisk --no-reread -N 1 /dev/mmcblk23. Make sure the Linux kernel gets to know the new partition size:partprobe /dev/mmcblk24. Resize the existing filesystem on that partition:resize2fs /dev/mmcblk2p15. Reboot the system for a clean start:reboot7.2 Fix a Non-Booting SystemThe full setup contains a fully running Ubuntu system, which needs to be properly powereddown before the system can be shut off.Simply cutting off the power supply can lead to a filesystem corruption which might leave thesystem in an un-bootable state.If this happens the following message will be shown on the serial console while booting:Welcome to emergency mode!Press Enter for maintenance(or press Control-D to continue).If this happens the following steps have to be executed to correct the problem.1. Remount the root filesystem:mount -r -o remount /2. Execute a file system check on the partition containing the root filesystem:fsck.ext4 /dev/mmcblk2p13. Reboot the system:reboot Now the system should start up correctly again.7.3 Update the SystemThe system is a regular Ubuntu Linux system, which means that system-level tools like apt-get are available to update the system or install additional packages.