Syndicate content

Mount an ISO file in Linux

When creating a CD you use mkisofs (make ISO file system)

    mkisofs -o my-cd.iso directory

Then you should verify that it looks as you expected. This is done by mounting the ISO file:

    sudo mount -o loop my-cd.iso /mnt/cd

Assuming the mount works, you can then use ls to see the content of the ISO file:

    ls -l /mnt/cd

Note that if you want to make the CD bootable, you'll need to also add the boot sector to the my-cd.iso file.

Something like this should get you there:

    mkisofs -o my-cd.iso -b iso.bin -c -no-emul-boot -boot-load-size 4 -boot-info-table directory

This shows how you boot a kernel on the CD. The kernel is in directory. The -b and -c options add the necessary files for the CD to boot properly.

Once you're happy about your CD, you can burn it on your CD-R device with the cdrecord or wodim command. Something like this:

    cdrecord dev=/dev/cdrom speed=52 my-cd.iso

If it is your first burn, you probably will have to test different speeds and devices before you get it to work right. I know it took me a little while.

Syndicate content

Diverse Realty

Diverse Realty Team

Want a New Home?
Want to Sell Your House?

Call Alex at
+1 (916)
220 6482

Alexis Wilke, Realtor
Lic. # 02024063

Cory Marcus, Broker
Lic. # 01079165


Terms of Site Index

Find the page/content you are looking for with our index.

  • Fawn
  • hard drive

    A hard drive is a device that save a large quantity of data for later recollection.

    Most hard drives today use a magnetic system to save the data. However, those do get really hot and tend to break easily because they use a mechanical head (after 4 to 5 years.) Yet, they have an incredible capacity with drives that can hold as much as 2Tb.

    New modern drives use flash technology. This is like your USB thumb drive. It does not get hot, it is silent, it has much faster read access (no head to move.) It has two drawback: (1) it has a rather slow write and (2) the capacity is still quite small (at time of writing we are starting to get 128Gb drives...) The price is also much higher, but if you consider that these drives will probably last you twice as long as the magnetic drives and you won't need extraneous cooling systems, overall, it probably still worth it.

  • record
  • table
  • white