RedHat 7/8 – How to delete partitions with parted command

You can delete both MBR and GPT partitions with parted command

i) Login as root user, execute the parted command with the disk devices that you want to delete in command prompt

ii) identify the partition number that you want to delete

iii) Delete the partition by enter rm command with partition number

Take note that rm command will immediately delete the partition from the partition table.

iv) Exit parted

RedHat 7/8 – Sync NTP

It is important to maintain correct system time. The Network Time Protocol (NTP) is the standard way for machines to provide and obtain correct time information on the internet. A machine can get the accurate time info from public NTP services on the internet or local NTP services.

To show overview of the current time related settings including current time, time zone and NTP Sync setting, timedatectl command can help to generate the info

Continue reading