configure: error: *** termcap support not found (on modern systems, this typically means the ncurses development package is missing)

configure: error: *** termcap support not found (on modern systems, this typically means the ncurses development package is missing)


aptitude install ncurses-dev

copy/clone GPT partition scheme from one hard disk to another

As we know, sfdisk doesn’t support gpt partition tables, instead sfdisk we can use gdisk tool.

yum install gdisk


[root@localhost ~]# sgdisk --backup=sdc.back /dev/sdc
The operation has completed successfully.

[root@localhost ~]# sgdisk --load-backup=sdc.back /dev/sde
The operation has completed successfully.

[root@localhost ~]# sgdisk -G /dev/sde