。 USB Stick Installation CentOS6.5

Source: Internet
Author: User

Recently started to self-study Linux, there are many versions of CentOS online, but the tutorials are basically about CentOS6, in the latest version is not necessarily the most appropriate version of the principle, I choose to install CentOS6.5. Installation system A little attention will be error, the previous installation of the CentOS6.5 system can only be launched with a USB stick, after the data found to install the boot program installed on the USB flash drive.

------------------------------------------------

Below is I learn from predecessors to experience, the successful installation of the system to the steps, most of the content is reproduced content, I hope when you encounter and I have the same problem, these can help you.

------------------------------------------------

(a) write the ISO file to the USB flash drive

---------------

The ISO file can be written directly to the U-disk starting from centOS6.5.

Windows platform:
1. Open ISO with UltraISO (for example: Centos-6.5-x86_64-bin-dvd1.iso)
2. Then click "Start", "Write to Hard disk image", the hard drive is your u disk, image file installation CD ISO, write by usb-hdd+, click "Write" button. After the completion of the installation of the U-disk is ready.

Linux platforms:
Use the DD command to write the ISO file to the U disk. DD If=iso file Of=u disk. (such as: DD If=/centos-6.5-x86_64-bin-dvd1.iso of=/dev/sdb1)
Note: The DD command does not show the replication status after running, to see the replication status can open a terminal, enter "while KILLALL-USR1 DD;" Do sleep 5; Done "To view the replication status.

This method is 64-bit, 32-bit-all. I have installed 64 bits.
Note: This method only starts with CentOS6.5, and the old method is used for versions 6.4 and below.

------------------------------------------------

(b) Setting up the BIOS

---------------

Press F2 to enter the BIOS as soon as the boot screen appears.

In boot, modify the hard drive to boot to the mobile device,

Press F10 to save.

------------------------------------------------

(iii) installation of CentOS6.5

---------------

1, boot settings USB first boot, restart will come out after the installation interface:
The default is to select the first item, enter.
2. The language interface used in the installation process appears:
Select Chinese (Simplified), Simplified Chinese, and then enter
3, appear the language confirmation interface directly enter
4. The following keyboard mode selection interface appears:
Select keyboard mode, default
5, located on hard drive, directory holding image this item does not fill in, the system will automatically fill in. (In fact, this is the search image directory under the install.img file) Select OK, press ENTER
6, here/DEV/SDB4 represents your u disk partition, we have already copied the system image to the root of the USB stick below, here the system will automatically recognize
7, the direct point OK, the installation interface will appear:
Click Next
8. Select the drive:
Select the first item
9. Set the computer name:
Can fill in according to their own preferences
10. Set the time zone:
By default you can
11, set the root password (note: If you use the password is too simple, the system will automatically prompt, here select "Still use"
12. Create a partition for CentOS
Select the last item, customize the partition
13, note: Here you can see the disk information, should not be sure to partition the disk partitions on their own, otherwise the other disk will be formatted.
14. Click Create, select Standard Partition, click OK
(1) Creating a swap partition
File system type: Select Swap
Allowed drives: Only check your computer disk, cancel the U disk
Size: Typically memory up to twice times
Other size options: fixed size
(2) Create boot partition
mount point:/boot
File system type: EXT4
Allowed drives: Only check your computer disk, cancel the U disk
Size: 200MB
Other size options: fixed size
(3) Creating a root partition
mount point:/
File system type: EXT4
Allowed drives: Only check your computer disk, cancel the U disk
Size: Default
Other size options: use all available space
Click Next
Select the second item to write the modification to the disk
Note: Before partitioning, you need to plan how to partition first?
Special note: For the official production of the server, remember that the data disk must be partitioned separately, to prevent system problems, to ensure that
The integrity of the data. For example, you can divide a/data to store data.
15, point to change the device (pay attention to the boot program installation, boot to the computer on the disk of the MBR, not a USB flash drive, please note)
Point BIOS Drive Sequence
First BIOS drive: select Local Disk drive
Second BIOS drive: Select USB drive
Click OK
Note: This step is critical, if installed by default, the system boot boot installation to the USB flash drive, which also
is a lot of users installed after the system, as long as the U disk unplugged, the system will not start, plug the U disk system can be normal
The reason for the start!
16, the default is the third, here to choose the first, desktop installation, want to use the development of friends can also choose the last item.
If you want to specifically install some special software users, you can note that here to add the installation.
Next, until the installation interface appears.
17, after the installation is complete, point reboot
18, restart, pull the USB stick out, the computer automatically guide to the CentOS system
19. Click Forward
20, select the first item, agree to the license agreement, advance
21, this is to create a regular account, you can not create, forward
22, set the time, the default
23. Complete
, enter the login screen
Point "Other"
User name Input: root
Enter the password for your root account
Point "Off"

------------------------------------------------

The End.

。 USB Stick Installation CentOS6.5

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.