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
53 stars 11 forks source link

Finally successful... #56

Closed chrhohm closed 3 months ago

chrhohm commented 4 months ago

Hi,

in my case, the script qnap_mtd_resize.py ran successfully on a QNAP TS-419PII about two years ago. However, I hadn´t any time left for that until recently, so it´s state was quite unclear.

"cat /proc/mtd" showed the old state although the flash contents showed that the script has run successfully. Only the partition names contained some spaces that the linux cmdline parser could not handle properly, that became obvious by checking the boot log using the serial console.

After having fixed that in the u-boot environment by updating the respective variable "bootargs" using setenv and finally persisting the updated value with help of saveenv, the partitions still showed up like prior to resizing.

Finally, having found the hint about deleting /etc/modprobe.d/local.conf in issue #19 and rebooting afterwards, the resized partitions showed up! Could upgrade to bullseye without any further issues, then.

I´m very satisfied now and happy that I can still use my old "EOL" QNAP device.

And I´d like to say "Thank You!" to Arnaud and also to Martin who made this possible!

Cheers Christian