Install ubuntu on a USB flash drive and start Linux from the USB flash drive.

Source: Internet
Author: User

Install ubuntu on a USB flash drive and start Linux from the USB flash drive.

If we install the Linux system directly on our hard disk, the GRUB of Linux will overwrite the boot guide of window. It is not convenient to carry. So I want to install a ubuntu system on a USB flash drive, which can be started on any computer.

Preparations:

A 32g usb flash drive (as the system disk), an 8g USB flash drive (as the installation disk), an ISO file for ubuntu, and an UltraISO software.

1. Download the ubuntu ISO file: (if any, you can directly view step 2)

1) After Entering "ubuntu download" in the browser, the first one is: follow the process below:

2) Click the URL link and the following interface will appear.

3 ).

Click Ubuntu Kylin or ubuntu Server to view the following page:

4)

It has a 64-bit version and a 32-bit version. Click it to download the ubuntu ISO file.

2. Create an ubuntu boot disk:

1) Open the UltraISO software (as Administrator), select File> open, and select the downloaded ubuntu ISO file. As shown in:

2) Select "start"> "Write hard disk image". A dialog box is displayed:

3) in the pop-up dialog box, a. "Hard Drive": select an 8 gb usb flash drive. B. "Write method": USB-HDD +, c. Click write.


3. Install the Ubuntu system on the USB flash drive:

1) Plug Two USB flash drives (8 GB and 32 GB) into the computer and restart the computer. Follow your computer brand to enter BIOS. Some options are F2, F12, and so on.

2) Select the "BOOT" option. Change the first boot item to the name of the 8 gb usb flash drive (select ). My USB flash drive is Kingston, so the first few started with "KING ......".

3) Save and exit. Select the SAVE option. There is a "save and Exit" and a "Do not save and exit ". Select Save and exit ". It automatically restarts. Go to the Ubuntu installation page.

4) there will be four options. Select the second option, because the first option is intended for you to experience (started with Try ). The second one indicates immediate installation (started with Install ).

5) then select the language:

6) set wireless: used to install software. Otherwise, you can install the software on your own ). You can use your mobile phone to open a hotspot. Generally, it is more than one hundred M.


7) Select the first check box and install the corresponding software:

8) Click continue. A dialog box is displayed. No. If yes, select "exit ".

9) Select"Custom Installation"Option. If you select the first one, the startup Item of the local computer will be modified. You need to insert a USB flash drive every time you start the computer, and cannot insert it into another computer. Click continue to go to the partition page:

10) We have a 32 gb usb flash drive.Sdc. Sda is generally your local computer: it represents the hard disk on your computer. There are partitions in it, so do not change the data. Otherwise, the data will disappear.Select your sdc idle Option, And click "+ ".

11) enter the size of the primary partition (do not finish dividing, 20 GB capacity, 20480 MB), select the primary partition, and select the option to select the default EXT4 log file system, select the first mount point, that is, "/".

12) after idle, click the plus (+) and select a logical partition. The input capacity is 200 MB, the default EXT4 log file system is selected, and the mount point is/boot.

13) Select idle, click the plus (+), select a logical partition, set the input capacity to 4096 MB, and select a swap space.

14) after you select idle, click the plus sign (+) and select the logical partition. If the input capacity is left (no input is required), select the default EXT4 log file system, select/usr for "mount point.

15) Important: Select "Install Boot boot device" as your USB flash drive and select/dev/sdc. The default value is dev/sda. Do not select this option. Otherwise, the data will not exist. Click Install. A dialog box will pop up to display the formatted content and see if there is any of your/dev/sda ). The format of/dev/sdc is usually displayed. This is of course. You should install it on that.

16) Select the time zone (generally SHANGHAI ).

17) Select a language.

18) enter the login name and secret.

19) installation. After installation, the machine will be restarted.

20) after the instance is restarted, select the 32 gb usb flash drive for the startup Item. Or unplug the 8 gb usb flash drive.

**************************************** **************************************** *****

Note: If the Boot option does not include the 32 gb usb flash drive option, the"SAVE & EXIT"Option, there is also a Boot, which 32 gb u disk option to choose. My computer Boot won't have a 32 gb usb flash drive. after a long time of hard work, I randomly tried the "SAVE & EXIT" option and a Boot. I didn't expect it to succeed.

Related Article

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.