Monday, August 29, 2016

fdisk

fdisk /dev/sda
m: print menu
n: new partition
  • p: primary
  • e: extended
  • -->1: partition number
  • -->first sector
  • -->last sector
  • ---->sizeG|K|M
  • p: verify - print partition
  • (type 83 is the default)
  • t: type
  • -->l: list available types
  • w: write - commit changes
Run partprobe -s 

partprobe forces Linux to recognize new partition without rebooting

No comments:

Post a Comment