Sponsored Content
Full Discussion: mount iso image
Top Forums UNIX for Advanced & Expert Users mount iso image Post 75635 by carl0ski on Tuesday 21st of June 2005 06:16:59 AM
Old 06-21-2005
Quote:
Originally Posted by hassan1
I would like to mount an iso CD image on my Suse linux (SLES 9), the image has been copied to my suse linux machine.

am able to mount the iso image manually by

mount -oloop /iso/SLES-9-i386-CD1.iso /free

but I would like to put the above entry in /etc/fstab so that when the machine is rebooted, the image will be mounted automatically.

How can i mount the iso image automatically with the option mount -oloop in /etc/fstab the CD image has been copied locally.

Can you help? please

Thanks
file /mnt/suse iso9660 loop,auto 0 0

/iso/SLES-9-i386-CD1.iso /free iso9660 loop,auto 0 0



I do this also because extracting files
a. takes up extra space
b. cant be easily burned to bootable cd as easy as and ISO
c. an iso is easier to keep deframented.
 

10 More Discussions You Might Find Interesting

1. Tips and Tutorials

Mounting an ISO image on Solaris

Many software packages can be downloaded in the form of an ISO image. ISO images can also be created from CD and saved as ISO images: $ cat /dev/somecd > somename.iso Rather than burning the image to a CD-ROM to access its contents, it is easy to mount the image directly into the filesystem... (0 Replies)
Discussion started by: kduffin
0 Replies

2. HP-UX

Need iso image on CD_ROM of 9.01 to 9.07 HPUX How do I get one

There is a HP APPOLLO series 700 workstation where I am working that runs some CAD/CAM software. The department has not upgraded, backup, or done anything with the box. They have been using it this way for years. It doesn't boot up now, seems like probably bad drive. It would be nice to... (0 Replies)
Discussion started by: camsoft
0 Replies

3. Ubuntu

Writing ISO image to CD

I want to install Ubuntu 7.10 and I have ISO image ubuntu-7.10-desktop-i386.iso . How can I convert to a bootable CD on linux or on windows. Thanks, J. (5 Replies)
Discussion started by: superuser84
5 Replies

4. Solaris

Create an ISO image of whole system

Hi All, Please help me with this. My plan is to create an ISO image of my current solaris 8 OS.Because we use a stripped out version of solaris 8 which is different than the standard one in CD. Will dd command will do ? My idea is to create a VMware image from iso file and play it in... (6 Replies)
Discussion started by: Jartan
6 Replies

5. AIX

How to mount an ISO image in AIX 5.2

Hi, Could anyone let me know how to mount an ISO image in AIX 5.2 ? --SaiP (2 Replies)
Discussion started by: saip
2 Replies

6. AIX

AIX ISO image file

Hi all, Can anyone get the link to download the iso image of AIX as i am new to AIX need to study and work on the concepts of AIX. Thnx in advance... VINU:) (3 Replies)
Discussion started by: vinuvinod
3 Replies

7. Solaris

Solaris ISO image

Hi All, Can anyone give me the lnik to download the iso image file Solaris 10 . I need to install it on my local machine . Pls help me out. VINU (5 Replies)
Discussion started by: vinuvinod
5 Replies

8. UNIX for Dummies Questions & Answers

How to modify an iso image file

Hi, I'm trying to create a customized debian installer on a USB key. I found a tutorial on how to create the usb key. After the USB key is prepared, all you have to do is to copy the iso file to the stick. So what I need to do now is to be able to modify the content of the iso file before... (7 Replies)
Discussion started by: chebarbudo
7 Replies

9. BSD

Mount ISO Image on FreeBSD problem!

I'm try to mount an iso on FreeBSD 8.2, but i recive an error; I use the following commands: # mdconfig -a -t vnode -f /path/to/myimage.iso -u 1 # mount -t cd9660 /dev/md1 /media and receive the next message: mount_cd9660: /dev/md1: Invalid argument I also use mdconfig -d -u * (*- is the... (5 Replies)
Discussion started by: AnbuBlack
5 Replies

10. Red Hat

How to make boot.iso image from rhel6 installation dvd iso ?

