Rotten mud: Install centos6.5 on a USB flash drive

Source: Internet
Author: User

This article is first published in the dark world.

Follow these steps to install centos6.5 with a USB flash drive:

1. Create a USB flash drive Linux System

2. Set the server BIOS

3. Install centos. Pay attention to the installation of pilot partitions.

First, you must make the USB flash disk into a Linux boot disk. There are many software related to this on the Internet. Here I am using winsetupfromusb.

This software can either install Windows or Linux. You can also search for tutorials on the Internet for specific steps. Here I will only make a demonstration.

650) This. width = 650; "Title =" clip_image001 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image001 "src =" http://img1.51cto.com/attachment/201407/29/526870_14066013204dR7.png "width =" 454 "Height =" 621 "/>

650) This. width = 650; "Title =" clip_image002 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image002 "src =" http://img1.51cto.com/attachment/201407/29/526870_1406601321Q2JT.png "width =" 641 "Height =" 620 "/>

650) This. width = 650; "Title =" clip_image003 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image003 "src =" http://img1.51cto.com/attachment/201407/29/526870_1406601322vVrl.png "width =" 492 "Height =" 503 "/>

650) This. width = 650; "Title =" clip_image004 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image004 "src =" http://img1.51cto.com/attachment/201407/29/526870_1406601322RjbB.png "width =" 445 "Height =" 619 "/>

650) This. width = 650; "Title =" clip_image005 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image005 "src =" http://img1.51cto.com/attachment/201407/29/526870_1406601323rqgz.png "width =" 148 "Height =" 164 "/>

After the USB flash drive Linux is installed, we will set the BIOS of the server to enable the USB flash drive. This is HP, you need to install F10 to enter the bios, U disk boot as follows:

650) This. width = 650; "Title =" clip_image006 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image006 "src =" http://img1.51cto.com/attachment/201407/29/526870_1406601327ddmX.png "width =" 1107 "Height =" 615 "/>

650) This. width = 650; "Title =" clip_image007 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image007 "src =" http://img1.51cto.com/attachment/201407/29/526870_1406601331tLFW.png "width =" 1104 "Height =" 589 "/>

650) This. width = 650; "Title =" clip_image008 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image008 "src =" http://img1.51cto.com/attachment/201407/29/526870_1406601334DstA.png "width =" 1105 "Height =" 609 "/>

After the BIOS settings are complete, start the system from the USB flash drive. For example:

650) This. width = 650; "Title =" clip_image009 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image009 "src =" http://img1.51cto.com/attachment/201407/29/526870_1406601340rm87.png "width =" 1092 "Height =" 393 "/>

650) This. width = 650; "Title =" clip_image010 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image010 "src =" http://img1.51cto.com/attachment/201407/29/526870_1406601344igFS.png "width =" 978 "Height =" 585 "/>

650) This. width = 650; "Title =" clip_image011 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image011 "src =" http://img1.51cto.com/attachment/201407/29/526870_1406601347nNyV.png "width =" 1076 "Height =" 484 "/>

650) This. width = 650; "Title =" clip_image012 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image012 "src =" http://img1.51cto.com/attachment/201407/29/526870_1406601348n5SQ.png "width =" 298 "Height =" 302 "/>

650) This. width = 650; "Title =" clip_image013 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image013 "src =" http://img1.51cto.com/attachment/201407/29/526870_1406601350ILet.png "width =" 381 "Height =" 377 "/>

Note that you must select hard drive for the installation type, because the USB flash drive belongs to hard drive. For example:

650) This. width = 650; "Title =" clip_image014 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image014 "src =" http://img1.51cto.com/attachment/201407/29/526870_1406601350dvLw.png "width =" 256 "Height =" 265 "/>

In this option, select the partition where the USB flash drive is located, for example:

650) This. width = 650; "Title =" clip_image015 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image015 "src =" http://img1.51cto.com/attachment/201407/29/526870_1406601352A2Qs.png "width =" 489 "Height =" 339 "/>

Then the system can be installed normally:

