Select font size:          

 

Partitioning problems and how to overcome it

In this article we will discuss a common problem that may occur when you try to install Linux on a hard disk that has been used otherwise before. The idea for this article came up when I tried to install Kali Linux for testing purposes, but it can happen with any distribution.

When trying to install Kali Linux with the standard graphic installation offered by the system, I got the following error message:

Failed to create a file system
The ext4 file system creation in partition #1 on SCSI1 (0,0,0) (sda) failed.

The best solution in my opinion is to simply boot a Linux live CD, like for instance Mariposa Rescue CD or SystemRescueCD which have gparted on it. Check the article about live ISO images and the article about how to use Ventoy. Obviously, Ventoy is not the only tool for that purpose, however, we recommend it if the desired iso supports it.

The solution was to start the application gparted, delete all partitions, save the empty partition table and restart the Kali Linux installation.

Partitioning using GParted

Check the article about partitioning with GParted.

Check for more Linux related articles.