How can I change the disk name in Linux Mint?

In Linux Mint, you can change the name of a disk by following these steps:

  1. Open the terminal (Ctrl+Alt+T).
  2. Please show me the disk partition table.
  3. the device /dev/sdX
  4. I only need one choice.
  5. X only requires a single translation into English.
  6. fresh identity
  7. Change the label of the filesystem on /dev/sdX to “newname” by using the command “sudo e2label”.
  8. This command is used to label a DOS file system.
  9. Change the label of the FAT filesystem on /dev/sdX to “newname” using sudo privileges.
  10. Re-run the command from step 2 to confirm that the name has been successfully changed.

Please note that changing the name of a disk or partition may affect certain system configurations and scripts, so please proceed with caution.

Leave a Reply 0

Your email address will not be published. Required fields are marked *


广告
Closing in 10 seconds
bannerAds