I‘d like to remove /dev/sdc5 temporarily without deleting partitions on hard drive /dev/sdc under Linux operating systems?
How do I create a bootable USB pen drive to start my CentOS / Fedora Linux? How do I create a bootable USB flash pen for installation of Linux, and for creation of rescue and other special-purpose boot disks using command line options?
Q. I’ve installed a new 250GB SATA hard disk on our office CentOS Linux server. How do I format a hard disk under Linux operating system from a shell prompt?
Continue reading “Linux Hard Disk Format Command”
Q. How can I copy one hard disk to another using dd command?
A. dd command can copy disk in raw format. It will copy partition table and bootloader and all partitions within this disk. For example, you can copy /dev/sda to /dev/sdb (same size) using the following dd command. dd should complete with no errors, but output the number of records read and written.
Login as the root user (use sudo or su command)
Open terminal or shell prompt and type the following dd command:
# dd if=/dev/sda of=/dev/sdb
- if=/dev/sda : Input disk (source)
- of=/dev/sdb : Output disk (destination)