Install CentOS by Deleting Existing Partition

Provides a tutorial example on how to delete existing hard disk partition to free up space to install CentOS system on Lenovo computers.

If you don't have enough free space (un-partitioned space) on the hard disk, CentOS installation program will force you to select which existing partition to delete to free up space for the new CentOS system. Here is what I did on my second Lenovo computer.

1. Boot the computer from the CentOS bootable USB drive.

2. Continue the installation process until the installation summary screen. I see that the "Installation Destination" in the system section is highlighted with a warning.

2. Click on "Installation Destination" link. I see the "Installation Destination" configuration page with two storage devices listed: the internal hard disk and the bootable USB. The hard disk is fully partitioned with only 2.55 MB free space left.

3. Select the internal hard disk as the installation destination. And check the "I would like to make additional space available" checkbox.

4. Click "Done" button. I see a warning message saying that there is not space to install CentOS. But I can use the built-in space reclaim tool to shrink or delete existing partitions.

5. Click "Reclaim Space". I see 3 partitions on my hard disk listed.

6. Select the third partition, which has junk data on it. And click "Delete" to free up enough space for the CentOS system.

7. Click "Reclaim Space" again to go back to the installation summary screen.

8. Click "Begin Installation" to finish the installation process.

Install CentOS by Deleting Hard Disk Partition
Install CentOS by Deleting Hard Disk Partition

Table of Contents

 About This Book

 Introduction to Linux Systems

 Cockpit - Web Portal for Administrator

 Process Management

 Files and Directories

 Users and Groups

 File Systems

 Block Devices and Partitions

 LVM (Logical Volume Manager)

Installing CentOS

 Create CentOS Bootable USB

 Install CentOS from Bootable USB

Install CentOS by Deleting Existing Partition

 Reset Timezone on Linux Systems

 SELinux - Security-Enhanced Linux

 Network Connection on CentOS

 Software Package Manager on CentOS - DNF and YUM

 Running Apache Web Server (httpd) on Linux Systems

 Running PHP Scripts on Linux Systems

 Running MySQL Database Server on Linux Systems

 Running Python Scripts on Linux Systems

 vsftpd - Very Secure FTP Daemon

 Postfix - Mail Transport Agent (MTA)

 Dovecot - IMAP and POP3 Server

 Email Client Tools - Mail User Agents (MUA)

 LDAP (Lightweight Directory Access Protocol)

 GCC - C/C++ Compiler

 Graphics Environments on Linux

 Conda - Environment and Package Manager

 Tools and Utilities

 Administrative Tasks

 References

 Full Version in PDF/EPUB