Run Ubuntu 12.04 with a USB flash drive.

Source: Internet
Author: User

At first, I thought it was a very simple installation process. As in the past, I used unetbootin-windows to write the ISO to the USB flash disk. The result showed that there was no such installation process.

If you use ultraliso to write data directly to the USB flash disk, you still cannot do it. I checked the post on the Ubuntu Chinese forum and found that this was the case since u10.10. I cannot do it directly.

 

So we just need to collect it. Next, we will use

Imagewriter.exe

Solved ..

 

The following is an excerpt from a series of related information.

From

Http://www.cnblogs.com/wycc/archive/2012/12/28/2837342.html

Install Ubuntu 12.04 on a USB flash drive

163 Images

Http://mirrors.163.com/ubuntu-releases/precise/
Select i386 release version Alternate

After the download preparation with U disk installation, first try the Universal-USB-Installer-1.9.2.1 installation. After the installation is complete with simple start tester v4.0 test cannot start

Replace the ultraiso package and write the hard disk image to make it easy to start. Write it to the new boot zone. After syslinux is ready, it cannot be started.

Modify the syslinux/syslinuxfg file:
Comment out the default vesamenu32 statement, that is:
Set Default vesamenu32
Change
# Default vesamenu32

After modification, it can be started normally, but data cannot be read from the CD during operation.

Copy your ubuntu-12.04-alternate-i386.iso to the u disk root directory, and then restart, wait until the error that could not find the CD-ROM appears, press ATL + F2, switch to another console,

Run the following command:

Umount/dev/sdb4
Mount-T vfat/dev/sdb4/mnt/USB
CD/mnt/USB
Mount-T iso9660-o loop ubuntu-12.04-alternate-i386.iso/CDROM

The above/dev/sdb4 is my USB flash drive, and each machine may be different. Check it carefully. After executing the preceding command, you can switch back to ATL + F1, select Yes, and scan again. In this way, you can skip the error!

The last test was not performed because of Multiple tests. Therefore, I do not know whether the test is feasible.

 

 

 

Bytes -------------------------------------------------------------------------------------------

From: http://diybbs.zol.com.cn/1/33925_1942.html

How to use a USB flash drive to install Ubuntu Linux has always been a small number of systems, especially in China, with fewer users than windows, and even a high-end and complex impression, however, over the years, there have been more and more users using Linux. Ubuntu, as a branch with many users in Linux systems, is doing well and is very "friendly ", there are many ways to install ubuntu. This article describes how to install Ubuntu on a USB flash drive.
1. First, prepare a USB flash drive. Generally, the CD version 2 GB is enough, while the DVD version requires 4 GB. After inserting the USB flash drive, if there are files in the USB flash drive, copy the file first, right-click and choose format.

2. Select FAT32 for the file system, and select quick format.

3. Install ubuntu. There are two common methods: unetbootin and universal USB installer.

