Ubuntu-Hard Disk partitioning, formatting, and automatic mounting configuration

Source: Internet
Author: User
Ubuntu-Hard Disk partitioning, formatting, and automatic mounting | the hard disk space of the Harddiskaddnewpartition, format, and automountinubuntuUbuntu system is insufficient, and new hard disk resizing is required. Remember the entire process of Hard Disk partitioning, formatting, and automatic mounting configuration. Running Environment | EnviromentUbuntu10.10 I. Hard Disk Partition | Harddiskad

Ubuntu-Hard disk partitioning, formatting, and automatic mounting Configuration | Hard disk add new partition, format, auto mount in ubuntu

The hard disk space of the Ubuntu system is insufficient, and new hard disk resizing is required. Remember the entire process of Hard Disk partitioning, formatting, and automatic mounting configuration.

Running Environment | Enviroment

Ubuntu 10.10

I. Hard disk partitioning | Hard disk add new partition

1. display the hard disk and partition information. Enter the following command in the terminal window:

Sudo fdisk-lu


Displays the current hard disk and its partition. As shown in:
The system prompts: DIsk/dev/sdb doesn't contain a valid partition table.

 

2Partition the hard disk.Enter the following command in the terminal window:

Sudo fdisk/dev/sdb


As shown in:
Enter m at the end of the Command (m for help) prompt to display a help menu.


Enter n at the Command (m for help) Prompt and execute the add a new partition Command to add a new partition to the hard disk.
When Command action appears, enter e to specify partitions as extended partitions ).
When the Partition number (1-4) is displayed, input 1 to separate only one Partition.
Specify cylinder to complete the partitioning.

 

Enter p after the Command (m for help) prompt to display the partition table.
The system prompts the following:
Device Boot Start End Blocks Id System
/Dev/sdb1 1 26108 209712478 + 5 Extended

 

Enter w at the end of the Command (m for help) prompt to save the partition table.
System prompt: The partition table has been altered!

 


Input in terminal window InboundRun the following command:
Sudo fdisk-lu

As shown in:
The system has recognized the hard disk/dev/sdb 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.