Hello Everyone, Can anyone let me know how to make minimal boot.iso from rhl6 installation dvd iso image. I have a dvd image with me but i want to make just a minimal boot media. Somehow it is not shipped with dvd iso. I know we can download boot.iso from redhat site but is there any anyway we... (5 Replies)
Discussion started by: Rohit Bhanot
5 Replies
VNDCOMPRESS(1)						    BSD General Commands Manual 					    VNDCOMPRESS(1)

NAME
vndcompress, vnduncompress -- compress/uncompress file system images to/from cloop2 format SYNOPSIS
vndcompress [-cd] disk/fs-image compressed-image [blocksize] vnduncompress [-cd] compressed-image disk/fs-image DESCRIPTION
The vndcompress program compresses an existing file system image into a cloop2 compatible compressed file system image. An optional block- size can be given. If omitted, the default of 64kB is used. The vnduncompress command decompress a cloop2-compressed file system image back into a regular image. The file system images that can be handled are not limited to any specific file system, i.e. it is possible to handle images e.g. in ISO 9660 or UFS/FFS format. File system images in the cloop2 format are intended to be used with the vnd(4) driver in compressed mode as configured by the -z option of the vnconfig(8) program, and later mounted with the appropriate -t option to mount(8). OPTIONS
The following options are available: -c Always compress, even if the program was started as vnduncompress. -d Always uncompress (decompress), even if the program was started as vndcompress. EXIT STATUS
The vndcompress and vnduncompress utilities exit with one of the following values: 0 The operation was performed successfully. 1 An error occurred. EXAMPLES
To compress an existing CD-ROM file system image, run the following commands: # vndcompress netbsd.iso netbsd.izo Note that the resulting compressed image cannot be mounted directly via NetBSD's vnd(4) and mount_cd9660(8) commands any longer. Instead, you will have to use the -z option of vnconfig(8). The following example decompresses an existing CD-ROM file system image that was compressed in the cloop2 format into a regular file that can then be mounted: # vnconfig vnd0 KNOPPIX.iso # mount -t cd9660 -o ro /dev/vnd0d /mnt # vnduncompress /mnt/KNOPPIX/KNOPPIX /var/tmp/knoppix.iso # umount /mnt # vnconfig -u vnd0 # # vnconfig vnd1 /var/tmp/knoppix.iso # mount -t cd9660 -o ro /dev/vnd1d /mnt # ls /mnt .rr_moved cdrom floppy lib opt sbin usr bin dev home mnt proc sys var boot etc initrd none root tmp vmlinuz # umount /mnt # vnconfig -u vnd1 As an alternative, if your vnd(4) was compiled with VND_COMPRESSION, you can use vnconfig(8) to access the cloop-compressed image directly, e.g., # vnconfig vnd0 KNOPPIX.iso # mount -t cd9660 -o ro /dev/vnd0d /mnt # vnconfig -z vnd1 /mnt/KNOPPIX/KNOPPIX # mount -t cd9660 -o ro /dev/vnd1d /mnt2 # ls /mnt2 .rr_moved cdrom floppy lib opt sbin usr bin dev home mnt proc sys var boot etc initrd none root tmp vmlinuz # df /mnt /mnt2 Filesystem Size Used Avail Capacity Mounted on /dev/vnd0a 692M 692M 0B 100% /mnt /dev/vnd1a 1.9G 1.9G 0B 100% /mnt2 # umount /mnt2 # vnconfig -u vnd1 # umount /mnt # vnconfig -u vnd0 Note how the 1.9GB big filesystem on /mnt2 is mounted from the compressed file stored on the 692MB CD mounted on /mnt. To create a com- pressed file system image of an existing directory and mount it, run: # makefs -t ffs include.fs /usr/include # vndcompress include.fs include.fs.cloop2 # vnconfig -z vnd0 include.fs.cloop2 # mount -o ro /dev/vnd0a /mnt # ls /mnt To undo the steps, run: # umount /mnt # vnconfig -u vnd0 # rm /tmp/include.fs.cloop2 # rm /tmp/include.fs SEE ALSO
gzip(1), vnd(4), mount(8), mount_cd9660(8), vnconfig(8) AUTHORS
The vndcompress utility was written by Florian Stoehr <netbsd@wolfnode.de>. The vndcompress manual page was written by Florian Stoehr <netbsd@wolfnode.de> and Hubert Feyrer <hubertf@NetBSD.org>. BSD
December 12, 2005 BSD
All times are GMT -4. The time now is 09:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy