Upgrade Debian kernel on a SD/SATA drive boot combo. - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: ROCKPRO64 (https://forum.pine64.org/forumdisplay.php?fid=98) +--- Forum: Linux on RockPro64 (https://forum.pine64.org/forumdisplay.php?fid=101) +--- Thread: Upgrade Debian kernel on a SD/SATA drive boot combo. (/showthread.php?tid=8480) |
Upgrade Debian kernel on a SD/SATA drive boot combo. - linuxha - 12-03-2019 I currently have: Linux taz 4.4.132-1075-rockchip-ayufan-ga83beded8524 #1 SMP Thu Jul 26 08:22:22 UTC 2018 aarch64 GNU/Linux Debian 9 Root is on sda2 Boot is on the sd card (/dev/mmcblk0p*) I am trying to upgrade it to a later release so I can get fan control (I have no pwm device). I've used aptitude to jump to 5.4.0-rc1-1120 but I don't seem to get it to reboot to it. I see a number of files on /boot (on the SD card) and I'm not sure if I need to change any of them (the efi is not something I've figured out yet). RE: Upgrade Debian kernel on a SD/SATA drive boot combo. - xalius - 12-03-2019 So you have a new kernel installed but it doesn't boot? Do you have any logs via serial console or on screen? RE: Upgrade Debian kernel on a SD/SATA drive boot combo. - linuxha - 12-03-2019 (12-03-2019, 05:15 PM)xalius Wrote: So you have a new kernel installed but it doesn't boot? Do you have any logs via serial console or on screen? Not yet, I need to hook up the USB dongle to it again. The syslog and the dmesg don't say anything. RE: Upgrade Debian kernel on a SD/SATA drive boot combo. - linuxha - 12-11-2019 (12-03-2019, 10:11 PM)linuxha Wrote:(12-03-2019, 05:15 PM)xalius Wrote: So you have a new kernel installed but it doesn't boot? Do you have any logs via serial console or on screen? Finally got the console setup (and boy does that prompt go by fast, need to fix that later). Here's what I'm seeing: Code: Scanning mmc 1:7... Okay I see a problem, there's no 5.5 in the list. I've update an extlinux.conf. But there are 2, one under /boot/efi/extlinux and the other under /boot/extlinux. So my guess if neither is correct and that the new funky efi stuff needs to have more done before it can see the 5.5 Kernel. Any pointer? Thanks RE: Upgrade Debian kernel on a SD/SATA drive boot combo. - dukla2000 - 12-11-2019 You need to get the new kernel back on the SDcard to boot it. Something like Code: sudo mount /dev/mmcblk0p7 /mnt/ RE: Upgrade Debian kernel on a SD/SATA drive boot combo. - linuxha - 12-11-2019 (12-11-2019, 01:23 PM)dukla2000 Wrote: You need to get the new kernel back on the SDcard to boot it. Something like What could possibly go wrong ... ;-) I'll set up a second SD and try that out. RE: Upgrade Debian kernel on a SD/SATA drive boot combo. - dukla2000 - 12-12-2019 (12-11-2019, 11:40 PM)linuxha Wrote: I'll set up a second SD and try that out. You don't need a second SDcard: if it fails then you just need another PC you can edit the /boot/extlinux/extlinux.conf file on. Either add a efaultt line or make sure the 4.4 section is the first one. e.g. with the file below I boot 4.4.197 Code: $ cat /boot/extlinux/extlinux.conf |