Friday, May 4, 2012

Create ext4 partition


  1. Upgrade your system: yum update 
  2. Format the partition: mkfs.ext4 /dev/sdxY (replace sdxY with the device to format (e.g. sda1))
  3. Mount the partition
  4. Add an entry to /etc/fstab, using the filesystem 'type' ext4 
 df -T | awk '{print $1,$2,$NF}' | grep "^/dev"

No comments:

Post a Comment