Home > Tips 'n' Tricks, Useful Appli'ns > Changing Windows Drive Label From Linux

Changing Windows Drive Label From Linux

January 11th, 2010 Leave a comment Go to comments

Sometimes we will hate it when linux shows the drive names from windows when mounted. I hate it. And till yesterday I thought it was not possible to change the drive label from linux. then I came Across the suit called “ntfsprogs“. Using this tools we can simply change any windows Drive label.

First get the Application pack for your linux flavour. If you are using Ubuntu just type

sudo apt-get install ntfsprogs

And then the administrator password. Now after the installation unmount the windows drive of which the label you want to change.

You can do it bytyping the following in the terminal

sudo umount <mounted folder>

After this type,

sudo ntfslabel -f /dev/<drive> <newlabel>



example:sudo ntfslabel -f /dev/sda5 newlabel

Now you have changed the drive label. The option -f is used for forcing the operation. So use it with care.

Now mount it back by typing

sudo mount -a

OR

sudo mount /dev/<drive> /media/<mount DIR>

thats it.. :D

  1. No comments yet.
  1. No trackbacks yet.