Mount ISO image in a container

From OpenVZ Virtuozzo Containers Wiki
Revision as of 08:55, 29 March 2011 by 2.94.77.130 (talk)
Jump to: navigation, search

This page describes how to mount ISO image inside a container.

Preparations

Configure FUSE in container as described in FUSE#Container tuning.

Setup

Install packages fuseiso and fuse into container. Package names may vary on different Linux distributions.[1] [2]

  • for Debian and Ubuntu, install fuseiso and fuse-utils packages (available in repository)
  • for RHEL/CentOS 3/4/5, use DAG's packages fuse-iso and fuse
  • for Fedora 7/8, both fuseiso and fuse are available from the main/updates repo
  • for Fedora 6, fuse is available from extras repo, use dries for fuse-iso

Mounting

To mount an ISO image, do:

# fuseiso image.iso /mnt/disk

See also