Ubuntu Mount HDD Partition

Source: Internet
Author: User

1. First check the current hard disk partition status, command sudo fdisk-l

Roughly as follows:
Device start start end sector Size Id type
/DEV/SDA1 2048 206847 204800 100M 7 Hpfs/ntfs/exfat
/DEV/SDA2 * 206848 163842047 163635200 78G 7 Hpfs/ntfs/exfat
/dev/sda3 163842048 245633023 81790976 39G 7 Hpfs/ntfs/exfat
/DEV/SDA4 245635070 976771071 731136002 348.6G F W95 Extension (LBA)
/dev/sda5 245635072 481144831 235509760 112.3G 7 Hpfs/ntfs/exfat
/dev/sda6 481157120 731011071 249853952 119.1G 7 Hpfs/ntfs/exfat
/dev/sda7 731013120 842139647 111126528 53G 7 Hpfs/ntfs/exfat
/dev/sda8 842141696 844154879 2013184 983M. Linux Switching/Solaris
/DEV/SDA9 844156928 898648063 54491136 26G Linux
/DEV/SDA10 898650112 976771071 78120960 37.3G Linux

Then you will mount the partition in/media/username/to create the Mount name mkdir a

And then the final execution

mount/dev/sda*/media/username/a

Ok. We're done here.

You can ls/media/username/a view the contents of the directory!

Ubuntu Mount HDD Partition

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.