From 6ad69442263d93613256d95b7a25487582c7c3f9 Mon Sep 17 00:00:00 2001 From: GNU Date: Wed, 1 Jun 2022 12:04:57 +0800 Subject: [PATCH] Updated Create DevTerm R01 OS image from scratch (markdown) --- Create-DevTerm-R01-OS-image-from-scratch.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/Create-DevTerm-R01-OS-image-from-scratch.md b/Create-DevTerm-R01-OS-image-from-scratch.md index 7bd72af..619c393 100644 --- a/Create-DevTerm-R01-OS-image-from-scratch.md +++ b/Create-DevTerm-R01-OS-image-from-scratch.md @@ -417,4 +417,22 @@ git apply wiringCP0329.patch sudo ./build #Choice: 2 -``` \ No newline at end of file +``` + +# For apt upgrade + +apt upgrade on R01 os will mess up the content of extlinux.conf +lead the boot failed + +so mount the sd card(with R01 os) on a PC (like Linux ) + +then go into the **boot partition** of the sd card + +you will see +``` +extlinux.conf +extlinux.conf.cpi.bak +``` +replace extlinux.conf with extlinux.conf.cpi.bak + +the **extlinux.conf.cpi.bak** is for this kind of situation \ No newline at end of file