Emmc partition table not recognized when booting from SD

Hi all,

I have ubuntu server on emmc working well.
Now I Installed ubuntu desktop to SD card and it also boots well but says that /dev/mmcblk0 is not allocated.
Here are devices that I see so far:

  • /dev/mmcblk0
  • /dev/mmcblk0boot0
  • /dev/mmcblk0boot1
  • /dev/mmcblk0rpmb
    None of them can be mounted.

So Is there any way to access FS on emmc?

What’s the kernel version? 4.9 or mainline?

Can you check /dev/rootfs ?

Yes, its 4.9
What do you mean " check /dev/rootfs"?

@x_arrange . Node name is /dev/rootfs in 4.9

There is not such device /dev/rootfs

khadas@Khadas:~$ ls /dev/root*
/dev/rootfs

Don’t you have this node?

root@Khadas:~# ls /dev/root*
/dev/rootfs
root@Khadas:~# mount /dev/rootfs /mnt/
root@Khadas:~# cd /mnt/
root@Khadas:/mnt# ls
bin   dev      etc   lib    mnt  proc  run   srv  tmp      usr  zImage
boot  dtb.img  home  media  opt  root  sbin  sys  uInitrd  var
root@Khadas:/mnt#