How to install a second new hard drive under Linux

Source: Internet
Author: User
Tags reserved linux

Question: A new 1 TB hard drive (SATA type II, or second-generation serial port) is being purchased, ready to be hung under the red Flag Redflag Linux 6 system to store massive CCD images.

A summary of the steps

1. Connect the new hard drive

2. Configure a new hard drive in CMOS

3, check the hard drive code

4. Partition the hard disk with Fdisk

5. Format partition

6, create mount point

7. Set the/dev/fstab to mount the partition automatically when the machine is powered on

8, set the new hard disk partition read and Write permissions

Ii. details of the process

1. Connect the new hard drive

Open the chassis and discover that Lenovo (M4600, P4 3.0GHz) computer chassis does not provide additional hard drive data cables, the original hard disk is SATA I 80GB (Hitachi), the traditional power supply and new SATA disk dedicated Power interface, as well as Sata's new data cable interface ( Different from the previous and the same port hard drive very wide line). SATA hard drives are all made of a uniform, hard-plastic leather-coated narrow red power supply and data cable (hard to handle). To find an Open data cable, SATA II new hard drive only the modern power cord interface, no longer like the original machine in the traditional power interface, because there is no separate power cord, Exchange: Unplug the SATA dedicated power cord to the new hard drive, Pull one of the old hard drives out of an alternate heap of traditional power cords. A SATA 2 connector is reserved on the computer motherboard, where the second SATA hard drive is attached, so it is convenient to complete the hard connection.

2. Configure a new hard drive in CMOS

Start the computer and go into the CMOS to let the machine find the new hard drive.

IDE Channel 0master:none (no disk)

IDE Channel 0slave:none (no disk)

IDE Channel 1Master: DVD-ROM

IDE Channel 1slave:none (no disk)

IDE Channel 2master:hds728080pla380 (original 80GBSATA I hard drive)

IDE Channel 3master:none (no disk)

In the channels of none, let the computer automatically look for a hard drive. Finally found:

IDE Channel 3master:st31000528as (new 1000GB SATA type II hard drive)

3, check the hard drive code

$ df

Found:

Wrote

/dev/sda1/c_disk 15GB 7 (Reserved for Windows XP, my PC is Adual-system)

/DEV/SDA2/15GB (Linux)

/dev/sda3 LINUXLVM 8e (Linux)

/DEV/SDA4 Extended

/dev/sda5 (Linux Swap, 512MB, twice of the Momoey)

/dev/sda6/data (Linux, mounted on/data, 45.5GB)

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.