answersLogoWhite

0


Best Answer

mkfs -t ext4 /dev/

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What Linux command do you use to format a partition on a hard drive with the ext4 filesystem?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What command do you use to create Linux file systems?

The command is mkfs. Though usually most people will use: mkfs.<filesystem type> /dev/sdXY Where X is the drive and Y is the partition. For example: mkfs.ext4 /dev/sda3 means "Create an ext4 filesystem on the third partition of the first drive."


What is the current file format of Ubuntu Linux?

Ubuntu uses many file formats, many of which are shared with Windows and Macintosh. The partition format the Ubuntu generally uses is an ext4 filesystem.


Which command lines can be used in a linux machine to format a partition?

as root: df -h to see the disks and partitions mkfs.ext3 /dev/sdb1 Where sdb1 is the disk and partition you want to format. This will format sdb1 partition to ext3.


How do you check filesystem types in Linux?

Assuming you have the filesystem mounted, the "mount" command can tell you every mounted filesystem and its type.


Which Linux command can be used to repair improperly shutdown or otherwise potentially corrupt partitions?

The fsck command can be used to repair improperly shut down or potentially corrupt partitions on Linux systems. It checks the file system integrity and attempts to repair any inconsistencies it finds.


How do you format a drive with Linux?

To format a partition that is not in use get a program called Gparted. If you need to format the whole drive you need to boot from a Linux CD.


What is the mount command in Linux?

The mount command instructs the kernel to access the file system on a partition or device.


When should you specify an ex2 filesystem instead of ext3 when installing Linux?

Only when sharing the filesystem with another Linux system that uses an older filesystem such as ext2.


What is the Linux Filesystem hierarchy used for?

The Linux Filesystem Hierarchy is used to help determine the file structure in the Linux Operating System. It defines the Directory structure and directory contents.


Which sign represents the root partition in Linux?

the sign for root partition in linux is : /


How do you Locate the Linux root partition?

The root directory is indicated by a "/'. You can navigate to the root directory using the command 'cd /'.


What is the ID of a Linux extended partition?

82 => Linux swap / Solaris 83 => Linux ext2 & ext3 85 => Linux Extended partition