["SOLVED"]: Linux Kernel 6.4.11 On Zyxel NSA 326 cannot boot September 23, 2023 02:40PM |
Registered: 6 years ago Posts: 56 |
Check versions here https://forum.doozan.com/read.php?2,32146 1. Find & replace /2023-09-23/ with the date today 2. Find & replace -6.4.11- with the new version (but first note the version here) 3. Find & replace -6.3.5- with the installed version (see note from step 2 above) 4. Find & replace 3OMPrPr with correct download link from forum.doozan.com 5. Save this file as "Upgrade rootfs and uImage ver [new ver].txt" 6. Run the commands below 7. If it works, edit "/root/run-apt-get-update.sh" with right version su - cd /boot mkdir ./backup/2023-09-23/ cp -a uImage uInitrd ./backup/2023-09-23/ cp -a initrd.img-6.3.5-mvebu-tld-1 backup/2023-09-23/ cp -a System.map-6.3.5-mvebu-tld-1 backup/2023-09-23/ cp -a vmlinuz-6.3.5-mvebu-tld-1 backup/2023-09-23/ cp -a config-6.3.5-mvebu-tld-1 backup/2023-09-23/ cp -ra dts/ backup/2023-09-23/dts wget https://bit.ly/3OMPrPr mv 3OMPrPr linux-6.4.11-mvebu-tld-1-bodhi.tar.bz2 tar -vxjf linux-6.4.11-mvebu-tld-1-bodhi.tar.bz2 tar -xf linux-dtb-6.4.11-mvebu-tld-1.tar apt-get remove flash-kernel dpkg -i linux-image-6.4.11-mvebu-tld-1_1_armhf.deb cp -a zImage-6.4.11-mvebu-tld-1 zImage.fdt cat dts/armada-380-zyxel-nas326.dtb >> zImage.fdt mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-6.4.11-mvebu-tld-1 -d zImage.fdt uImage mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-6.4.11-mvebu-tld-1 -d initrd.img-6.4.11-mvebu-tld-1 uInitrd sync sync mount /dev/sdc1 /mnt/bootusb/ mkdir /mnt/bootusb/boot/backup/2023-09-23/ cp -a /mnt/bootusb/boot/uI* /mnt/bootusb/boot/backup/2023-09-23/ cp -a uImage uInitrd /mnt/bootusb/boot/ sync sync umount /mnt/bootusb sync shutdown -r now su - cd /boot rm config-6.3.5-mvebu-tld-1 rm initrd.img-6.3.5-mvebu-tld-1 rm linux-6.3.5-mvebu-tld-1-bodhi.tar.bz2 rm linux-6.3.5-mvebu-tld-1.patch rm linux-dtb-6.3.5-mvebu-tld-1.tar rm linux-headers-6.3.5-mvebu-tld-1_1.0_armhf.deb rm linux-image-6.3.5-mvebu-tld-1_1.0_armhf.deb rm System.map-6.3.5-mvebu-tld-1 rm vmlinuz-6.3.5-mvebu-tld-1 rm zImage-6.3.5-mvebu-tld-1
su - cd /boot 485 cp -a zImage-6.3.5-mvebu-tld-1 zImage.fdt 486 cat dts/armada-380-zyxel-nas326.dtb >> zImage.fdt 487 mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-6.3.5-mvebu-tld-1 -d zImage.fdt uImage 488 mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-6.3.5-mvebu-tld-1 -d initrd.img-6.3.5-mvebu-tld-1 uInitrd 489 sync 490 sync 491 mount /dev/sdc1 /mnt/bootusb/ 492 cp -a uImage uInitrd /mnt/bootusb/boot/ 493 sync 494 sync 495 umount /mnt/bootusb 496 sync
Re: Linux Kernel 6.4.11 On Zyxel NSA 326 cannot boot September 23, 2023 02:42PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: Linux Kernel 6.4.11 On Zyxel NSA 326 cannot boot September 23, 2023 02:46PM |
Registered: 6 years ago Posts: 56 |
Re: Linux Kernel 6.4.11 On Zyxel NSA 326 cannot boot September 24, 2023 01:10PM |
Registered: 6 years ago Posts: 56 |