Install CentOS by Deleting Existing Partition

This section 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

 Reset Host Name on Linux Systems

 Update All Installed Packages

 SELinux - Security-Enhanced Linux

 Network Connection on CentOS

 Internet Networking Tools

 SSH Protocol and ssh/scp Commands

 Software Package Manager on CentOS - DNF and YUM

 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)

 Administrative Tasks

 References

 Full Version in PDF/EPUB