Divine Skill | Install Ubuntu operating system for USB stick

Source: Internet
Author: User

650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M00/95/1A/wKiom1kRniCRexDQAACQTzx2j_g604.jpg "title=" Ubuntu operating system. jpg "alt=" wkiom1krnicrexdqaacqtzx2j_g604.jpg "/>

Description

This tutorial is to illustrate how to install the Ubuntu system on a USB stick (that is, the USB drive as a computer's hard disk), to achieve a USB stick to any computer can be run on the physical machine Ubuntu system, and all the operating configuration can be retained, equivalent to carry a computer.

Does not indicate how to use a USB drive to make the installation disk

Does not indicate how to use a USB drive to make the installation disk

Does not indicate how to use a USB drive to make the installation disk

In order to ensure the smoothness of installation and operation, please use USB3.0 USB flash drive and interface, u disk capacity is preferably more than 16GB, because the installation will occupy nearly 3G space.

Note: Do not put the useful information on the USB stick, because the installation process will format the U disk, the data will be lost, please back up the data in the USB flash drive before installation!

Background:

Recently, the teacher wants us to do openstack environment to build and configure the experiment, need to run the Linux system on the physical machine, in view of the dual system of insecurity and the data in the computer is too much, so do not dare to install dual system (side unknown to the number of people because installed Linux dual system is formatted hard disk). So on-line search for a long time how to install Ubuntu on a U disk, but there is little information on the Internet, there is not a lot of information, their own groping for a long time finally achieved, so here to record the installation process, I hope to be able to give a reference to a friend in the future.

Environment and preparation:

This tutorial uses a VMware virtual machine as the boot media for the installation image, and the VMware version is 12.5pro.

I need to download the ISO image of Ubuntu in advance, I use Ubuntu lts16.04.

: http://cn.ubuntu.com/download/

Installation steps:

Once the environment is ready, we need to create a new virtual machine in VMware, and choose to install the operating system later when selecting the source of the installation. Other settings are the default or recommended.

650) this.width=650; "Src=" https://mmbiz.qlogo.cn/mmbiz_png/ ip70vic417do07t6d5kkh5ppsv7vmfn9bnxpouvjhibasswpj0tkebyx3rko9kbeahibnjoaahsiftiblo1iacpztibw/0? "style=" border : 0px;vertical-align:middle;height:auto;margin:0px auto; "alt=" 0? "/>

After you have created the virtual machine, click on the virtual machine settings and fill in the CD with the path of the image you downloaded. at the same time, all the options in the USB controller are ticked, and then the compatibility is selected USB3.0.

650) this.width=650; "Src=" https://mmbiz.qlogo.cn/mmbiz_png/ Ip70vic417do07t6d5kkh5ppsv7vmfn9bbl6pbpecqe1qqndocjxxwyr79mheetxlhotvg2drkbbvkd6rbbhgcg/0? "width=" 576 "height=" 313 "style=" border:0px;vertical-align:middle;height:auto;margin:0px auto; "alt=" 0? "/>

Click OK to save the configuration and plug in the pre-prepared USB drive. then point to start the virtual machine. Pop-up tips for choosing a mobile device are available. If not, look at the next step first.

650) this.width=650; "Src=" https://mmbiz.qlogo.cn/mmbiz_png/ ip70vic417do07t6d5kkh5ppsv7vmfn9befidibc8wwjxsibhjhezho7altibhovbomsxgnotphibwg97onhqjuu0aq/0? "width=" 652 " height= "354" style= "border:0px;vertical-align:middle;height:auto;margin:0px auto;" alt= "0?"/>

If the mobile device is not prompted, typically the VMware USB service does not start. Press and hold the Win+r Input command service.msc Open the Service Manager, locate the VMware USB arbitrary and then right-click on the property, and then change the startup mode to start.

Turn off VMware After you start the service, then reopen it, repeat the previous step, and you should be able to see the prompt.

650) this.width=650; "class=" AlignCenter size-full wp-image-71419 "src=" http://www.magedu.com/wp-content/uploads/ 2017/05/0_%e5%89%af%e6%9c%ac-2.png "width=" 413 "height=" 237 "style=" Border:0px;vertical-align:middle;height:auto; margin:0px auto; "/>650" this.width=650; "src=" https://mmbiz.qlogo.cn/mmbiz_png/ ip70vic417do07t6d5kkh5ppsv7vmfn9bjsnvxiak4ruoexn18xtcytnt48qy3tpx7ciqeoeazu6aib4ugud9dj5w/0? "width=" 663 "height = "306" style= "border:0px;vertical-align:middle;height:auto;margin:0px auto;" alt= "0?"/>

If you have not found your own USB flash drive, after you start the virtual machine, such as a USB drive link on the virtual machine. The drive's logo appears in the lower right corner to indicate successful connection.

