0

enter image description here

I want to change this name to "Computer" which was earlier. It was changed by me accidentally but later on I forgot the method to change it. Any help will be appreciated.

edwinksl
  • 24,109

1 Answers1

0

You should find out what's the drive name, and you can do that runnig fdisk -l.

Assuming that the highlighted item is names /dev/sda1, to change the labels use one of these commands:

sudo e2label /dev/sda1 Computer

or

sudo sudo tune2fs -L Computer /dev/sda1
David
  • 784