. U disk CentOS6.5,. U disk centos6.5
I recently started to learn about Linux. There are many CentOS versions on the Internet, but the tutorials I have read are basically about CentOS6. Based on the principle that the latest version is not necessarily the most suitable version, I chose to install CentOS6.5. If you do not pay attention to the installation of the system, errors will occur. Previously installed CentOS6.5 systems can only be started with a USB flash drive. After checking the information, it is found that the boot program is installed on a USB flash drive.
------------------------------------------------
The following describes how to install the system successfully based on my previous experiences. Most of the content is reprinted. I hope you will be able to help you when you encounter the same problems as me.
------------------------------------------------
(1) writing an iso file to a USB flash drive
---------------
You can directly write the iso file to the USB flash disk from centos.
Windows:
1. Open iso with UltraISO (e.g., CentOS-6.5-x86_64-bin-DVD1.iso)
2. Then click "Boot"-> "Write hard disk image", hard disk drive is your U disk, Image File Installation CD iso, write mode is USB-HDD +, click "write" button. After installation, the USB flash drive is ready.
Linux platform:
Use the dd command to write the iso file to the USB flash drive. Dd if = iso file of = U disk. (Such as: dd if =/CentOS-6.5-x86_64-bin-DVD1.iso of =/dev/sdb1)
Note: after running the dd command, the replication status is not displayed. To view the replication status, open another terminal and enter "while killall-USR1 dd; do sleep 5; done" to view the replication status.
This method is 64-bit and 32-bit. I installed 64-bit.
Note: This method can be used only from CentOS6.5. The old method is used for versions 6.4 and earlier.
------------------------------------------------
(2) Set BIOS
---------------
When the boot screen appears, press F2 to enter the BIOS,
Change hard disk Boot to mobile device Boot in Boot,
Press F10.
------------------------------------------------
(3) install CentOS6.5
---------------
1. Set the first Boot Mode for the U disk. The installation page is displayed after the restart:
The first item is selected by default. Press enter.
2. The language interface used during installation is displayed:
Select Chinese (Simplified), Simplified Chinese, and press ENTER
3. Press enter directly on the language confirmation page.
4. the keyboard mode selection interface is displayed below:
Select keyboard mode, default
5. Locate on Hard drive. directory holding image is not required. The system will automatically enter this field. (In fact, this is to search for the install. imgfile under the image directory) Select OK and press ENTER
6. The/dev/sdb4 here indicates your U disk partition. We have copied the system image to the U disk root directory, and the system will automatically identify it here.
7. Click OK to display the installation interface:
Click Next
8. Select the drive:
Select the first item
9. Set the computer name:
You can enter
10. Set the time zone:
By default
11. Set the root password (Note: if your password is too simple, the system will automatically prompt you to select "still use" here"
12. Create a partition for centos
Select the last item and customize the partition.
13. Note: You can see the disk information here. Do not confirm the partition on the disk you want to partition. Otherwise, other disks will be formatted.
14. Create a vertex, select a standard partition, and click OK.
(1) create a swap Partition
File System Type: Select swap
Allowed drive: select only your computer disk and cancel the USB flash drive.
Size: generally 2 times the memory size.
Other size options: fixed size
(2) create a boot Partition
Mount point:/boot
File System Type: ext4
Allowed drive: select only your computer disk and cancel the USB flash drive.
The size is 200 MB.
Other size options: fixed size
(3) create a root Partition
Mount point :/
File System Type: ext4
Allowed drive: select only your computer disk and cancel the USB flash drive.
Size: Default
Other size options: use all available space
Click Next
Select the second option to write the modification to the disk.
Note: before partitioning, you must plan how to partition yourself?
Note: For servers used for formal production, make sure that data disks must be separately partitioned to prevent system problems.
Data Integrity. For example, you can divide another/data to store data.
15. Change the device (do not pay attention to the place where the boot program is installed, and write the MBR to the computer disk, not a USB flash disk. Do not pay attention to it)
Click BIOS drive order
First BIOS drive: Select Local disk drive
Second BIOS drive: select the U drive
Click OK
Note: This step is crucial. If you install it in the default mode, the system boot guide will be installed in the U disk.
After installing the system, many users just need to unplug the U disk, and the system cannot be started.
The reason for starting!
16. The third option is selected by default. Here, the first option is selected for desktop installation. You can select the last option if you want to use it for development.
If you want to install some special software, please note that you can add it here.
Next, wait until the installation page appears.
17. After the installation is complete, Click Reboot
18. Restart and unplug the USB flash drive. The computer automatically directs to the centos system.
19. Click forward
20. Select the first item, agree to the license agreement, and move forward
21. Create a common account.
22. Set the time. Default Value:
23. Complete
To go to the logon page.
Click "others"
Username input: root
Enter your root account password
Click "close"
------------------------------------------------
The End.