rolly
August 6, 2019, 7:49am
1
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
jack
August 6, 2019, 9:41am
2
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
rolly
August 6, 2019, 9:59am
3
Hi jack, I was running ubuntu-server and I have mate-desktop installed. Thx
setq
August 6, 2019, 10:16am
4
Hi rolly, can you post the output of fdisk
sudo fdisk -l /dev/mmcblk0
setq
August 6, 2019, 10:18am
5
And post the content of /etc/fstab, thank you.
rolly
August 6, 2019, 10:18am
6
Hi setq, I cannot because the rockpi4b no longer boots and I have not enable the ssh server on it. Thx
setq
August 6, 2019, 10:20am
7
You said you can access it on another linux PC.
rolly
August 6, 2019, 10:20am
8
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
rolly
August 6, 2019, 10:22am
9
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 /
setq
August 6, 2019, 10:24am
10
Oh, you access emmc via reader dongle, then
sudo fdisk -l /dev/sdb
rolly
August 6, 2019, 10:24am
11
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?
setq
August 6, 2019, 10:39am
12
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.
rolly
August 6, 2019, 10:44am
13
Hi setq, thank you and so nice
So the problem is with the kernel-4.4.154-90-rockchip-ga14f6502e045 too large for the 100M /boot?
setq
August 6, 2019, 10:55am
14
rolly
August 6, 2019, 11:09am
15
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
rolly
August 6, 2019, 11:30am
17
Yes, and I am back to 4.4.154-59 but my wifi connection does no longer work?
setq
August 6, 2019, 11:35am
18
Now you can use rockpi-backup.sh to extend boot partition, just back up and restore.
rolly
August 6, 2019, 11:41am
19
Could you please update your boot image to 4.4.154-88? I think it works for my WIFI
setq
August 6, 2019, 1:16pm
20
Try updae and upgrade again.