Install Ubuntu on a USB flash drive

Source: Internet
Author: User

The official version 10.10 is released, but the USB flash drive made of ultraiso cannot be installed. It is very uncomfortable.

I checked the information everywhere, read the post, and finally found a way to solve it.

Why do you wantUbuntuOn a USB flash drive ?. Because, you can take all the software with you, including bookmarks on your browser, cookies, and special settings in the software. You don't have to re-create it on every computer. You don't have to carry a heavy laptop. More importantly, you do not have to legally authorize each set of software on every computer. Ubuntu does not need to be installed. Almost all PCs can be installed on it.

Follow these steps:
I. preparation tools:
Grubinst-1.1-bin-w32.zip
Grub4dos-0.4.4.zip
Ubuntu 10.10 image file, which is a maverick-desktop-i386.iso
2. Run grubinst_gui.exe
Refer tool, select the USB flash disk in the disk option, select the entire disk in the partition list option, and click Install next to the default option.

This step mainly aims to make the USB flash drive a boot disk.
3. decompress the grub4dos-0.4.4.zip file and copy the grldr and menu. lst files to the root directory of the USB flash drive,

Edit menu. lst and change it:

Title Ubuntu 10.10 maverick-desktop-i386

Root (hd0, 3)

Kernel (hd0, 3)/vmlinuz boot = Casper iso-Scan/filename =/maverick-desktop-i386.iso Ro locale = zh_CN.UTF-8

Initrd (hd0, 3)/initrd. LZ

Among them, (hd0, 3) is the disk ID of the USB flash drive, which may vary depending on your host. The solution will be provided later.

Locale = zh_CN.UTF-8 is your local language information, that is, the default is Chinese, language does not need to be updated after installation

4. In order to properly guide the Ubuntu image file when the USB flash drive is started, no error message will be prompted during installation, including vmlinuz and initrd under the Casper folder in the ISO file. copy two LZ files to the root directory of the USB flash drive.

Note that it is in ISO. Do not download it elsewhere.

V. installation:

Plug in the USB flash drive, restart the computer, select the USB flash drive to start (this step won't happen to Google), and pay attention to it. This is very important !!! Look at the lines that are jumping out, usually half a second, so focus on it.

Hd0, 0 NTFS

Hd0, 1 NTFS

Hd0, 2 NTFS

Hd0, 3 FAT32

Note that the character string before FAT32 indicates your USB flash drive.

If it is not hd0, 3 requires you to modify a few places before installation. The method is as follows:

Modification method:

Only one installation option is Ubuntu 10.10 maverick-desktop-i386

It is selected by default. At this time, press the e key on the mouse to edit it, which is to replace all (hd0, 3) in the three parameters with your own string of characters.

Then, enter, there will be a bunch of unreadable strings displayed on the screen, don't worry about him, will enter the live CD in a short time, next is the normal operation

Technorati label: Ubuntu is installed on a USB flash drive, and Linux is installed on a USB flash drive.

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.