No longer boot with vmlinuz-4.4.154-90-rockchip-ga14f6502e045

Hi all,
Recently, I tried to upgrade my kernel with sudo apt-get update && sudo apt-get upgrade, then I was told that my /boot is full so I manually remove the old kernel-image kernel-header, this is now my /boot/extlinux/extlinux looks,

label kernel-4.4.154-90-rockchip-ga14f6502e045
kernel /vmlinuz-4.4.154-90-rockchip-ga14f6502e045
devicetreedir /dtbs/4.4.154-90-rockchip-ga14f6502e045
append earlyprintk console=ttyFIQ0,1500000n8 init=/sbin/init root=PARTUUID=b921b045-1d rw rootwait rootfstype=ext4

The red led and green led stays ON but not image appears on the monitor. Can anyone help me to boot again?

I have ready remove the eMMC and I can access it on another linux PC.

Thanks all

Which image did you run at the beginning?
The new image now have 500MB for boot partition, i suggest you install the new image.

https://dl.radxa.com/rockpi4/images/debian/rockpi4-debian-stretch-desktop-arm64-20190730_2022-gpt.img.gz

Hi jack, I was running ubuntu-server and I have mate-desktop installed. Thx

Hi rolly, can you post the output of fdisk

sudo fdisk -l /dev/mmcblk0

And post the content of /etc/fstab, thank you.

Hi setq, I cannot because the rockpi4b no longer boots and I have not enable the ssh server on it. Thx

You said you can access it on another linux PC.

Yes, this is the fstab and I can access the eMMC via another linux PC.

# UNCONFIGURED FSTAB FOR BASE SYSTEM
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/mmcblk1p4 /boot vfat defaults 0 2

you mean this?
rolly@ubuntu:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdb 8:16 1 57.6G 0 disk
├─sdb4 8:20 1 112M 0 part
├─sdb2 8:18 1 4M 0 part
├─sdb5 8:21 1 57.5G 0 part /media/rolly/ubt-bionic
├─sdb3 8:19 1 4M 0 part
└─sdb1 8:17 1 3.9M 0 part
sda 8:0 0 60G 0 disk
├─sda2 8:2 0 1G 0 part [SWAP]
└─sda1 8:1 0 59G 0 part /

Oh, you access emmc via reader dongle, then

sudo fdisk -l /dev/sdb

rolly@ubuntu:~$ sudo fdisk -l /dev/sdb
Disk /dev/sdb: 57.6 GiB, 61865984000 bytes, 120832000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 992DF2C2-0170-4F66-9492-FBF320673EEF

Device Start End Sectors Size Type
/dev/sdb1 64 8063 8000 3.9M Linux filesystem
/dev/sdb2 16384 24575 8192 4M Linux filesystem
/dev/sdb3 24576 32767 8192 4M Linux filesystem
/dev/sdb4 32768 262143 229376 112M EFI System
/dev/sdb5 262144 120831966 120569823 57.5G Linux filesystem

Should extlinux.conf be updated with the correct disk identifier?

I can write a script to help you expand the boot partition, but it will take a little time.

So let’s try to restore the boot partition first, I will upload a .img file later, you need dd it to /dev/sdb4.

Hi setq, thank you and so nice :slight_smile:

So the problem is with the kernel-4.4.154-90-rockchip-ga14f6502e045 too large for the 100M /boot?

https://cos.setq.me/rockpi-dl/ubuntu-boot.img

take a try

Thx! so dd if=ubuntu-boot.img of=/dev/sdb4 ? Am I correct?

rolly@ubuntu:~/Downloads$ sudo dd if=ubuntu-boot.img of=/dev/sdb4
[sudo] password for rolly:
229376+0 records in
229376+0 records out
117440512 bytes (117 MB, 112 MiB) copied, 1.14718 s, 102 MB/s

Can it boot now?

Yes, and I am back to 4.4.154-59 but my wifi connection does no longer work?

Now you can use rockpi-backup.sh to extend boot partition, just back up and restore.

Could you please update your boot image to 4.4.154-88? I think it works for my WIFI

Try updae and upgrade again.