A chronological documentation test project, nothing serious, really!

09 Oct 2008 Downloading Linux ISO images from Scandinavia

Here are some useful addresses I use to download ISO images quickly. They contain different Linux distributions like Redhat, Debian, Ubuntu etc…



Posted by

07 May 2007 Mounting ISO Files

ISO images are files containing the data of a CD (almost bit per bit). They can be mounted, using the loopback device. ISO images can only be mounted read-only (use mkisofs to create images).

Kernel Requirements

To mount ISO images you need the following in your kernel(as module or builtin):

  • loop-back filesystem support (under Device Drivers – Block devices in kernel 2.6)
  • ISO 9660 CDROM file system support (under File systems – CD-ROM/DVD Filesystems in kernel 2.6)

You also might want this for mounting non-linux ISO images:

  • Microsoft Joliet CDROM extensions (under File systems – CD-ROM/DVD Filesystems in kernel 2.6)

Linux Kernel Configuration: Joliet CDROM Extensions(2.6)

File Fystems –> CD-ROM/DVD Filesystems
< *> ISO 9660 CDROM file system support
[*] Microsoft Joliet CDROM extensions


To mount the ISO images, you’ll need to have root access. Login as root or use sudo, and execute:

mount -t iso9660 -o loop,user image.iso /wheretomount

Drop ,user if you don’t want users to access the ISO files.

Note: If this fails with an error concerning /dev/loop then as root issue the command:

# modprobe loop

Alternatively you may want to add loop to the list of modules that you autoload at boot:

# nano -w /etc/modules.autoload.d/kernel-2.6

and add loop to the bottom of your list of modules.

Hint 1: You can use cdemu to mount BIN images (It’s in portage). You can also use bin2iso to convert them to ISO (also in Portage).

Hint 2: You can use mdf2iso to convert MDF/MDS files to ISO (It’s in portage). Or you can mount a .mdf file with:

mount image.mdf /wheretomount -o loop=/dev/loop0

Hint 3:
You can use nrg2iso to convert Nero’s .nrg files to ISO (It’s in portage). Or you can mount a .nrg file with:

mount -o loop,offset=307200 image.nrg /wheretomount

Hint 4: You can use ccd2iso to convert Clone CD’s .img files to ISO (It’s in portage).


SVCD and VCD ISO files can be played directly using mplayer or converted using mencoder.

Tags: , , , ,

Posted by

07 May 2007 Dump/image CDROM to ISO file

To create an ISO image from your CD/DVD, place the media in your drive but do not mount it. If it automounts, unmount it.

# dd if=/dev/cdrom of=/path/til/ISO-fil

To make an ISO image from files on your hard drive, create a directory which holds the files you want. Then use the mkisofs command

# mkisofs -o outputfile.iso /my/folder/

The resultfile is called outputfile.iso witch contains all the files in the /my/folder/ folder.

Tags: , ,

Posted by

16 Apr 2007 Create ISO file with mkisofs

The AUDIO_TS/ and VIDEO_TS/ directories are required by the dvd video standard, and contain all of the menus and video that will be used when you put this dvd into your home dvd player.

# mkisofs -dvd-video -udf -o dvd.iso dvd_fs

This will create the iso image dvd.iso that you can burn to a real dvd with dvdrecord

Tags: ,

Posted by

16 Apr 2007 dvd-slideshow

DVD-slideshow is a tool you can use to create a slideshow DVD with images.

Create a file that describes the DVD content

# dir2slideshow -T -t 5 -c 1 -n slideshow_name bilder/

Transform the content to DVD format

# dvd-slideshow -mp2 -p -n "Tina's 9 mnd" slideshow_name.txt

Create the DVD content and a ISO file

# dvd-menu -t button_text -f slideshot_name.xml -n "Tina slideshow" -mp2 -p -iso

The end result is stored in the file named dvd.iso ready to be burned using your favourite DVD-burning application.

Tags: ,

Posted by