Home >System Tutorial >LINUX >Introduction to popular Linux systems and methods of making USB boot images
Here we mainly introduce several popular Linux systems. Basically, Debian and Ubuntu systems are similar. First, suse linux. What should be noted here is that you must have a Linux or FreeBSD system on hand to use the zcat command. In fact, it also needs a system that can recognize USBStorage. Usually, you can use VMWare to serve any minimal Linux. Then go to the corresponding Linux release version to download a startup img and put it on the USB flash drive. The download address is as follows:
DebianSid:/debian/dists/sid/ma...dia/boot.img.gz
(This is to make a U disk boot image, and then install it from the ISO on the hard disk. If you downloaded the installation image of the ISO disc, use this)
(This is to make an ISO for installing a disc image from the network, because Debian does not provide the IMG file for U disk installation directly from the network like Ubuntu, so we will use this disc ISO and the IMG file inside)
UbuntuDapper:/ubuntu/dists/dapper...dia/boot.img.gz
(Both of these can be used to boot from a USB flash drive, one is to install from the hard disk ISOUse a USB flash drive to install linux, and the other is to install from the network)
The next step is to transfer the image to a USB flash drive and insert your USB flash drive into the existing Linux system. VMWare can also recognize it. The command is very simple zcatboot.img.gz>/dev/sda or sdb. If Ubuntu directly selects the corresponding img, it will be ok. If it is Debian's USB boot, the steps to install from the hard disk ISO are the same, and if it is a network installation, you need to do a little work. Since Debian does not provide boot.img.gz for network installation, we will decompress the mini.iso for network installation to a U disk based on the hard disk installation, and then rename isolinux.cfg and replace syslinux.cfg. ok, when using the 2.6 kernel, you should put the kernel in the 2.6 directory in the root directoryUse a USB flash drive to install linux, and then change the syslinux.cfg file inside. (Actually, just overwrite initrd.gz. Beijing linux training. This file can also be found in the subdirectory under netboot)
The remaining work is to start the system with the USB flash drive and install the system. Enjoy the beauty of open source. You can also use a USB flash drive to install Gentoo or even FreeBSD. Gentoo is a little more troublesome. You can unzip Gentoo's minimal.iso to the Debian hard disk installation version, but remember to change the kernel path in syslinux.cfg, but remember to add the doscsi kernel parameters.
Provide the latest Linux technology tutorial books for free, and strive to do more and better for open source technology enthusiasts:
The above is the detailed content of Introduction to popular Linux systems and methods of making USB boot images. For more information, please follow other related articles on the PHP Chinese website!