Install a Linux System in the Flash Drive

Source: Internet
Author: User
Install a Linux system-Linux Enterprise Application-Linux server application in the flash drive. For more information, see the following. [I = s] This post was last edited by gary168

[Table = 98%] [tr] [td] an ultra-Small Linux Operating System, 50 MB in size, called DSL (Damn Small Linux) (Yes, it's damn good) it can be directly stored in Thumb Drive. If it is coupled with a simulator, you can easily run virtual Linux on Windows, Max, and Linux. You can also install common programs. If you want to use common programs without Laptop, or you want to run Linux programs on Windows, you can borrow a computer from someone else and insert your Thumb Drive to run your program.

The procedure is simple. You only need two tools.

1. Qemu is a simulator, which is much smaller than VMware. : Http://www.h6.dion.ne.jp /~ Kazuw/qemu-win/qemu-0.9.0-windows.zip

2. Of course it is DSL, which can be downloaded on its website: http://www.damnsmalllinux.org/, which is :ftp://ftp.oss.cc.gatech.edu/pub/... rrent/dsl-4.2.1.iso, the latest version is 4.2

Decompress Qemu and put the dsl-4.2.1.iso in the same folder.

Open Command promptand folder the compression file. Use qemu-img.exe to create a hard drive image. If you want a 1G hard drive image named a. img, enter the following Command:

Qemu-img.exe create a. img 1G

The DSL is installed on the hard drive image virtual disk.

Run the following command:

Qemu.exe-L.-m 192-hda a. img-cdrom dsl-4.1.iso-boot-localtime

-M indicates the allocation of RAM.-m 192 means that MB of RAM is allocated to QEMU.

If it succeeds, you will see X windows LOADING, and then enter the DSL interface.

Next we will do disk partition, Open Shell in DSL, input fdisk/dev/hda, and then you will see a series of things. It doesn't matter if you don't understand it, as long as you press n in order, p, 1, w. A new partition is called hda1, and its capacity is the entire virtual disk.

Next we can install it: In the DSL shell, press dsl-hdinstall. when it asks which hard disk you want to use, input hda1, which is the virtual disk just completed. After several minutes, the installation is complete.

The dsl-4.2.1.iso can be deleted, because the system has been loaded into a. img, and later to use DSL as long

Qemu.exe-L.-m 192-hda a. img-boot c-localtime

You can. Of course, you can also create a Bat file and double-click it to run it.

Finally, COPY the entire folder to your Thumbe drive. If you want to use Linux, you can directly use Plug and Play.



[/Td] [/tr] [tr] [td] [/td] [/tr] [tr] [td]
[/Td] [/tr] [tr] [td] [/td] [/tr] [tr] [td] [/td] [/tr] [/table]
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.