How To Partition a Linux System?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
1. Start by preparing the system for partitioning by booting from a live CD or USB drive, or disabling the root account and logging in as a normal user with administrative privileges. This will help to ensure that the existing partitions on the system remain untouched during the partitioning process.
2. Use a disk partitioning tool, such as fdisk or cfdisk, to create the desired partitions on the system. Note that fdisk is only suitable for creating primary partitions, while cfdisk can be used to create both primary and logical partitions. 3. Use a filesystem–creation tool, such as mkfs or mke2fs, to create filesystems on the newly–created partitions.
4. Mount the new filesystems to a temporary mount point (such as /mnt) using the mount command, and verify that they are accessible from the mounted point.
5. Finally, configure the new filesystems to mount during system startup by editing the /etc/fstab file appropriately.