Precautions for installing Ubuntu12.10Alternate on a USB flash drive

Source: Internet
Author: User
Tags superuser permission
Summary I tried to install Ubuntu12.04Alternate with a USB flash drive some time ago. During this time, I encountered many twists and turns. Fortunately, I was able to solve them, therefore, I have always wanted to write an article to summarize the official documents that do not provide necessary instructions during the system installation process or may cause installation failure. I hope this will help the Later users. After trying a lot of solutions, I have used the following methods to install them (this is the simplest and most customizable solution I think ): use grub-install to install the grub boot program on the USB flash disk.

Overview

Some time ago, I tried to use a USB flash drive to install Ubuntu 12.04 Alternate. In the meantime, I encountered many twists and turns. Fortunately, I was able to solve these problems, therefore, I have always wanted to write an article to summarize the official documents that do not provide necessary instructions during the system installation process or may cause installation failure. I hope this will help the Later users. After trying a lot of solutions, I have used the following methods to install them (this is the simplest and most customizable solution I think ):

Use grub-install to install the grub boot program on the U disk (if there is no Linux environment, you can use Grub4DOS, see the http://www.linuxidc.com/Linux/2009-01/18027.htm)

Copy the system disk image to the USB flash drive and edit the grub. cfg configuration startup Item.

Start the computer with a USB flash drive and install the system according to specific steps

I am using a grub boot USB flash drive, but the precautions in step 1 above apply to the installation of other boot programs (such as syslinux. The installation process of the system is described in detail below.

Create boot disk and install grub

Grub-install/dev/sdb

This command requires the superuser permission (sudo ). /Dev/sdb is your USB flash drive device number, usually sdb (sda is your computer's hard disk ). This command will install grub to the USB flash drive. After the command is executed successfully, it means a boot disk is created. Open the USB flash drive and you will see an additional/boot/grub directory.

Then copy the CD image you downloaded (such as the ubuntu-12.10-alternate-amd64.iso) to the USB flash drive, for example, I create a new iso directory under the/boot directory to store these CD images.

The following is an example of the directory structure of my USB flash drive:

── Boot
│ ── Grub
│ ......
│ ── Grub. cfg
│ ......
── Iso
── Ubuntu-12.10-alternate-amd64.iso
── Ubuntu-12.10-desktop-amd64.iso

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.