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

Add support for saboteur layout QNAP #48

Open graemev opened 1 year ago

graemev commented 1 year ago

In the thread: https://forum.qnap.com/viewtopic.php?t=167230

saboteur proposed a "light touch" approach to allow a bigger kernel (I followed this approach, creating what I termed saboteur layout ) Unfortunately this limits initrd to 9Mb (which caused me an issue) AND prevents me switching to the layout I termed Mouiche layout using your script qnap_mtd_resize_for_bullseye .

I have made mods to your resize script to allow migration from the saboteur layout. I have run this on my QNAP TS412 (and have kept logs ...sadly only the dry run +_qnap_mtd_display.py seem to have been retained) dry-run.log log.post-reboot.log

(You can also see from logs I removed the eyecatcher "GPV" from messages)