[LEDE-DEV] x86 sysupgrade: preserve partition table
Philip Prindeville
philipp_subx at redfish-solutions.com
Thu Sep 14 10:11:07 PDT 2017
That’s what the -p flag to sysupgrade is for.
Also, there’s not much point in resizing the rootdisk partition: even applying several upgrades and maybe adding some new packages, the amount of used space isn’t going to grow significantly.
You’re better off creating a 3rd EXT4 partition as /var or something like that. Logs and collectd information are what grow the most.
> On Sep 14, 2017, at 4:21 AM, Nishant Sharma <codemarauder at gmail.com> wrote:
>
> Hi,
>
> I am using Lede 17.01.2 on PCEngines APU2. In order to utilise full 16GB SSD, I resize the partition after "dd"-ing the Lede image to it.
>
> On sysupgrade, the partition table is re-written and "/" partition is back to 256 MB.
>
> Is there a way the existing partition table or at least "/" partition size could be preserved?
>
> Thanks in advance.
>
> Regards,
> Nishant
More information about the Lede-dev
mailing list