4

When installing CentOS 6.x, how to specify the filesystem type with ext4 and also use the autopart directive in kickstart file?

The default filesystem type with autopart directive used is ext3, which can not manage a very large disk space.

MadHatter
  • 79,770
  • 20
  • 184
  • 232
boydc2011
  • 141
  • 2

1 Answers1

2

The filesystem type isn't an option for autopart, unfortunately. The only options autopart supports is regarding encryption. It looks like you'll have to switch to using part to define the partitions.

From the documentation:

Note that the autopart option cannot be used together with the part/partition, raid, logvol, or volgroup options in the same kickstart file.

You might be interested in reading more about the Kickstart Options here.

Aaron Copley
  • 12,525
  • 5
  • 47
  • 68
  • I actually could not find a solution in the document then i asked a question here. Thank you all the same. – boydc2011 Dec 17 '13 at 01:18
  • Right, cause the document shows it isn't possible with existing options. The document is more for moving toward manually setting up your partitions. – Aaron Copley Dec 17 '13 at 15:26