intelligent-agent / Reflash

Flasher image for Refactor distro for use with Recore 3D printer board
GNU Affero General Public License v3.0
1 stars 0 forks source link

add automatic recovery of the hardware boot partition #34

Closed eliasbakken closed 4 weeks ago

eliasbakken commented 1 year ago

If the hardware boot partition becomes corrupt, the installation will fail.

eliasbakken commented 1 year ago

I'm not sure if this is a big problem, the description is a bit sparse. But with kernel 6.1, the hardware partitions will not show up after a partprobe only after a partx -a /dev/mmcblk2boot0 command.

eliasbakken commented 7 months ago

There is a problem with partprobe on kernel 5.15.137. With the latest version of Refactor (v3.2.0-RC7), u-boot will try to load the kernel from USB if the rootdev is set to /dev/sda2, so that should help with that particular problem.

There is also a script called create-recore-config available that will recreate a broken partition.