How to add a hard disk in Linux

Source: Internet
Author: User
In Linux, how does one add file & amp; ndash; sdevhda1 to view partition file format 2 fdisk & amp; ndash; l view the hard disk partition status 3fdiskdev device name partition device 4 format partition formatted into ext2 partition how to add hard disk 1 in Linux. file-s/dev/hda1 view partition file format 2. fdisk-l view the hard disk partition 3. fdisk/dev/device name partition device 4. format partition to ext2 partition Mke2fs/dev/hda1 format to ext2 format Tune2fs-j/dev/hda1 convert ext2 format to ext3 format to ext3 partition Mkfs-t ext3/dev format /hda1 Mkfs. ext3/dev/hda1 5. mount partition Mount/dev/hda1/home after restart, you need to reload and restart without losing the Mount information: modify/etc/fsta Add mounting information to file B.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.