Troubleshooting TF Card Partitions: Third Partition Not Detected

Abstract: Resolve TF card third partition not detected by rescanning block devices with partprobe or sysfs and verifying filesystem compatibility.

Created: 2026-09-20 by
TF card third partitions often fail to appear because the kernel does not automatically rescan block devices after partition table changes, or because the filesystem type is incompatible with standard mount tools. You can resolve this by manually triggering a device scan using partprobe or writing to the rescan sysfs entry, verifying the partition with blkid, and ensuring the correct driver loads for the specific filesystem format.

Understanding Block Device Detection in Linux

When you modify partitions on a TransFlash (TF) card, also known as an SD card, the Linux kernel creates a block device node, typically named /dev/mmcblk0 for internal slots or /dev/mmcblk1 for external readers. The first partition is usually /dev/mmcblk0p1. If you create a third partition, it should theoretically become /dev/mmcblk0p3. However, the kernel may cache the old partition table state. This caching prevents the system from recognizing new partitions until a rescan event occurs. This issue is distinct from general partitioning errors. It is a hardware abstraction layer problem where the OS sees the physical device but fails to update its logical view of the storage layout. Unlike hard drives which have persistent controllers that handle metadata updates, TF cards rely on the host controller to interpret the partition table stored in the boot sector. If the partition table is valid but the kernel cache is stale, the third partition remains invisible to user-space applications. For more context on how Linux handles these low-level storage structures, you might find our guide on Partitions on a TF Card: A Guide to Linux Partitioning and Filesystems helpful. It details the fundamental differences between MBR and GPT tables and how they interact with ARM-based single-board computers like the Raspberry Pi, which are common users of TF cards.

Rescanning the Block Device

The most effective way to force the kernel to re-read the partition table is to trigger a rescan of the underlying block device. There are two primary methods for achieving this, depending on your system configuration and permissions. The first method involves using the partprobe utility. This command instructs the kernel to reload partition tables for all block devices without requiring a reboot. Run the following command in your terminal:
sudo partprobe /dev/mmcblk0
If partprobe is not available or fails to detect the change, you must write directly to the sysfs interface. This method interacts with the kernel driver directly. Identify your device name (e.g., mmcblk0) and execute:
echo 1 | sudo tee /sys/block/mmcblk0/device/rescan
After executing either command, verify that the new partition has appeared by listing the devices again:
ls -l /dev/mmcblk0*
You should now see entries for p1, p2, and p3. If the third partition still does not appear, check if the partition table type is supported. Older kernels or minimal distributions may not support GPT partition tables on removable media without explicit loading of additional modules. In such cases, converting the partition table to Master Boot Record (MBR) format using fdisk or parted may be necessary.

Verifying Filesystem Compatibility

Once the kernel detects the partition node, the next step is to ensure the filesystem within that partition is readable. A common error is assuming that a partition exists simply because the block device node is present. The partition might contain an unknown or unsupported filesystem, causing mount attempts to fail silently or with cryptic errors. Use blkid to inspect the partition attributes. This tool reads the superblock information and identifies the UUID and filesystem type. Avoid using deprecated commands like file -s, which may provide misleading results regarding the actual filesystem structure.
sudo blkid /dev/mmcblk0p3
The output should resemble:
/dev/mmcblk0p3: UUID="..." TYPE="ext4"
If the TYPE field is empty or shows unknown, the partition may be corrupted or formatted with a non-Linux filesystem. If you recently updated partition UUIDs on other drives, you might encounter similar issues with mount APIs. Refer to our article on Failed Mount API: Filesystems with Updated Partition UUIDs in Linux for troubleshooting steps related to UUID mismatches and fstab configurations. Ensure that the appropriate filesystem module is loaded. For ext4, the ext4 module should be active. You can check this with:
lsmod | grep ext4
If the module is missing, load it manually:
sudo modprobe ext4
Then attempt to mount the partition to a temporary directory:
sudo mkdir -p /mnt/test
sudo mount /dev/mmcblk0p3 /mnt/test
If the mount succeeds, the issue was purely a detection or module loading problem. If it fails, check the kernel log for specific I/O errors:
dmesg | tail -n 20
Look for messages indicating "I/O error" or "bad superblock," which suggest physical corruption or a mismatched filesystem type.

Common Pitfalls and Best Practices

When working with TF cards, always use reliable partitioning tools. fdisk and parted are standard choices, but ensure you select the correct target device. Writing to the wrong device, such as /dev/sda instead of /dev/mmcblk0, can destroy data on other drives. Always double-check device names using lsblk before making changes. Additionally, avoid unplugging the TF card while the system is actively writing to it. This can leave the partition table in an inconsistent state, leading to detection failures. If you suspect corruption, run a filesystem check using fsck on the unmounted partition. Finally, consider the limitations of the card reader itself. Some cheap USB card readers do not support large partitions or specific filesystem types. If the third partition is large (e.g., over 32GB), ensure your reader supports SDXC standards. Testing different readers can help isolate whether the issue lies with the card or the host interface.

Frequently Asked Questions

Why does lsblk show the device but not the partitions?

This indicates that the kernel has detected the physical block device but has not updated its internal partition table cache. You need to trigger a rescan using partprobe or by writing to the sysfs rescan file to make the partition nodes visible.

Can I use fdisk to fix a missing third partition?

No, fdisk modifies the partition table structure itself. If the partition table is correct but the OS doesn't see it, running fdisk will not help and may corrupt data. Use rescan commands first; only use fdisk if you need to recreate or repair the table layout.

What should I do if blkid returns no output for the partition?

If blkid returns nothing, the partition likely contains no recognized filesystem signature. This could mean the partition is raw/unformatted, or the filesystem is corrupted. You may need to format the partition with a compatible filesystem like ext4 or FAT32 using mkfs.ext4.

Does the kernel version affect TF card partition detection?

Yes, older kernels may have limited support for GPT partition tables on removable media or lack certain drivers for newer SD card controllers. Updating your kernel or loading specific modules via modprobe can resolve detection issues on legacy systems.

How do I prevent this issue when creating new partitions?

Always run sync after writing partition tables to ensure data is flushed to the card. Immediately follow up with partprobe or a manual rescan to refresh the kernel's view. Avoid removing the card until the system confirms the new nodes exist in /dev/.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More