Hello,
I have a USB stick on which I had in the past an Ubunutu installatilon.
When I run "e2label /dev/sdb" I get:
e2label /dev/sdb
e2label: Bad magic number in super-block while trying to open /dev/sdb
/dev/sdb contains a iso9660 file system labelled 'Ubuntu-Server 17.04 amd64'
Now, I did not need this installation anymore, so I created a single
Linux partition on the USB stick (/dev/sdb1)
with fdisk, and labeled it as sandiskUSB.
When I run:
e2label /dev/sdb1
I get
sandiskUSB
Is there a way to change also the lablel of /dev/sdb to be sandiskUSB ?
Tying
e2label /dev/sdb sandiskUSB
does not work, it gives:
e2label: Bad magic number in super-block while trying to open /dev/sdb
/dev/sdb contains a iso9660 file system labelled 'Ubuntu-Server 17.04 amd64'
Regards,
Kevin