Tuesday, November 2, 2010

Ubuntu: How to change drive label via terminal

First install the following applications.

sudo apt-get ntfsprogs

Then type the following command and note the drive for change the name.

sudo fdisk -l

sudo ntfslabel /dev/sda7 [name ]

For example one drive name is soft

Before change the drive name

sudo ntfslabel /dev/sda7 software