While reformatting several portable disks with gparted, with disk 5 I made a terrible mistake: I forgot to choose the correct disk, so gparted took the first listed one, which fortunately was not my 1 TB SSD but the 512MiB partition which I believe is the boot partition ( /dev/nvme0n1p1 ). I had a totally default Ubuntu 18.04.2 OS.
I discovered my mistake directly after I applied the partitioning and ext4 formatting and after I closed gparted, when I saw the one I wanted to reformat, my WD My Book was still unaffected. So the current situation is that, since I quickly supplied power and didn't shutdown, everything on my laptop still works, but I am pretty sure once I restart I will be in trouble missing my boot partition, well having no booter anymore.
I hope that fixing in this situation is possible? I have my liveUSB which I used for the Ubuntu install. Could I directly download in my case something like boot-repair and use it to install the boot stuff again? I am not feeling very comfortable here and would highly appreciate some expert help.
Many thanks in advance, Thomas