How to find location of running system
#3
If you have the same OS on both and can't tell the difference just looking at that, or want a faster way to tell:

You can use the command `lsblk` to tell which device contains the partition mounted as root. It will be mmcblk1 or mmcblk2. The one you're looking for is the one having one partition with "/" in the column "mountpoint".

Then, you can use `sudo fdisk -l` to list more information about those devices. It will tell you the size of each device, which should help you tell the SD card and the eMMC apart (hopefully, they don't have the same capacity Smile ).

Alternatively, you can just use `df -h` to see both the root partition and its capacity, which should be enough to tell. But this is somewhat less reliable as virtual fs tend to mess up with the display of `df `, and it only tells the capacity of the partition, not the whole disk.
  Reply


Messages In This Thread
RE: How to find location of running system - by ojimek - 02-03-2022, 02:33 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Seeking Contributors: Apache NuttX Real-Time Operating System for PinePhone Pro lupyuen 3 2,525 08-25-2024, 04:18 PM
Last Post: Fofeu
  XFCE mobian running nicely but some oddities grump_fiddle_reinstall 0 1,048 07-01-2023, 08:18 AM
Last Post: grump_fiddle_reinstall
Smile Mobian: squeekboard .yaml location tookmeayear 5 2,607 04-16-2023, 11:45 AM
Last Post: tookmeayear
  Any Advantage to Running TLP? DerpABerp 0 1,169 05-09-2022, 08:58 AM
Last Post: DerpABerp
Question System Updates: "unexpected error" Greendrake 6 5,500 03-05-2022, 05:15 AM
Last Post: Greendrake

Forum Jump:


Users browsing this thread: 1 Guest(s)