Homemade Ubuntu8.10LiveUSB Method

Source: Internet
Author: User
1. The role of Ubuntu8.10LiveUSB Ubuntu8.10LiveUSB can implement all functions of LiveCD, and the system configuration changes are saved after restart. That is to say, Ubuntu liveusb does not need to be installed to achieve the same effect as Ubuntu. However, LiveUSB cannot replace normal system installation. It is more stable than other installation methods and can only be used temporarily to experience Ubuntu,

I. Functions of Ubuntu 8.10 LiveUSB

Ubuntu 8.10 LiveUSB can implement all the functions of LiveCD, and the system configuration changes are saved after restart.

In other words, Ubuntu 8.10 LiveUSB can achieve the same effect as Ubuntu installation without installing Ubuntu.

However, LiveUSB cannot replace normal system installation. It is more stable than other installation methods. It can only be used temporarily to experience Ubuntu and demonstrate the role of Ubuntu.

Therefore, LiveUSB can be used as a mobile operating system and is suitable for system maintenance personnel.

Like LiveCD, LiveUSB has a high memory requirement of at least 512 MB. I tried to run it on a m computer. The speed was terrible.

Ii. How to Create Ubuntu 8.10 LiveUSB

1. USB flash drive requirements. The file in the ISO is 700 mb, And the LiveUSB must be at least MB for data storage. Of course, the larger the storage space, the better. I think 2G is the minimum.

2. Start Ubuntu 8.10 without installation. You can also start LiveCD.

3. Open system \ system Management \ Create a USB startup disk ".

4. Select Ubuntu 8.10 ISO in the "other..." button, insert the USB flash disk, and correctly display your USB disk in "USB disk to use. Select the default "stored in reserved extra space" and drag the storage space below. The minimum size is 128 MB, and the maximum size is the size of the USB flash disk minus the ISO size. At least 1 GB is recommended. Click "make startup disk.

5. After the LiveUSB is restarted, the startup interface is the same as that of LiveCD. First select "simplified Chinese" in the language menu, and then select the first item "Try Ubuntu without changing any content in the computer" in the menu that appears ". Although the menu is written in this way, any modifications you make in the system are saved.

6, some comrades reflect the production of the LiveUSB U disk to restart the computer after the selection of USB-ZIP or USB-HDD can not start.
Solution: Start UltraISO, select boot CD/Write hard disk image, and select portable boot/write new Hard Disk Master Boot Record (MBR)/USB-ZIP + in the dialog box ". You can also try USB-HDD +, can enhance the compatibility of U disk boot motherboard.

LiveUSB

Iii. Crack the secret of the SAVE Function of Ubuntu 8.10 LiveUSB

After Ubuntu 8.10 LiveUSB is finished, immediately compare the files in LiveUSB with LiveCD in ISO, and find that LiveUSB has made several changes:

1. added a save file under the root directory of the USB flash drive: casper-rw. The size is the same as the size we set when making LiveUSB. LiveUSB uses this file to save our modified system configurations and data.

2. Use syslinux boot USB flash drive and add two boot files in the root directory of the USB flash drive: syslinux. cfg and ldlinux. sys.

3. Change the original directory isolunux to syslinux. In the text. cfg file, the parameter "noprompt cdrom-detect/try-usb = true persistent" is added to the original LiveCD command ". For example:

Label live
Menu label ^ Try Ubuntu without any change to your computer
Kernel/casper/vmlinuz
Append noprompt cdrom-detect/try-usb = true persistent file =/cdrom/preseed/Ubuntu. seed boot = casper initrd =/casper/initrd.gz quiet splash --

Now the secret of LiveUSB is revealed in the world, that is, a casper-rw file is created to save the data, and "persistent" can be added to the startup command.

This method is the same as setting up an ext3 partition as described by Comrade skyx and renaming the volume label as casper-rw to save data. That is to say, if we don't need this casper-rw file, but instead create another partition on the USB flash disk or use a mass production tool to partition it, renaming the volume label casper-rw can also save the data.

4. Add PE boot in LiveUSB

There are many versions of PE and there are also many startup methods. You must first read the installation instructions written by the original author during production.

I will take the latest Tian Yi PE as an example to introduce how to add the PE startup method.

1. Download the pe iso.

Article published by Tian Yi PE: http://www.linuxidc.com/Linux/2009-04/19265.htm
This PE is based on the tianqin sp3 kernel. Supports 96 MB memory startup. The size is 56 MB.

2. Copy all ISO files to the root directory of the USB flash drive, and copy NTDETECT. COM under the WXPE directory to the root directory of the USB flash drive.

3. Copy the ldntldr file in the attachment to the root directory of the USB flash drive.

4. Modify the text. cfg file in the syslinux directory of the USB flash drive.

I added the following before label live-install:

Label winpe
Menu label WinPE
MENU DEFAULT
Kernel/ldntldr
Append initrd =/WXPE/SETUPLDR. BIN

In this way, the WinPE menu appears in the second item of the Start Menu. After the startup, select the "WinPE" menu item.

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.