I learned how to create a USB flash drive Linux-general Linux technology-Linux technology and application information. The following is a detailed description. Lab preparation: computer or livecd with linux system installed (I chose ubuntu7.04 livecd)
Step: 1. Use fdisk-l in the linux terminal program to view the partition of the USB flash disk and divide it into the following format:
Device Boot Start End Blocks Id System
/Dev/sda1*1 908 450368 6 FAT16
/Dev/sda2 909 1007 49088 5 extended
/Dev/sda5 909 1007 49088 83 Linux
Note that/dev/sda1 is in the fat format, And/dev/sda5 is a logical partition and formatted into the ext2 format # mkex2f/dev/sda5.
2. Install grub and download grub1.5 UploadFiles/2008-3/325405828. rar and decompress it to the/dev/sda5 disk. Run the grub command to go To the grub command line prompt: grub>, run grub> root (hd0, 4), and press Enter, run grub> setup (hd0) and press enter to install grub.
3. decompress the ravlinux. iso file of the CD image to the USB flash drive/dev/sda5, which becomes the anti-virus USB flash drive of the mini LINUX system.
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