Method 1: unetbootin
A、download unetbootin(unetbootin-windows-568.rar (size: 4756 K, download times: 1985), without installation, run directly

B. If you have already downloaded Ubuntu, skip this step and check C directly. If you have not downloaded it, you can download it online. Select Ubuntu In the first selection box and select the corresponding version, such as 11.10,

C. Select the CD image, then add the path on the right, select the USB drive for the type, and select your USB drive. Do not select an error! Click OK to start the installation.

D. unetbootin is being installed. Wait a while

E. After the installation is completed, do not restart the system. Click to exit.

Method 2: Al USB installera, download universal USB installer (universal-usb-installer-1.8.9.2.rar (size 1001 K, download times: 582), without installation, run directly

B. If no download is available, you can download it online. Select Ubuntu In the first selection box, and select the corresponding version, such as 11.10. Then click Download the ISO on the right, the download will pop up automatically. If you have downloaded the image, Click Browse at Step 2 and select the ISO image,
Then select the drive letter of the USB flash drive at setp 3, for example, drive F, and then select we will format (format the USB flash drive). Then click creat to start the installation.

C. After clicking creat, a step is listed. Click Yes.

D. decompress the ISO image to a temporary directory.

E. The installation was officially started. about 5 minutes later, the installation done and process is complete will appear after the installation is completed. Then click Close to close the installation, and the USB flash drive will be burned.

4. After the boot, on the first screen, that is, click F2 on the BIOS interface, and then change the USB flash drive to the first boot.

5. The following describes how to use unetbootin as an example to install ubuntu. The above try Ubuntu without installing is to try Ubuntu without installing it, that is, the U disk system as the saying goes, you can click this for early adopters.

6. Installation started.

7. Find your own language on the left side, set Chinese to the bottom, and click Continue.

8. Check installation and update, third-party software, and click Continue.

9. Selecting the first option will format the entire hard disk. If you are not a new hard disk, do not select it! Select the second option

10. This step is difficult, because the partition type and mount point used by Linux are completely different from those used by Windows. The following describes the mount points:

Partition type

Introduction

Remarks

/Boot

Start Partition

Generally, 100 m-200 m is set. The Boot directory contains the kernel of the operating system and the files to be used during system startup.

/

Root Partition

All directories with no mount point specified will be placed under this mount point.

/Home

User directory

Generally, each user is about mb. for special purposes, for example, the file can be enlarged with G. The partition size depends on the number of users. For computers used by multiple users, it is recommended that/home be independent, and normal user permissions can be well controlled, such as disk quota restrictions for users or user groups, and user access permissions.

/Tmp

Temporary Files

Generally, 1-5 GB is set to facilitate the loading of ISO image files. It is also necessary to independently Mount multiple user systems or network servers. The temporary file directory is also one of the most frequently encountered directories.

/Usr

File System

Generally, it takes 3-15 GB, and most of the software installed by usersProgramAll here. It is like the Windows directory and the Program Files directory. In many Linux systems,/usr/local is also used as a mount point.

/Var

Variable data directory

Contains the data to be changed during system operation. The directory size of the data usually changes frequently, and the system log records are also under/var/log. Generally, a multi-user system or network server needs to create this partition, which is very helpful for System Log maintenance. Generally, the disk size is 2 to 3 GB. You can also divide the remaining space of the hard disk into VaR values.

/Srv

System Service Catalog

It is used to store the directory of files required for Service Startup, which is not often changed.

/OPT

Additional Application

Stores optional installation files. Individuals generally include software materials downloaded by themselves, such as office and QQ.

Swap

Swap Partition

Generally 2 times the memory, up to 2 GB

 

 

The following are common partition mount points:

/Bin

Binary executable directory

Stores binary executable programs, which can be called directly through the command line without entering the folder where the program is located.

/Sbin

System Administrator command storage directory

Store Standard System Administrator files

/Dev

Store Device Files

Driver files


Recommended Solution

/boot

200 m

/

20g

/home

50 GB

remaining space

swap

2G

Click/dev/SDA, create a partition table, select the marked idle sub-option, and select Add

11. The file system does not need to be changed. According to the recommendation section in Part 10, select the mount point: //,/boot,/home, and swap. After these settings are set up, click Install now.

12. Select your location and China Shanghai)

13. Select China for keyboard layout

14. Set Name, account, computer name, and password

15. The installation is started below. Click the half circle of the two books on the left to see some introduction.










16. The system has been installed. Restart required. Click restart now.

17. After the restart, even if Ubuntu is installed, the following is the logon interface. enter your password.

18. It is ready for use. The following is the main interface, which is very beautiful and has very low Configuration Requirements. Many old players can run it!
 

19. Open this forum with the built-in Firefox browser. below is the Ubuntu Linux Forum published in this tutorial!
From http://forum.ubuntu.org.cn/viewtopic.php? F = 48 & amp; T = 369524

Now I am studying Linux, so I decided to install Ubuntu on my computer. Because there is no CD on hand, you can only use a USB flash drive to install it.
As a result, I searched for how to install Ubuntu with a USB flash drive on the Internet. Most of the tutorials on the Internet are like finding a dial tool to engrave the operating system on the USB flash drive and then start the computer from the USB.
The first tool I used was ultraiso. After the computer was started from the USB flash drive, I found that the cursor kept flashing in the upper left corner of the screen.
So I went online to find related solutions. After several hours, I still did not find an effective solution. My heart was so anxious that I began to prepare for giving up.
Unfortunately, I saw an article on Baidu Library."How to install opensuse on a USB flash drive"Look at it. I thought it was all about Linux. I can see if I can install Ubuntu through the method he introduced.
So I downloaded the tool.
Imagewriter.exe
Https://github.com/downloads/openSUSE/kiwi/ImageWriter.exe
Remember to change the suffix of the image file to. Raw when burning the file so that you can find the image file.
After the data is successfully burned, the installation page is displayed. I succeeded!
This is just one of my methods. It may be better for you to install the Ubuntu system. I hope you can share it with me.

 

 

 

------------- From

 

Http://www.bjwilly.com/archives/325.html

There are multiple ways to install ubuntu. I have used three methods. 1. Hard Disk installation, 2. Dial installation, 3. USB flash disk installation.

1. Download the CD image

Currently, 12.04lts (long-term supported version) is available)

