lncm / noma

Noma - Bitcoin lightning node management CLI utility & Python API
https://lncm.io
Apache License 2.0
5 stars 2 forks source link

USB Stick formatting doesn't work #3

Closed noaho closed 5 years ago

noaho commented 5 years ago

After leaving a text file "DESTROY_ALL_DATA_ON_THIS_DEVICE.txt" on each USB stick, it didn't format them or use them, and instead wrote to the SD card.

Also related: https://github.com/lncm/pi-factory/issues/134

AnotherDroog commented 5 years ago

Possibly related to disk labels bug #174

nolim1t commented 5 years ago

it formats if the disk is ext4, however this does affect devices which aren't ext4

AnotherDroog commented 5 years ago

I've got three new sticks that I can test with.

@NoahO if possible, please describe the sticks in more detail, ideally post the partition layout, e.g. from parted

AnotherDroog commented 5 years ago

Found the culprit:

UUIDs change after formatting and the installation script did not account for that!

AnotherDroog commented 5 years ago

I believe this is fixed now, please re-open otherwise