Create a virtual CD in Linux

Source: Internet
Author: User
Make a virtual CD under Linux-general Linux technology-Linux technology and application information. The following is a detailed description. 1. Create a virtual CD in linux.
In windows, we often use ultraISO, winISO, and other CD-making tools to create virtual CDs. I love using alcohol 120%, and it feels great! In linux, you can make virtual discs without any third-party software! This is the cp command. For example, a windows installation disk is attached to the optical drive. On the linux Command Line terminal, enter the following command:

Cp/dev/cdrom windows. iso.

OK! The name of the iso image file. Note: If you run this command as root, the created image file will be placed under/root. If it is a common user, it is placed in the user name directory.

2. Mount the Virtual CD in linux.
If the image file name is maolin. iso, use the following command:

Mount-o loop windows. iso/mnt/cdrom

Linux Kernel images and ext2 file systems are also mounted.

3. Use mkisofs to create a virtual Disc
In fact, linux can also Virtualize all the files under a directory into a CD: I want to make the files under/boot into an image file and run the following command:

Mkisofs-r-o windows. iso/boot.

Well, the name of the image file is also random. Do not forget to include the iso suffix. Now let's go to the directory under your name. It's OK!
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.