PINE64

Full Version: [Warning: root device does not exist] Can not install generic kernel on ROCK 64?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I thought about upgrading the kernel, as a result of searching with apt-cache, there was a package named linux - image - 4.15.0 - 10 - generic and I tried to install it,

Warning: root device does not exist

And it was displayed. I tried restarting terribly, but running the uname -a did not bring up the kernel version.
The OS is ununtu bionic. The friend's PC had lubuntu artful and the CPU was amd64, but I feel that this message was still there even here. What should I do?

apt's log

Preparing to unpack .../linux-image-4.15.0-10-generic_4.15.0-10.11_arm64.deb ...
Examining /etc/kernel/preinst.d/
Done.
Unpacking linux-image-4.15.0-10-generic (4.15.0-10.11) ...
Setting up linux-image-4.15.0-10-generic (4.15.0-10.11) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.15.0-10-generic /boot/vmlinuz-4.15.0-10-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.15.0-10-generic /boot/vmlinuz-4.15.0-10-generic
update-initramfs: Generating /boot/initrd.img-4.15.0-10-generic
Warning: root device  does not exist
Using DTB: rockchip/rk3328-rock64.dtb
Couldn't find DTB rk3328-rock64.dtb in /usr/lib/linux-image-4.15.0-10-generic or /etc/flash-kernel/dtbs
Installing  into /boot/dtbs/4.15.0-10-generic/rockchip/rk3328-rock64.dtb
cp: cannot stat '': No such file or directory
run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-4.15.0-10-generic.postinst line 1052.
[1mdpkg:[0m error processing package linux-image-4.15.0-10-generic (--configure):
 installed linux-image-4.15.0-10-generic package post-installation script subprocess returned error exit status 2
Errors were encountered while processing:
 linux-image-4.15.0-10-generic

Original text

カーネルをアップグレードしようと思いapt-cacheで検索した結果、linux-image-4.15.0-10-genericというパッケージがあったのでインストールしようと思ったのですが、

Warning: root device does not exist

と表示されてしまいました。恐る恐る再起動してみましたが、uname -aを実行してもカーネルのバージョンは上がっていませんでした。

OSはununtu bionicです。友人のPCにはlubuntu artful が入っていて、CPUはamd64でしたが、こちらでもこのメッセージが出ていたことがあった気がします。どうすればよいのですか?

aptのログ

Preparing to unpack .../linux-image-4.15.0-10-generic_4.15.0-10.11_arm64.deb ...
Examining /etc/kernel/preinst.d/
Done.
Unpacking linux-image-4.15.0-10-generic (4.15.0-10.11) ...
Setting up linux-image-4.15.0-10-generic (4.15.0-10.11) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.15.0-10-generic /boot/vmlinuz-4.15.0-10-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.15.0-10-generic /boot/vmlinuz-4.15.0-10-generic
update-initramfs: Generating /boot/initrd.img-4.15.0-10-generic
Warning: root device  does not exist
Using DTB: rockchip/rk3328-rock64.dtb
Couldn't find DTB rk3328-rock64.dtb in /usr/lib/linux-image-4.15.0-10-generic or /etc/flash-kernel/dtbs
Installing  into /boot/dtbs/4.15.0-10-generic/rockchip/rk3328-rock64.dtb
cp: cannot stat '': No such file or directory
run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-4.15.0-10-generic.postinst line 1052.
[1mdpkg:[0m error processing package linux-image-4.15.0-10-generic (--configure):
 installed linux-image-4.15.0-10-generic package post-installation script subprocess returned error exit status 2
Errors were encountered while processing:
 linux-image-4.15.0-10-generic