Now that you can see what partitions are active on the system, you are going to add a new partition to /dev/sdc. Sector size (logical/physical): 512B/512B Welcome to GNU Parted! Type 'help' to view a list of commands. You will then use the print command to display disk information. It will default to your first listed drive. Run the parted command to start parted in interactive mode and list partitions. Displaying existing partitions allows you to make informed decisions moving forward and helps you nail down the partition names will need for future commands. The first thing that you want to do anytime that you need to make changes to your disk is to find out what partitions you already have. For now, let's take a look at the basic operations with which you will want to be familiar. Parted comes pre-installed in this particular distro, but if you need to install it on a different Linux flavor, there is plenty of information online. I am using parted on Red Hat Enterprise Linux 8 for this example. You will also need root access to the system. I recommend that you explore the tool on a virtual machine that contains no important data. Be sure of what you are doing when making changes to partitions. Parted allows you to add, shrink, extend, and remove partitions from storage disks on your system. Let's look at some of the functionality parted offers. We are going to focus on the command line variant here. It runs at the command line, or with a graphical interface, if that's more your speed. GNU parted (PARTition EDitor) was created by Andrew Clausen and Lennert Buytenhek. Today we are going to look at the parted command suite. As it turns out, there are a ton of different tools and command suites that you can use to accomplish this. So you need to manage a storage device? Well, if you are a Linux administrator, then you are in luck.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |