amouiche / qnap_mtd_resize_for_bullseye

Script for resizing MTD partitions on a QNAP device in order to be able to upgrade from buster to bullseye
GNU General Public License v2.0
51 stars 11 forks source link

Record successful test with my QNAP TS-419P #29

Closed TBBle closed 1 year ago

TBBle commented 1 year ago

It booted back up okay, but I haven't yet done the upgrade to bullseye. I also had earlier XZ-compressed by initrd from the instructions here because after the upgrade to buster, the initrd image was slightly too large.

Anyway, thank you for this tool, particularly since Buster didn't get LTS support for the QNAP Kirkwood NASes, and Stretch LTS ended two months ago.

amouiche commented 1 year ago

thank you for reporting

TBBle commented 1 year ago

Just in case anyone comes across this from web-searching or tracing the committed success note, I've successfully upgraded to Buster, and flashing the larger kernel went fine (I didn't pin the buster kernel, since I'd already applied the MTD resize).

The flash update log:

Processing triggers for initramfs-tools (0.140) ...
update-initramfs: Generating /boot/initrd.img-5.10.0-17-marvell
I: The initramfs will attempt to resume from /dev/dm-1
I: (/dev/mapper/haruka-swap)
I: Set the RESUME variable to override this.
kirkwood-qnap: machine: QNAP TS419 family
Using DTB: kirkwood-ts419-6281.dtb
Installing /usr/lib/linux-image-5.10.0-17-marvell/kirkwood-ts419-6281.dtb into /boot/dtbs/5.10.0-17-marvell/./kirkwood-ts419-6281.dtb
Taking backup of kirkwood-ts419-6281.dtb.
Installing new kirkwood-ts419-6281.dtb.
Installing /usr/lib/linux-image-5.10.0-17-marvell/kirkwood-ts419-6281.dtb into /boot/dtbs/5.10.0-17-marvell/./kirkwood-ts419-6281.dtb
Taking backup of kirkwood-ts419-6281.dtb.
Installing new kirkwood-ts419-6281.dtb.
flash-kernel: installing version 5.10.0-17-marvell
flash-kernel: appending /usr/lib/linux-image-5.10.0-17-marvell/kirkwood-ts419-6281.dtb to kernel
Generating kernel u-boot image... done.
Flashing kernel (using 2461226/3145728 bytes)... done.
Flashing initramfs (using 7008596/12582912 bytes)... done.