Ubuntu Unleashed 2019 Edition: Covering 18.04, 18.10, 19.04

(singke) #1

you to quickly create several copies of a disc, which is ideal if you’re
planning to pass on copies of Ubuntu to your friends and family.


Burning a data CD or DVD is as easy as selecting the option in the opening
screen and dragging and dropping the files you want to include from the
directory tree on the left to the drop area on the right. If you insert a blank CD
or DVD in your writer, Brasero keeps an eye on the disc size and tells you
when you reach or exceed the limits. It also creates ISO files, which are disc
images that contain everything that would exist on the medium if you burned
a real CD or DVD in one file that can be mounted by computer file systems,
which is useful if you want to create multiple copies of the same disc or if you
want to share a disc image, perhaps using a USB thumb drive or over the
Internet.


Finally, click the Burn button, input a label for the disc, and Brasero starts
creating your new CD or DVD or image file. How long it takes to create a CD
or DVD depends on the amount of data you are writing and the speed of your
drive.


Creating CDs from the Command Line


In Linux, creating a CD at the command line is a two-step process. You first
create the ISO9660-formatted image, and then you burn or write the image
onto the CD. The ISO9660 is the default file system for CD-ROMs.


Use the mkisofs command to create the ISO image. The mkisofs
command has many options (see the man page for a full listing), and you use
the following for quick burns:


Click here to view code image
matthew@seymour~:$ mkisofs -r -v -J -l -o /tmp/our_special_cd.iso
/source_directory


The options used in this example are as follows:


-r—Sets the permission  of  the files   to  more    useful  values. UID and GID
(individual and group user ID requirements) are set to 0 , all files are
globally readable and searchable, and all files are set as executable (for
Windows systems).
-v—Displays verbose messages (rather than terse messages) so that you
can see what is occurring during the process; these messages can help
you resolve any problems that occur.
-J—Uses the Joliet extensions to ISO9660 so that your Windows-using
Free download pdf