0

how to change xfs disklabel to msdos from commandline in linux

I need to change the disk label type for my newly added hardisk. i have xfs type but need to change to msdos type. How to do so...???

Linux XFS Add a comment
caden
asked May 05 2017

Answer

0

what is the use of changing label type? Its like downgrading the disk label. But there is an option to convert called parted tool. Its command-line tool to do so.

  # parted /dev/sda
  # mklabel msdos
  # quit

NOTE: Doing this will loss the data, so with proper backup you can convert.

Add a comment
jagannatharumugam
asked May 05 2017
edited Oct 05 2018
Post your Answer