Created
September 30, 2017 01:53
-
-
Save xiaoysh8/f232d5415381485721e5b4f1796ddb42 to your computer and use it in GitHub Desktop.
format and mount hd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ##format and mount HD | |
| ###check if there are HD | |
| fdisk -l | |
| ###partition | |
| fdisk /dev/vdb | |
| ###format | |
| mkfs.ext3 /dev/vdb1 | |
| ###mount | |
| mount /dev/vdb1 /mounted directory | |
| ###boot auto mount | |
| echo '/dev/vdb1 /mounted directory ext3 defaults 0 0' >> /etc/fstab |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment