EasyManua.ls Logo

Panasonic PAN9026 - Troubleshooting; Resizing the Root Partition to Maximum Size; Fixing a Non-Booting System

Panasonic PAN9026
34 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
PAN9026 Wi-Fi/Bluetooth Module 7 Troubleshooting
Quick Start Guide Rev. 1.2 Page 31 of 34
7 Troubleshooting
7.1 Resizing the Root Partition to Maximum Size
The original SD card image is about 1.5GB in size. Even if it is written to a bigger SD card, the
system will not use the remaining space automatically.
Execute the following steps as root user to resize the filesystem to occupy all the remaining
space on the SD card.
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/mmcblk2
3. Make sure the Linux kernel gets to know the new partition size:
partprobe /dev/mmcblk2
4. Resize the existing filesystem on that partition:
resize2fs /dev/mmcblk2p1
5. Reboot the system for a clean start:
reboot
7.2 Fixing a Non-Booting System
The full setup contains a fully running Ubuntu system, which needs to be properly powered
down before the system can be shut off.
Do not simply cutting off the power supply. It can lead to a filesystem
corruption which might leave the system in an un-bootable state.
If the power supply was cutting off simply, 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).
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/mmcblk2p1
3. Reboot the system:
reboot
Now the system starts up correctly again.

Other manuals for Panasonic PAN9026

Related product manuals