Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
17
rated 0 times [  17] [ 0]  / answers: 1 / hits: 13206  / 3 Years ago, wed, october 20, 2021, 5:21:54

Is there a TUI for fdisk ?



Where can I get it from and how can I use it?



I would like one which is in the ubuntu repos


More From » 11.10

 Answers
2

Yes, There is such a tool



Cfdisk



It is a curses based partition editor. It is based on fdisk



It is preinstalled on ubuntu, If not just use the following command to install it



sudo apt-get install util-linux


run it using



sudo cfdisk


You will get this screen



cfdisk



Using cfdisk



The user interface



After you have started cfdisk you'll get an interface where the current partition table is listed with the names and some data about each partition, and some command buttons on the bottom of the screen. To change between partitions, use the up and down arrow keys. To change between commands, use the left and right arrow keys.



Deleting a partition
To delete an existing partition, highlight it with the up and down keys, select the Delete command with the left and right arrow keys, and press Enter.



Making a new partition



To make a new partition, select the New command with the left and right arrow keys, and press enter. You'll get the choice between a primary and a logical partition. If you want a logical partition, the program will automatically make an extended partition for you. Then you must choose the size of the partition (in MB). If you can't enter a value in MB, return to the main screen with the Esc key, and select MB with the Units command.



Set the type of a partition



To set the type of a partition, for bootable PReP, Linux swap or Linux ext2, highlight the actual partition, and select the Type command. You'll get a list over different types. Press space, and you'll get even more. Find what type you need, and enter the number at the prompt.



Make a partition bootable



To be able to boot from a primary partition, you need to make it bootable. Highlight the actual partition and select the Bootable command.



Write the result to disk and quit



When you are content with the layout of the disk, select the Write command. The partition table will be written to disk. Remember that this will destroy all data on partitions you have deleted or changed. You should therefore be very sure that you want to do this before actually press the Return key.



For more deeper information, see here: http://manpages.ubuntu.com/manpages/precise/man8/cfdisk.8.html






Taken From: http://www.absolutelinux.org/installing/cfdisk.shtml


[#40292] Friday, October 22, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
diket

Total Points: 167
Total Questions: 124
Total Answers: 109

Location: Somalia
Member since Wed, Mar 15, 2023
1 Year ago
;