650) This. width = 650; "Title =" clip_image016 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image016 "src =" http://img1.51cto.com/attachment/201407/29/526870_140660135422gx.png "width =" 676 "Height =" 361 "/>

650) This. width = 650; "Title =" clip_image017 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image017 "src =" http://img1.51cto.com/attachment/201407/29/526870_1406601356QntS.png "width =" 1105 "Height =" 510 "/> 650) This. width = 650; "Title =" clip_image018 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image018 "src =" http://img1.51cto.com/attachment/201407/29/526870_1406601358wg8S.png "width =" 750 "Height =" 277 "/>

650) This. width = 650; "Title =" clip_image019 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image019 "src =" http://img1.51cto.com/attachment/201407/29/526870_140660136108Sk.png "width =" 893 "Height =" 548 "/>

650) This. width = 650; "Title =" clip_image020 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image020 "src =" http://img1.51cto.com/attachment/201407/29/526870_14066013621pDf.png "width =" 626 "Height =" 269 "/>

650) This. width = 650; "Title =" clip_image021 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image021 "src =" http://img1.51cto.com/attachment/201407/29/526870_1406601365VJt6.png "width =" 1200 "Height =" 662 "/>

We can see that there are currently two hard disks, SDB and SDC. Not to mention, SDB is the hard disk of this server, and SDC is the USB flash disk. For example:

650) This. width = 650; "Title =" clip_image022 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image022 "src =" http://img1.51cto.com/attachment/201407/29/526870_1406601368ZK1N.png "width =" 847 "Height =" 403 "/>

Start partitioning:

650) This. width = 650; "Title =" clip_image023 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image023 "src =" http://img1.51cto.com/attachment/201407/29/526870_1406601370lgc4.png "width =" 664 "Height =" 617 "/>

650) This. width = 650; "Title =" clip_image024 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image024 "src =" http://img1.51cto.com/attachment/201407/29/526870_1406601373ZYQ1.png "width =" 931 "Height =" 458 "/>

650) This. width = 650; "Title =" clip_image025 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image025 "src =" http://img1.51cto.com/attachment/201407/29/526870_1406601374kern.png "width =" 663 "Height =" 287 "/>

Note that the system installs the boot loader to the SDC partition by default, that is, the USB flash disk. For example:

650) This. width = 650; "Title =" clip_image026 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image026 "src =" http://img1.51cto.com/attachment/201407/29/526870_1406601377eX2b.png "width =" 923 "Height =" 438 "/>

Installing boot loader to a USB flash drive is definitely not feasible, because after the system is installed, the boot cannot be found after the USB flash drive is unplugged. To modify the position of the boot loader installation, click "change device", for example:

650) This. width = 650; "Title =" clip_image027 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image027 "src =" http://img1.51cto.com/attachment/201407/29/526870_14066013809iW2.png "width =" 911 "Height =" 515 "/>

Change to SDB, for example:

650) This. width = 650; "Title =" clip_image028 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image028 "src =" http://img1.51cto.com/attachment/201407/29/526870_1406601382BLV4.png "width =" 799 "Height =" 462 "/> 650) This. width = 650; "Title =" clip_image029 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image029 "src =" http://img1.51cto.com/attachment/201407/29/526870_1406601385gAlE.png "width =" 928 "Height =" 389 "/>

After completing the repair, continue to install the system:

650) This. width = 650; "Title =" clip_image030 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image030 "src =" http://img1.51cto.com/attachment/201407/29/526870_140660138788Hn.png "width =" 1200 "Height =" 451 "/>

650) This. width = 650; "Title =" clip_image031 "style =" border-right-width: 0px; Background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; padding-Right: 0px; border-top-width: 0px; "Border =" 0 "alt =" clip_image031 "src =" http://img1.51cto.com/attachment/201407/29/526870_1406601389lMhk.png "width =" 1109 "Height =" 251 "/>

This article from the "muddy world" blog, please be sure to keep this source http://ilanni.blog.51cto.com/526870/1531948

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.