650) this.width=650; "Src=" https://mmbiz.qlogo.cn/mmbiz_png/ ip70vic417do07t6d5kkh5ppsv7vmfn9bhsjggip7p8pi18whvjfloqrfs6iborkoalnfjmynfkjanmeyflcuqiaa/0? "width=" 622 "height = "255" style= "border:0px;vertical-align:middle;height:auto;margin:0px auto;" alt= "0?"/>

650) this.width=650; "class=" AlignCenter size-full wp-image-71418 "src=" http://www.magedu.com/wp-content/uploads/ 2017/05/2_%e5%89%af%e6%9c%ac.jpg "width=" 567 "height=" 255 "style=" Border:0px;vertical-align:middle;height:auto; margin:0px auto; "/>

After the above operation, the USB stick can be connected to the virtual machine, and then we choose the language needed to install, click on try Ubuntu, then will enter a temporary system.

Click Install Ubuntu in the top left corner of the desktop, and then go to the Setup program.

650) this.width=650; "class=" AlignCenter wp-image-71417 "src=" http://www.magedu.com/wp-content/uploads/2017/05/1_% E5%89%af%e6%9c%ac.jpg "width=" 552 "height=" 334 "style=" border:0px;vertical-align:middle;height:auto;margin:0px auto; "/>

After selecting the language, click Continue, then a prompt will appear, saying that you have multiple devices connected to the computer, note that there is no.

650) this.width=650; "Src=" https://mmbiz.qlogo.cn/mmbiz_png/ ip70vic417do07t6d5kkh5ppsv7vmfn9bl0gcg9uxcvrrqjzb3ph5bxcczpibrqzbaot0gbliapchr7nenn4iaeocw/0? "width=" 658 " height= "397" style= "border:0px;vertical-align:middle;height:auto;margin:0px auto;" alt= "0?"/>

Click Continue after you finish the No, then select the last item something else and continue to continue.

650) this.width=650; "Src=" https://mmbiz.qlogo.cn/mmbiz_png/ ip70vic417do07t6d5kkh5ppsv7vmfn9bkb1juwlticm7o1nexs0wzb6ww9x1k8i8hnmsiyeb30srhial44wjt9cw/0? "width=" 703 "height = "463" style= "border:0px;vertical-align:middle;height:auto;margin:0px auto;" alt= "0?"/>

Select Dev/sdb and then click New Partition table to create the partition sheet, and then you will be prompted and confirmed.

Then, a USB flash drive is divided into a primary partition of ETX4, the capacity is set to 15000MB, and a swap partition format swap uses the remaining space of the U disk.

(because I have the data in the USB flash drive, so this cannot be here, otherwise it will lose information)

Double-click Dev/sdb/ntfs and use as ETX4, tick on format, and mount point set to/

650) this.width=650; "class=" AlignCenter wp-image-71416 "src=" http://www.magedu.com/wp-content/uploads/2017/05/0_% E5%89%af%e6%9c%ac.jpg "width=" 622 "height=" 461 "style=" border:0px;vertical-align:middle;height:auto;margin:0px auto; "/>

650) this.width=650; "Src=" https://mmbiz.qlogo.cn/mmbiz_png/ ip70vic417do07t6d5kkh5ppsv7vmfn9bpps2onn2puxmf1v2zs7z0dad2g0koyqan7owyu1usdbvyhz8cagr2w/0? "width=" 603 "height=" 448 "style=" border:0px;vertical-align:middle;height:auto;margin:0px auto; "alt=" 0? "/>

Then the bottom device for boot loader must be selected as a USB flash drive.

The final choice should be this way.

650) this.width=650; "Src=" https://mmbiz.qlogo.cn/mmbiz_png/ ip70vic417do07t6d5kkh5ppsv7vmfn9bbs4ib762ticzcs6wdznhqnnowazofe2gibiaktsvotquxsa4i6lwexfovw/0? "width=" 595 " height= "432" style= "border:0px;vertical-align:middle;height:auto;margin:0px auto;" alt= "0?"/>

After that, it's all continue and waiting.

When the installation is complete, you will be prompted to restart, then unplug the USB flash drive on the line. You can then use the Ubuntu system on any computer.

The specific method is to choose Boot Manager or BIOS in the boot, different computer methods please Baidu.

Then select the USB drive in the option of the expression, select Enter after you can boot the system to boot.

If you cannot find your USB drive option in Boot Manager, it may be because of the reason:

1.bios settings do not open the USB boot option, find the appropriate option to set the USB boot to enable.

2.bios boot settings only support UEFI, can open legacy mode, and then restart the computer to boot manager should be able to see the USB stick.

original link:http://www.magedu.com/71414.html

This article is from the "Marco Linux Training" blog, so be sure to keep this source http://mageedu.blog.51cto.com/4265610/1923836

Divine Skill | Install Ubuntu operating system for USB stick

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.