Add hard disks to the FedoraLinux8 System in VMware

Source: Internet
Author: User
Article Title: Add hard disks to the FedoraLinux8 System in VMware. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source. 1. Add an IDE hard disk to "Settings" in the virtual machine. The space is 10.0 GB.

2. Run fdisk-l on the console. You can see Disk/dev/sdb doesn't contain a valid partion table. This indicates that Fedora has recognized the hard Disk, but there is no suitable partition table. However, there is a problem: the previously added IDE hard disk is also displayed in the BIOS as IDE0: 0. How is this sdb? It is a SCSI device.

3. Partition the hard disk:

Fdisk/dev/sdb1

M (Press ENTER) to view Command help

N (Press ENTER) to create a partition

Partion number: 1 (Press ENTER)

First cylinder 1 :( press Enter)

Last cylinder 1305: (Press ENTER) This hard disk is divided into only one partition.

W (Press ENTER) write and exit

4. mkfs. ext2/dev/sdb1 format the partition, similar to the doscommand format.

5. mkdir/mnt/sdb1

6. vi/etc/fstab

Add/dev/sdb1/mnt/sdb1 ext2 defaults 0 0

7. reboot.

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.