NanoPi Neo Warning: root device does not exist

koval

New Member
Joined
Aug 25, 2020
Messages
1
Reaction score
0
Credits
11
I have NanoPiNeo on SD card.

Bash:
root@NanoPi-NEO:~# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.7 LTS"

When I am trying to upgrade or install something I got this error
Bash:
root@NanoPi-NEO:~# sudo apt-get install -f

After this operation, 0 B of additional disk space will be used.
Setting up linux-image-4.4.0-176-generic (4.4.0-176.206) ...
Processing triggers for linux-image-4.4.0-176-generic (4.4.0-176.206) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.4.0-176-generic
Warning: root device  does not exist

Press Ctrl-C to abort build, or Enter to continue

Bash:
root@NanoPi-NEO:/boot# sudo dpkg --configure -a
Setting up linux-image-4.4.0-176-generic (4.4.0-176.206) ...
Processing triggers for linux-image-4.4.0-176-generic (4.4.0-176.206) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.4.0-176-generic
Warning: root device  does not exist

Press Ctrl-C to abort build, or Enter to continue

This is my disk
Bash:
root@NanoPi-NEO:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev             84M     0   84M   0% /dev
tmpfs            24M  4.0M   20M  17% /run
/dev/mmcblk0p2   14G  2.3G   12G  17% /
tmpfs           120M     0  120M   0% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           120M     0  120M   0% /sys/fs/cgroup
/dev/mmcblk0p1  983M   20M  964M   2% /boot
tmpfs            24M     0   24M   0% /run/user/1000
tmpfs            24M     0   24M   0% /run/user/0

Boot folder
Bash:
root@NanoPi-NEO:/boot# ls -la
total 20100
drwxr-xr-x  3 root root   16384 Jan  1  1970 .
drwxr-xr-x 21 root root    4096 Aug 25 14:03 ..
-rwxr-xr-x  1 root root     896 Apr 10  2018 boot.cmd
-rwxr-xr-x  1 root root     968 Apr 10  2018 boot.scr
-rwxr-xr-x  1 root root  198476 Feb 28 08:03 config-4.4.0-176-generic
-rwxr-xr-x  1 root root       0 Aug 25 14:04 initrd.img-4.4.0-176-generic.new
-r-xr-xr-x  1 root root   32768 May 11  2018 ldlinux.sys
-rwxr-xr-x  1 root root   60928 May 11  2018 menu.c32
-rwxr-xr-x  1 root root 2845838 Apr 10  2018 rootfs.cpio.gz
-rwxr-xr-x  1 root root   32209 Apr 10  2018 sun8i-h2-plus-nanopi-duo.dtb
-rwxr-xr-x  1 root root   31749 Apr 10  2018 sun8i-h3-nanopi-k1.dtb
-rwxr-xr-x  1 root root   32602 Apr 10  2018 sun8i-h3-nanopi-m1.dtb
-rwxr-xr-x  1 root root   34422 Apr 10  2018 sun8i-h3-nanopi-m1-plus.dtb
-rwxr-xr-x  1 root root   33667 Apr 10  2018 sun8i-h3-nanopi-neo-air.dtb
-rwxr-xr-x  1 root root   31166 Apr 10  2018 sun8i-h3-nanopi-neo-core.dtb
-rwxr-xr-x  1 root root   31035 Apr 10  2018 sun8i-h3-nanopi-neo.dtb
-rwxr-xr-x  1 root root     155 May 11  2018 syslinux.cfg
-rwxr-xr-x  1 root root 3555932 Feb 28 08:03 System.map-4.4.0-176-generic
drwxr-xr-x  2 root root   16384 Aug 25  2020 System Volume Information
-rwxr-xr-x  1 root root   25244 May 11  2018 ubnkern
-rwxr-xr-x  1 root root 7323144 Feb 28 08:03 vmlinuz-4.4.0-176-generic
-rwxr-xr-x  1 root root 6129336 Apr  8  2018 zImage

Kernel
Bash:
root@NanoPi-NEO:/boot# uname -r
4.16.0-rc6

Bash:
root@NanoPi-NEO:/boot# cat /proc/cmdline
console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait fsck.repair=yes panic=10 fbcon=map:0



Any ideas how to fix this issue ?
 


Top