Http://www.ubuntu.org.cn/desktop/get-ubuntu/download/

2. Preparations before installation

If you want to use a dual system, such as Windows 7 + Ubuntu or Windows XP + Ubuntu, you must prepare for the installation. Otherwise, you will regret the loss of data in the time zone.

Win 7's built-in disk tool (right-click computer-management-disk management) to compress one of the partitions into a space larger than 15 GB without formatting. Remember to compress the space in the disk.

Windows XP does not seem to have its own disk tool. Therefore, the partition magician is used to separate the same space.

3. Installation Process 3.1 hard disk installation

A. in windows, the virtual optical drive uses daemon tools to load the downloaded CD image.

B. Copy the following two folders in the loaded virtual optical drive to the C drive root directory.

. Disk

Casper

C. Double-click the virtual optical drive to go to wubi installation. Select the first demonstration and complete installation.

D. Disconnect the network at this time. The network must be disconnected during the installation process because the network will be automatically updated,

E. Next, select help to start from the CD and click Finish.

F. Restart and the system automatically directs you to Ubuntu for further installation, including partitioning and other operations.

3.2 USB flash drive installation

I used a 1g TF card and a 4G Kingston U disk to test the success. I only need to follow the steps and the 99% will be successful.

After downloading ultraiso, click the "in" icon to open the downloaded CD image.

Choose menu-start-write hard disk image ..., As shown in (note that the selected write method is written as USB-HDD + ):

Click write to wait for the software to write. The software will automatically format the USB flash disk, so the data of the USB flash disk is backed up first.

After completionOpen \ isolinux \ syslin under the USB flash drive directoryUX. cfG,

Comment default vesamenu. c32 into # default vesamenu. c32

4. Formal Installation

After the restart, change the preferred Boot Mode to a USB flash drive. After Entering Ubuntu, click other settings in f6 and select the following three items (use the space key to select)

After selection, a small X is displayed.

ACPI = off

Noapic

Nolapic

Click "Install Ubuntu.

163 Images

Http://mirrors.163.com/ubuntu-releases/precise/
Select i386 release version Alternate

After the download preparation with U disk installation, first try the Universal-USB-Installer-1.9.2.1 installation. After the installation is complete with simple start tester v4.0 test cannot start

Replace the ultraiso package and write the hard disk image to make it easy to start. Write it to the new boot zone. After syslinux is ready, it cannot be started.

Modify the syslinux/syslinuxfg file:
Comment out the default vesamenu32 statement, that is:
Set Default vesamenu32
Change
# Default vesamenu32

After modification, it can be started normally, but data cannot be read from the CD during operation.

Copy your ubuntu-12.04-alternate-i386.iso to the u disk root directory, and then restart, wait until the error that could not find the CD-ROM appears, press ATL + F2, switch to another console,

Run the following command:

Umount/dev/sdb4
Mount-T vfat/dev/sdb4/mnt/USB
CD/mnt/USB
Mount-T iso9660-o loop ubuntu-12.04-alternate-i386.iso/CDROM

The above/dev/sdb4 is my USB flash drive, and each machine may be different. Check it carefully. After executing the preceding command, you can switch back to ATL + F1, select Yes, and scan again. In this way, you can skip the error!

The last test was not performed because of Multiple tests. Therefore, I do not know whether the test is feasible.

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.