USB Stick Installation Linux Detailed

Source: Internet
Author: User
Tags root directory

Use U disk installation system has always been the best way to conserve resources, we can consider using a U disk to install such as Ubuntu, Debian and other Linux systems, how to install Linux with a U disk how to do it?

This is mainly for the introduction of several popular Linux, basically Debian and Ubuntu systems are similar. First of all, it should be noted that you must have a Linux or FreeBSD system, can use the Zcat command of the system can, of course, can also identify the USB storage system, the general use of VMware with a casual mini Linux can be. Then go to the corresponding Linux release version to download a startup img Write to the USB disk, download the following address:

Debian Sid:

Debian.cn99.com/debian/dists/sid/ma...dia/boot.img.gz

(This is to make a U disk boot mirror, and then from the hard disk of the ISO installation, if you download the ISO CD installation image to use this)

Http://debian.cn99.com/debian/dists/sid/ma...etboot/mini.iso

(This is the ISO for making a mirror image from the network installation, and since Debian does not have an IMG file like Ubuntu to provide a USB disk that is installed directly from the network, we use the CD ISO and the img file above)

Ubuntu Dapper:

Ubuntu.cn99.com/ubuntu/dists/dapper...dia/boot.img.gz

Http://ubuntu.cn99.com/ubuntu/dists/dapper...oot/boot.img.gz

(These two can be used for USB disk boot, one is from the hard disk ISO installation, the other is installed from the network)

The next step is to write the mirror to the top of the U disk, plug your USB drive into the existing Linux system, VMware can also be identified, the command is very simple zcat boot.img.gz >; /DEV/SDA or SDB. Ubuntu direct selection of the corresponding img on OK, if the Debian USB boot from the hard drive ISO installation steps are the same, but if it is a network installation to do a little work. Because Debian does not provide a boot.img.gz network installation, then we installed on the hard drive on the basis of the network installed Mini.iso decompression to the U disk, Then the isolinux.cfg renamed Replace Syslinux.cfg on the basic OK, using the 2.6 kernel should be the 2.6 directory of the kernel into the root directory, and then modify the Syslinux.cfg file above. (In fact, you can only overwrite initrd.gz, this file can also be found in subdirectories below NetBoot)

So the rest of the work is to take the U disk to start and install the system, enjoy the wonderful open source. There is also the use of U disk installation Gentoo, and even FreeBSD can be. Gentoo trouble, put the Gentoo minimal.iso to the Debian hard disk installation version can, but remember to modify the Syslinux.cfg kernel path, and remember to add DOSCSI kernel parameters Oh.

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.