Download ArticleDownload Article

This How.com.vn teaches you how to turn a group of files into an ISO file on a Linux computer. You'll use the Linux command line to do this.

Method 1
Method 1 of 2:

From Files

Download Article
  1. How.com.vn English: Step 1 Gather your ISO files in the home directory.
    Place any files that you want to turn into an ISO file in a folder inside of the home folder.
  2. How.com.vn English: Step 2 Open Terminal.
    Open the Menu, then click Terminal to open it. The Terminal app is how you'll access the command line, which is similar to Command Prompt on Windows or Terminal on Mac.
    • Linux distributions vary in appearance, so you may have to look for the Terminal app inside of a folder in the Menu section.
    • You might also find Terminal on the desktop, or in a toolbar on the top or bottom of the screen.
    Advertisement
  3. Step 3 Enter the "change directory" command.
    Type in cd /home/username/, making sure to use your own username for the username section, and press Enter. This will change your current directory to the home folder.
    • For example, if your username is "potato", you would type in cd /home/potato/.
  4. How.com.vn English: Step 4 Type in the ISO creation command.
    Type in mkisofs -o destination-filename.iso /home/username/folder-name, making sure to replace "destination-filename" with whatever you want to name the ISO file and "folder-name" with the name of the folder in which your ISO's files are stored.
    • For example: to create an ISO file named "blueberry" from files in a folder called "pie", you would type in mkisofs -o blueberry.iso /home/username/pie.
    • File names and folder names are case-sensitive, so make sure you capitalize anything that needs to be capitalized.
    • To create a multiple-word name, place underscores between words (e.g., "blueberry pie" becomes "blueberry_pie").
  5. How.com.vn English: Step 5 Press ↵ Enter.
    Doing so will run the command, which creates an ISO file comprised of your selected directory's files. You'll find this ISO file in your home directory.
    • You may be prompted to enter your password before the ISO file is created. If so, type in your password and press Enter.
  6. Advertisement
Method 2
Method 2 of 2:

From a CD

Download Article
  1. How.com.vn English: Step 1 Insert the CD-RW that you want to rip.
    You cannot rip an ISO file from CDs with read/write protection (e.g., audio CDs or movie DVDs).
  2. How.com.vn English: Step 2 Open Terminal.
    Open the Menu, then click Terminal to open it. The Terminal app is how you'll access the command line, which is similar to Command Prompt on Windows or Terminal on Mac.
    • Linux distributions vary in appearance, so you may have to look for the Terminal app inside of a folder in the Menu section.
    • You might also find Terminal on the desktop, or in a toolbar on the top or bottom of the screen.
  3. Step 3 Enter the "change directory" command.
    Type in cd /home/username/, making sure to use your own username for the username section, and press Enter. This will change your current directory to the home folder.
    • For example, if your username is "teresa", you would type in cd /home/teresa/.
  4. How.com.vn English: Step 4 Enter the disk rip command.
    Type in dd if=/dev/cdrom of=/home/username/iso-name.iso, making sure to replace the "/dev/cdrom" section with with your CD's location and the "iso-name" section with your preferred ISO file name.
    • For example, you would type of=/home/username/pudding.iso to create an ISO file called "pudding" in the home directory.
    • If you have multiple CD drives attached to the computer, your CD drives will be labelled from 0 up (e.g., the first drive will be labelled something like "cd0", the second will be "cd1", and so on).
  5. How.com.vn English: Step 5 Press ↵ Enter.
    As long as your CD's directory is correct, your computer will create an ISO file from the CD's contents and place it in the home directory.
    • You may be prompted to enter your password before the ISO file is created. If so, type in your password and press Enter.
  6. Advertisement

Community Q&A

Search
Add New Question
  • Question
    Will the created ISO from Method 1, Step 4 be bootable?
    How.com.vn English: Living Concrete
    Living Concrete
    Top Answerer
    No, it will not be bootable.
  • Question
    Is it possible to use an audio CD to create an ISO image?
    How.com.vn English: Community Answer
    Community Answer
    Yes, this works with nearly every CD (some DRM-secured discs excluded).
  • Question
    How do I rearchive Linux systems into ISO files?
    How.com.vn English: Somone
    Somone
    Community Answer
    You will have to get a program to create disk images. Clonezilla is one of them.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Tips

      • Most Linux distributions have a file manager that will allow you to create an ISO file using the right-click menu as well.
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!
      Advertisement

      Warnings

      • Not all versions of Linux function identically to one another. If you're unable to find your CD's path or the ISO command isn't working, you can check your distribution's manual online.
      Advertisement

      About This Article

      How.com.vn English: Jack Lloyd
      Written by:
      How.com.vn Technology Writer
      This article was co-authored by How.com.vn staff writer, Jack Lloyd. Jack Lloyd is a Technology Writer and Editor for How.com.vn. He has over two years of experience writing and editing technology-related articles. He is technology enthusiast and an English teacher. This article has been viewed 1,108,511 times.
      How helpful is this?
      Co-authors: 22
      Updated: December 26, 2022
      Views: 1,108,511
      Categories: Linux
      Article SummaryX

      1.Put the files in one directory.
      2.Open a terminal window.
      3.Use "cd" to get to your home directory.
      4.Type "mkisofs -o destination-filename.iso /home/username/folder-name"
      5.Press Enter.

      Did this summary help you?

      Thanks to all authors for creating a page that has been read 1,108,511 times.

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement