Jump to content

How can I upgrade image on hdd rootfs


vabvab

Recommended Posts

Hi

Some time ago i moved rootfs on hdd. After that version of initrd has changed from 5.10.60-sunxi to 5.15.25-sunxi. But apt changes all files only in /boot on hdd (not on memory card). So now i have conflict:

root@ct:/root# uname -a
Linux ct.quest4sanity.ru 5.10.60-sunxi #21.08.2 SMP Tue Sep 14 16:28:44 UTC 2021 armv7l armv7l armv7l GNU/Linux

 

root@ct:/root# ls /lib/modules
5.15.25-sunxi

 

root@ct:/mnt/sdcard/boot# ls -l
total 34988
-rw-r--r-- 1 root root      203 Mar 14 22:03 armbianEnv.txt
-rw-r--r-- 1 root root      203 Jan  3 13:48 armbianEnv.txt.8gb_sdcard
-rw-r--r-- 1 root root     1536 Aug 26  2021 armbian_first_run.txt.template
-rw-r--r-- 1 root root   230454 Aug 26  2021 boot.bmp
-rw-r--r-- 1 root root     3892 Aug 26  2021 boot.cmd
-rw-rw-r-- 1 root root     3964 Mar 14 22:22 boot.scr
-rw-r--r-- 1 root root   192403 Sep 14 19:28 config-5.10.60-sunxi
lrwxrwxrwx 1 root root       17 Jan  2 12:51 dtb -> dtb-5.10.60-sunxi
drwxr-xr-x 3 root root    12288 Jan  2 12:49 dtb-5.10.60-sunxi
-rw-r--r-- 1 root root 11585272 Jan  2 14:34 initrd.img-5.10.60-sunxi
drwxrwxr-x 2 root root     4096 Aug 26  2021 overlay-user
-rwxr--r-- 1 root root       99 Mar 14 22:19 rebuild_script_on_sd.sh
-rwxr--r-- 1 root root       77 Jan  3 13:45 rebuild_script.sh
-rw-r--r-- 1 root root  4182558 Sep 14 19:28 System.map-5.10.60-sunxi
lrwxrwxrwx 1 root root       21 Jan  2 14:34 uInitrd -> uInitrd-5.10.60-sunxi
-rw-r--r-- 1 root root 11585336 Jan  2 14:34 uInitrd-5.10.60-sunxi
-rwxr-xr-x 1 root root  7995288 Sep 14 19:28 vmlinuz-5.10.60-sunxi
lrwxrwxrwx 1 root root       21 Jan  2 12:51 zImage -> vmlinuz-5.10.60-sunxi
root@ct:/mnt/sdcard/boot#
root@ct:/boot# ls -l
total 34548
-rw-r--r-- 1 root root      203 Mar 14 22:09 armbianEnv.txt
-rw-r--r-- 1 root root      203 Jan  3 13:48 armbianEnv.txt.8gb_sdcard
-rw-r--r-- 1 root root        0 Mar 14 22:16 armbianEnv.txt.out
-rw-r--r-- 1 root root     1536 Aug 26  2021 armbian_first_run.txt.template
-rw-r--r-- 1 root root   230454 Aug 26  2021 boot.bmp
-rw-r--r-- 1 root root     3892 Aug 26  2021 boot.cmd
-rw-rw-r-- 1 root root     3964 Mar 14 22:17 boot.scr
-rw-r--r-- 1 root root   200479 Feb 27 12:23 config-5.15.25-sunxi
lrwxrwxrwx 1 root root       17 Mar  6 14:15 dtb -> dtb-5.15.25-sunxi
drwxr-xr-x 3 root root    12288 Mar  6 14:11 dtb-5.15.25-sunxi
-rw-r--r-- 1 root root 11087032 Mar 14 22:21 initrd.img-5.15.25-sunxi
drwxrwxr-x 2 root root     4096 Aug 26  2021 overlay-user
-rwxr--r-- 1 root root       77 Jan  3 13:45 rebuild_script.sh
-rw-r--r-- 1 root root  4351740 Feb 27 12:23 System.map-5.15.25-sunxi
lrwxrwxrwx 1 root root       21 Mar 14 22:21 uInitrd -> uInitrd-5.15.25-sunxi
-rw-r--r-- 1 root root 11087096 Mar 14 22:21 uInitrd-5.15.25-sunxi
-rwxr-xr-x 1 root root  8303240 Feb 27 12:23 vmlinuz-5.15.25-sunxi
lrwxrwxrwx 1 root root       21 Mar  6 14:13 zImage -> vmlinuz-5.15.25-sunxi
 

That produce a bunch of problems with modules. How can i correctly upgrade kernel to 5.15.25-sunxi ?

Thank you.

CubieTruck A30 Armbian

Link to comment
Share on other sites

  • Myron changed the title to How can I upgrade image on hdd rootfs
This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines