Knowledge Base
Authentication is disabled (development mode).

fdisk partition & format hard disk

Edit

ext4 fdisk hdd linux mkfs

sudo fdisk /dev/sdc
n
p
1
1

w

sudo mkfs.ext4 /dev/sdc1

ls -l /dev/disk/by-uuid

	#total 0
	#lrwxrwxrwx 1 root root 10 2016-06-09 17:26 4f7da9b6-1c5d-419e-a500-6a6f4fb7165a -> ../../sda5
	#lrwxrwxrwx 1 root root 10 2016-06-09 17:26 58c37c82-d9fc-4ccb-83ac-868181ab1721 -> ../../sdb1
	#lrwxrwxrwx 1 root root 10 2016-06-09 17:32 9a83190e-cb5a-457e-b001-4190e07ed7e0 -> ../../sdc1
	#lrwxrwxrwx 1 root root 10 2016-06-09 17:26 9b03a4f4-943b-4658-a7b9-768dae3a4aef -> ../../sda1

cat <<EOF >> /etc/fstab
UUID=9a83190e-cb5a-457e-b001-4190e07ed7e0 ...
EOF