Linux also has GUI tools like gparted..., you just need the device node of the serial gadget drive...
You might also want to read
https://www.mobileread.com/forums/sho...d.php?t=166789
But beware - we haven't found a way to restore the whole flash memory - if you damage the first sectors or the first partitions, you're lost.