cd.html (3280B)
1 <!DOCTYPE html> 2 <html lang="en-GB"> 3 <head> 4 <meta charset="UTF-8"> 5 <meta name="author" content="Shipwreckt"> 6 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 7 <title>Burning optical media in Linux</title> 8 <link rel="stylesheet" href="../../../styles.css"> 9 <link rel="icon" href="../../../Images/favi.png" type="image/x-icon"> 10 </head> 11 <body> 12 <header> 13 <nav> 14 <ul> 15 <li><a href="../../../index.html">Home</a></li> 16 <li><a href="../../../links.html">Links</a></li> 17 <li><a href="../../../projects.html">Projects</a></li> 18 <li><a href="../../../contact.html">Contact</a></li> 19 </ul> 20 </nav> 21 </header> 22 <main> 23 <h1>How To Format A USB with Linux 💿</h1> 24 <h3>Date: 23-08-2024</h3> 25 <hr> 26 <p>This is a quick tutorial to show you how to burn any file to a piece of optical disk media!</p> 27 <hr> 28 <h3>Warning ⚠️</h3> 29 <p>Once you burn an optical disk you cannot reburn it.</b> 30 <p>Optical media does not have the best storage, normally under 1GiB so make sure your files align with the size of the optical media.</b> 31 <hr> 32 <h2>What you will need 📋</h2> 33 <ul> 34 <li>Optical drive capable of writing to a CD</li> 35 <li>A computer with Linux 🐧🖥️</li> 36 <li>The ability to read instructions and to follow them 🧠</li> 37 </ul> 38 <hr> 39 40 <h2>Steps to burn 🔥</h2> 41 <p>You will only need one program to burn media to a CD; the name of that program is <a href="https://linux.die.net/man/1/wodim">wodim</a>, and it is part of a collection of programs called <a href="https://packages.debian.org/source/sid/cdrkit">cdrkit</a>, as in thename ofe this collection of programs that allow you to do a whole variaty of things withopticall media! 42 <hr> 43 44 <li>1) Install cdrkit, on some Linux distrobutions cdrkit is already installed, but on my main Linux distrobution <a href="https://archlinux.org">Arch Linux</a>, it is not so check you have it installed, the package on your distro will most likely be called cdrkit.</li> 45 <br> 46 <div class="code-box"> 47 <p>sudo pacman -S cdrkit</p> 48 </div> 49 <br> 50 51 <hr> 52 53 <li>2) You want to get whatever data you want into an ISO file, so if you had a file called movies that held movies you would use the command.</li><br> 54 <div class="code-box"> 55 <p>mkisofs -o movies.iso movies</p> 56 </div> 57 <p>movies.iso being the output ISO and movies being the directory with the movies in there.</p> 58 59 <hr> 60 61 <li>3) Now the last command is the actual event of burning the optical media! So insert it into your optical drive and type this command.</li><br> 62 <div class="code-box"> 63 <p>wodim -v dev=/dev/sr0 movies.iso</p> 64 </div> 65 <p>movies.iso being the output ISO from the last command.</p> 66 67 <hr> 68 69 <li>4) Now it is time to sit back and wait for it to burn; do not get impatient; give it time, and it will burn. When it is done, you may enject the optical media from the CD drive, and it should have all the files you desire.</li><br> 70 <center> 71 <hr><p>That is all the required steps to burn optical media on Linux, I hope this has helped you!</p> 72 <pre text-align=center> <a href="../../linuxlist.html">Back 🚪</a> 73 </main> 74 </body> 75 </html> 76