[OpenWrt-Devel] [PATCH] fstools: block: make extroot mount preparation more robust
val.kulkov at gmail.com
Tue May 14 14:03:11 PDT 2019
The patch was proposed last month by Kenneth Miller . It enables
extroot on x86_64-based devices. I confirm that the patch does what it
claims. The issue with extroot on x86_64 devices is described in
Any possibility to see this patch in the trunk any time soon?
With this patch, one can use extroot to claim the remaining space on
/dev/sda and store data on it. Sysupgrade of a x86_64 system remains a
tricky business however. For sysupgrade, I am currently using dd to
copy OpenWrt boot partition and squashfs partitions onto the target
drive and then using dd to copy the MBR bootstrap only, without the
partition table: "dd if=/dev/sdc of=/dev/sda bs=446 count=1". This
procedure retains the partition layout on the target drive.
More information about the openwrt-devel