How to set disk partition UUID in Linux
If you prefer to mount your disk partition using
UUID (or for any other reason), you can set the
UUID by using the
You can use any unique string as the argument for the
-U parameter, or you can use
`uuid`, given that you have
uuid package installed.
[email protected]:~$ sudo tune2fs /dev/hdb1 -U `uuid`
You’ll need to have
root permission for this to work.