I was attempting to do a sysupgrade, and this happened:
root@OpenWrt:/tmp# gunzip openwrt-x86-64-combined-ext4.img.gz
root@OpenWrt:/tmp# sysupgrade -v /tmp/openwrt-x86-64-combined-ext4.img
Saving config files...
etc/config/dhcp
etc/config/dropbear
etc/config/firewall
etc/config/luci
etc/config/network
etc/config/rpcd
etc/config/system
etc/config/ucitrack
etc/config/uhttpd
etc/config/wireless
etc/dropbear/authorized_keys
etc/dropbear/dropbear_rsa_host_key
etc/group
etc/hosts
etc/inittab
etc/iproute2/rt_tables
etc/luci-uploads/.placeholder
etc/opkg/keys/af22f7a88858c8e9
etc/opkg/keys/f59a2e061400c644
etc/passwd
etc/profile
etc/protocols
etc/rc.local
etc/shadow
etc/shells
etc/sysctl.conf
etc/sysctl.d/local.conf
etc/sysupgrade.conf
Sending TERM to remaining processes ... logd rpcd netifd odhcpd uhttpd
ntpd dnsmasq ubusd askfirst askfirst
Sending KILL to remaining processes ... askfirst askfirst
Switching to ramdisk...
Performing system upgrade...
Reading partition table from bootdisk...
ash: partx: not found
ash: partx: not found
ash: partx: not found
ash: arithmetic syntax error
@OpenWrt:/tmp#
I was eventually able to get sysupgrade to work by specifying the "-p"
option, but I'm curious why the default didn't work. Is this because my
boot device is an SD card? Is it a known caveat that "-p" must always
be used when the boot device is an SD card?
Thanks,
--Patrick
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users