How To Make Partition In Linux?
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. First, you will need to open a terminal window. You can do this by pressing the CTRL + ALT + T keys on your keyboard.
2. Now, you will need to check what partitions already exist on your Linux system. To do this, you can use the “fdisk” command. Type “sudo fdisk -l” into the terminal window and press enter. This will display a list of all the partitions on your Linux system.
3. Now, you will need to create a new partition. To do this, you can use the “fdisk” command again. Type “sudo fdisk /dev/sdx” into the terminal window, where “sdx” is the name of the disk that you want to partition.
4. Now, you will need to enter the “n” key to create a new partition. You can then choose the size, type, and location of the partition.
5. After you have chosen the size and location of the partition, you will need to type the “w” key to save the changes.
6. Finally, you can now format the new partition. To do this, you can use the “mkfs” command. Type “sudo mkfs -t ext4 /dev/sdx1” into the terminal window, where “sdx1” is the name of the partition that you just created.
7. You have now successfully created a new partition on your Linux system.